[FFmpeg-trac] #5023(avformat:closed): Can no longer read mjpeg from Mobotix camera

FFmpeg trac at avcodec.org
Sun Feb 7 13:05:03 CET 2016


#5023: Can no longer read mjpeg from Mobotix camera
-------------------------------------+-------------------------------------
             Reporter:  hackeron     |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:  fixed
             Keywords:  mjpeg        |               Blocked By:
  mpjpeg regression                  |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by hackeron):

 I tried a few versions and cannot get any of them to work reading directly
 from the camera.

 I noticed that this workaround helps with ffmpeg:

 {{{
 curl 'http://admin:meinsm@192.168.100.233/cgi-
 bin/faststream.jpg?stream=full&fps=5.0&noaudio&data=v.mjpeg' 2>/dev/null |
 ffmpeg -i - -y test.mkv
 }}}

 So I'm not sure what is special about this web server and why ffmpeg
 struggles to read from it correctly. Here is the debug log reading
 directly:

 {{{
 # ffmpeg -loglevel 48 -i 'http://admin:meinsm@192.168.100.233/cgi-
 bin/faststream.jpg?stream=full&fps=5.0&noaudio&data=v.mjpeg' -y test.mkv
 ffmpeg version git-2016-02-07-9ee4c89 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
   configuration: --enable-libx264 --enable-libfdk_aac --enable-gpl
 --enable-nonfree --enable-shared --enable-pic --enable-openssl
   libavutil      55. 17.100 / 55. 17.100
   libavcodec     57. 24.101 / 57. 24.101
   libavformat    57. 24.101 / 57. 24.101
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 29.100 /  6. 29.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Splitting the commandline.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument '48'.
 Reading option '-i' ... matched as input file with argument
 'http://admin:meinsm@192.168.100.233/cgi-
 bin/faststream.jpg?stream=full&fps=5.0&noaudio&data=v.mjpeg'.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option 'test.mkv' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option loglevel (set logging level) with argument 48.
 Applying option y (overwrite output files) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input file http://admin:meinsm@192.168.100.233
 /cgi-bin/faststream.jpg?stream=full&fps=5.0&noaudio&data=v.mjpeg.
 Successfully parsed a group of options.
 Opening an input file: http://admin:meinsm@192.168.100.233/cgi-
 bin/faststream.jpg?stream=full&fps=5.0&noaudio&data=v.mjpeg.
 [http @ 0x19e0b40] Setting default whitelist
 'http,https,tls,rtp,tcp,udp,crypto'
 [http @ 0x19e0b40] request: GET /cgi-
 bin/faststream.jpg?stream=full&fps=5.0&noaudio&data=v.mjpeg HTTP/1.1
 User-Agent: Lavf/57.24.101
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: 192.168.100.233
 Icy-MetaData: 1


 [http @ 0x19e0b40] request: GET /cgi-
 bin/faststream.jpg?stream=full&fps=5.0&noaudio&data=v.mjpeg HTTP/1.1
 User-Agent: Lavf/57.24.101
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: 192.168.100.233
 Icy-MetaData: 1
 Authorization: Basic YWRtaW46bWVpbnNt


 [mpjpeg @ 0x19e0260] Format mpjpeg probed with size=2048 and score=75
 [mpjpeg @ 0x19e0260] Before avformat_find_stream_info() pos: 0 bytes
 read:2975 seeks:0
 [mjpeg @ 0x19e2fc0] marker=d8 avail_size_in_buf=132200
 [mjpeg @ 0x19e2fc0] marker parser used 0 bytes (0 bits)
 [mjpeg @ 0x19e2fc0] marker=e0 avail_size_in_buf=132198
 [mjpeg @ 0x19e2fc0] marker parser used 16 bytes (128 bits)
 [mjpeg @ 0x19e2fc0] marker=fe avail_size_in_buf=132180
 [mjpeg @ 0x19e2fc0] marker parser used 1912 bytes (15296 bits)
 [mjpeg @ 0x19e2fc0] marker=fe avail_size_in_buf=130266
 [mjpeg @ 0x19e2fc0] marker parser used 235 bytes (1880 bits)
 [mjpeg @ 0x19e2fc0] marker=db avail_size_in_buf=130029
 [mjpeg @ 0x19e2fc0] marker parser used 0 bytes (0 bits)
 [mjpeg @ 0x19e2fc0] marker=db avail_size_in_buf=129960
 [mjpeg @ 0x19e2fc0] marker parser used 0 bytes (0 bits)
 [mjpeg @ 0x19e2fc0] marker=c0 avail_size_in_buf=129891
 [mjpeg @ 0x19e2fc0] Changing bps to 8
 [mjpeg @ 0x19e2fc0] sof0: picture: 1280x480
 [mjpeg @ 0x19e2fc0] component 0 2:2 id: 0 quant:0
 [mjpeg @ 0x19e2fc0] component 1 1:1 id: 1 quant:1
 [mjpeg @ 0x19e2fc0] component 2 1:1 id: 2 quant:1
 [mjpeg @ 0x19e2fc0] pix fmt id 22111100
 [mjpeg @ 0x19e2fc0] marker parser used 17 bytes (136 bits)
 [mjpeg @ 0x19e2fc0] marker=c4 avail_size_in_buf=129872
 [mjpeg @ 0x19e2fc0] marker parser used 0 bytes (0 bits)
 [mjpeg @ 0x19e2fc0] marker=c4 avail_size_in_buf=129839
 [mjpeg @ 0x19e2fc0] marker parser used 0 bytes (0 bits)
 [mjpeg @ 0x19e2fc0] marker=c4 avail_size_in_buf=129656
 [mjpeg @ 0x19e2fc0] marker parser used 0 bytes (0 bits)
 [mjpeg @ 0x19e2fc0] marker=c4 avail_size_in_buf=129623
 [mjpeg @ 0x19e2fc0] marker parser used 0 bytes (0 bits)
 [mjpeg @ 0x19e2fc0] escaping removed 455 bytes
 [mjpeg @ 0x19e2fc0] marker=da avail_size_in_buf=129440
 [mjpeg @ 0x19e2fc0] marker parser used 0 bytes (0 bits)
 [mjpeg @ 0x19e2fc0] marker=d9 avail_size_in_buf=0
 [mjpeg @ 0x19e2fc0] decode frame unused 0 bytes
 [http @ 0x19e0b40] request: GET /cgi-
 bin/faststream.jpg?stream=full&fps=5.0&noaudio&data=v.mjpeg HTTP/1.1
 User-Agent: Lavf/57.24.101
 Accept: */*
 Range: bytes=263846-
 Connection: close
 Host: 192.168.100.233
 Icy-MetaData: 1
 Authorization: Basic YWRtaW46bWVpbnNt


 [mpjpeg @ 0x19e0260] Expected boundary '--' not found, instead found a
 line of 6 bytes
 [mpjpeg @ 0x19e0260] After avformat_find_stream_info() pos: 265274 bytes
 read:266018 seeks:0 frames:2
 Input #0, mpjpeg, from 'http://admin:meinsm@192.168.100.233/cgi-
 bin/faststream.jpg?stream=full&fps=5.0&noaudio&data=v.mjpeg':
   Duration: N/A, bitrate: N/A
     Stream #0:0, 2, 1/25: Video: mjpeg, 1 reference frame, yuvj420p(pc,
 bt470bg/unknown/unknown, center), 1280x480 [SAR 1:1 DAR 8:3], 1/25, 25
 tbr, 25 tbn, 25 tbc
 Successfully opened the file.
 Parsing a group of options: output file test.mkv.
 Successfully parsed a group of options.
 Opening an output file: test.mkv.
 [file @ 0x19e8f40] Setting default whitelist 'file'
 Successfully opened the file.
 detected 2 logical cores
 [graph 0 input from stream 0:0 @ 0x19e85a0] Setting 'video_size' to value
 '1280x480'
 [graph 0 input from stream 0:0 @ 0x19e85a0] Setting 'pix_fmt' to value
 '12'
 [graph 0 input from stream 0:0 @ 0x19e85a0] Setting 'time_base' to value
 '1/25'
 [graph 0 input from stream 0:0 @ 0x19e85a0] Setting 'pixel_aspect' to
 value '1/1'
 [graph 0 input from stream 0:0 @ 0x19e85a0] Setting 'sws_param' to value
 'flags=2'
 [graph 0 input from stream 0:0 @ 0x19e85a0] Setting 'frame_rate' to value
 '25/1'
 [graph 0 input from stream 0:0 @ 0x19e85a0] w:1280 h:480 pixfmt:yuvj420p
 tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
 [format @ 0x19e9b20] compat: called with
 args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21]
 [format @ 0x19e9b20] Setting 'pix_fmts' to value
 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21'
 [AVFilterGraph @ 0x19e4500] query_formats: 4 queried, 3 merged, 0 already
 done, 0 delayed
 No pixel format specified, yuvj420p for H.264 encoding chosen.
 Use -pix_fmt yuv420p for compatibility with outdated media players.
 [libx264 @ 0x19e5c40] using mv_range_thread = 72
 [libx264 @ 0x19e5c40] using SAR=1/1
 [libx264 @ 0x19e5c40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 [libx264 @ 0x19e5c40] profile High, level 3.1
 [libx264 @ 0x19e5c40] 264 - core 148 r2 a01e339 - H.264/MPEG-4 AVC codec -
 Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1
 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3
 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, matroska, to 'test.mkv':
   Metadata:
     encoder         : Lavf57.24.101
     Stream #0:0, 0, 1/1000: Video: h264 (libx264), -1 reference frame
 (H264 / 0x34363248), yuvj420p(pc, center), 1280x480 [SAR 1:1 DAR 8:3],
 1/25, q=-1--1, 25 fps, 1k tbn, 25 tbc
     Metadata:
       encoder         : Lavc57.24.101 libx264
     Side data:
       unknown side data type 10 (24 bytes)
 Stream mapping:
   Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 [mjpeg @ 0x19e39e0] marker=d8 avail_size_in_buf=132200
 [mjpeg @ 0x19e39e0] marker parser used 0 bytes (0 bits)
 [mjpeg @ 0x19e39e0] marker=e0 avail_size_in_buf=132198
 [mjpeg @ 0x19e39e0] marker parser used 16 bytes (128 bits)
 [mjpeg @ 0x19e39e0] marker=fe avail_size_in_buf=132180
 [mjpeg @ 0x19e39e0] marker parser used 1912 bytes (15296 bits)
 [mjpeg @ 0x19e39e0] marker=fe avail_size_in_buf=130266
 [mjpeg @ 0x19e39e0] marker parser used 235 bytes (1880 bits)
 [mjpeg @ 0x19e39e0] marker=db avail_size_in_buf=130029
 [mjpeg @ 0x19e39e0] index=0
 [mjpeg @ 0x19e39e0] qscale[0]: 5
 [mjpeg @ 0x19e39e0] marker parser used 67 bytes (536 bits)
 [mjpeg @ 0x19e39e0] marker=db avail_size_in_buf=129960
 [mjpeg @ 0x19e39e0] index=1
 [mjpeg @ 0x19e39e0] qscale[1]: 10
 [mjpeg @ 0x19e39e0] marker parser used 67 bytes (536 bits)
 [mjpeg @ 0x19e39e0] marker=c0 avail_size_in_buf=129891
 [mjpeg @ 0x19e39e0] sof0: picture: 1280x480
 [mjpeg @ 0x19e39e0] component 0 2:2 id: 0 quant:0
 [mjpeg @ 0x19e39e0] component 1 1:1 id: 1 quant:1
 [mjpeg @ 0x19e39e0] component 2 1:1 id: 2 quant:1
 [mjpeg @ 0x19e39e0] pix fmt id 22111100
 [mjpeg @ 0x19e39e0] marker parser used 17 bytes (136 bits)
 [mjpeg @ 0x19e39e0] marker=c4 avail_size_in_buf=129872
 [mjpeg @ 0x19e39e0] class=0 index=0 nb_codes=12
 [mjpeg @ 0x19e39e0] marker parser used 31 bytes (248 bits)
 [mjpeg @ 0x19e39e0] marker=c4 avail_size_in_buf=129839
 [mjpeg @ 0x19e39e0] class=1 index=0 nb_codes=251
 [mjpeg @ 0x19e39e0] marker parser used 181 bytes (1448 bits)
 [mjpeg @ 0x19e39e0] marker=c4 avail_size_in_buf=129656
 [mjpeg @ 0x19e39e0] class=0 index=1 nb_codes=12
 [mjpeg @ 0x19e39e0] marker parser used 31 bytes (248 bits)
 [mjpeg @ 0x19e39e0] marker=c4 avail_size_in_buf=129623
 [mjpeg @ 0x19e39e0] class=1 index=1 nb_codes=251
 [mjpeg @ 0x19e39e0] marker parser used 181 bytes (1448 bits)
 [mjpeg @ 0x19e39e0] escaping removed 455 bytes
 [mjpeg @ 0x19e39e0] marker=da avail_size_in_buf=129440
 [mjpeg @ 0x19e39e0] component: 0
 [mjpeg @ 0x19e39e0] component: 1
 [mjpeg @ 0x19e39e0] component: 2
 [mjpeg @ 0x19e39e0] marker parser used 128984 bytes (1031872 bits)
 [mjpeg @ 0x19e39e0] marker=d9 avail_size_in_buf=0
 [mjpeg @ 0x19e39e0] decode frame unused 0 bytes
 Clipping frame in rate conversion by 0.000008
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 [mjpeg @ 0x19e39e0] marker=d8 avail_size_in_buf=132175
 [mjpeg @ 0x19e39e0] marker parser used 0 bytes (0 bits)
 [mjpeg @ 0x19e39e0] marker=e0 avail_size_in_buf=132173
 [mjpeg @ 0x19e39e0] marker parser used 16 bytes (128 bits)
 [mjpeg @ 0x19e39e0] marker=fe avail_size_in_buf=132155
 [mjpeg @ 0x19e39e0] marker parser used 1912 bytes (15296 bits)
 [mjpeg @ 0x19e39e0] marker=fe avail_size_in_buf=130241
 [mjpeg @ 0x19e39e0] marker parser used 235 bytes (1880 bits)
 [mjpeg @ 0x19e39e0] marker=db avail_size_in_buf=130004
 [mjpeg @ 0x19e39e0] index=0
 [mjpeg @ 0x19e39e0] qscale[0]: 5
 [mjpeg @ 0x19e39e0] marker parser used 67 bytes (536 bits)
 [mjpeg @ 0x19e39e0] marker=db avail_size_in_buf=129935
 [mjpeg @ 0x19e39e0] index=1
 [mjpeg @ 0x19e39e0] qscale[1]: 10
 [mjpeg @ 0x19e39e0] marker parser used 67 bytes (536 bits)
 [mjpeg @ 0x19e39e0] marker=c0 avail_size_in_buf=129866
 [mjpeg @ 0x19e39e0] sof0: picture: 1280x480
 [mjpeg @ 0x19e39e0] component 0 2:2 id: 0 quant:0
 [mjpeg @ 0x19e39e0] component 1 1:1 id: 1 quant:1
 [mjpeg @ 0x19e39e0] component 2 1:1 id: 2 quant:1
 [mjpeg @ 0x19e39e0] pix fmt id 22111100
 [mjpeg @ 0x19e39e0] marker parser used 17 bytes (136 bits)
 [mjpeg @ 0x19e39e0] marker=c4 avail_size_in_buf=129847
 [mjpeg @ 0x19e39e0] class=0 index=0 nb_codes=12
 [mjpeg @ 0x19e39e0] marker parser used 31 bytes (248 bits)
 [mjpeg @ 0x19e39e0] marker=c4 avail_size_in_buf=129814
 [mjpeg @ 0x19e39e0] class=1 index=0 nb_codes=251
 [mjpeg @ 0x19e39e0] marker parser used 181 bytes (1448 bits)
 [mjpeg @ 0x19e39e0] marker=c4 avail_size_in_buf=129631
 [mjpeg @ 0x19e39e0] class=0 index=1 nb_codes=12
 [mjpeg @ 0x19e39e0] marker parser used 31 bytes (248 bits)
 [mjpeg @ 0x19e39e0] marker=c4 avail_size_in_buf=129598
 [mjpeg @ 0x19e39e0] class=1 index=1 nb_codes=251
 [mjpeg @ 0x19e39e0] marker parser used 181 bytes (1448 bits)
 [mjpeg @ 0x19e39e0] escaping removed 509 bytes
 [mjpeg @ 0x19e39e0] marker=da avail_size_in_buf=129415
 [mjpeg @ 0x19e39e0] component: 0
 [mjpeg @ 0x19e39e0] component: 1
 [mjpeg @ 0x19e39e0] component: 2
 [mjpeg @ 0x19e39e0] marker parser used 128905 bytes (1031233 bits)
 [mjpeg @ 0x19e39e0] marker=d9 avail_size_in_buf=2
 [mjpeg @ 0x19e39e0] decode frame unused 2 bytes
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
 [mpjpeg @ 0x19e0260] Expected boundary '--' not found, instead found a
 line of 5 bytes
 http://admin:meinsm@192.168.100.233/cgi-
 bin/faststream.jpg?stream=full&fps=5.0&noaudio&data=v.mjpeg: Invalid data
 found when processing input
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
     Last message repeated 1 times
 [output stream 0:0 @ 0x19e8d40] EOF on sink link output stream
 0:0:default.
 No more output streams to write to, finishing.
 [libx264 @ 0x19e5c40] frame=   0 QP=29.17 NAL=3 Slice:I Poc:0   I:2400 P:0
 SKIP:0    size=108902 bytes
 [matroska @ 0x19e3ea0] Writing block at offset 721, size 109588, pts 0,
 dts 0, duration 40, keyframe 1
 [libx264 @ 0x19e5c40] frame=   1 QP=32.05 NAL=2 Slice:P Poc:2   I:25
 P:284  SKIP:2091 size=4266 bytes
 [matroska @ 0x19e3ea0] Writing block at offset 110318, size 4266, pts 40,
 dts 40, duration 40, keyframe 0
 [matroska @ 0x19e3ea0] end duration = 80
 [matroska @ 0x19e3ea0] stream 0 end duration = 80
 frame=    2 fps=0.0 q=-1.0 Lsize=     112kB time=00:00:00.08
 bitrate=11462.0kbits/s speed=0.199x
 video:111kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.672791%
 Input file #0 (http://admin:meinsm@192.168.100.233/cgi-
 bin/faststream.jpg?stream=full&fps=5.0&noaudio&data=v.mjpeg):
   Input stream #0:0 (video): 2 packets read (264379 bytes); 2 frames
 decoded;
   Total: 2 packets (264379 bytes) demuxed
 Output file #0 (test.mkv):
   Output stream #0:0 (video): 2 frames encoded; 2 packets muxed (113854
 bytes);
   Total: 2 packets (113854 bytes) muxed
 2 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 0x19eabe0] Statistics: 25 seeks, 24 writeouts
 [libx264 @ 0x19e5c40] frame I:1     Avg QP:29.17  size:108902
 [libx264 @ 0x19e5c40] frame P:1     Avg QP:32.05  size:  4266
 [libx264 @ 0x19e5c40] mb I  I16..4:  1.0% 93.9%  5.2%
 [libx264 @ 0x19e5c40] mb P  I16..4:  0.0%  1.0%  0.0%  P16..4:  8.8%  1.5%
 1.6%  0.0%  0.0%    skip:87.1%
 [libx264 @ 0x19e5c40] 8x8 transform intra:93.9% inter:90.0%
 [libx264 @ 0x19e5c40] coded y,uvDC,uvAC intra: 88.8% 74.1% 24.6% inter:
 7.5% 2.7% 0.2%
 [libx264 @ 0x19e5c40] i16 v,h,dc,p: 21% 42%  0% 38%
 [libx264 @ 0x19e5c40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 16% 22%  5%  6%
 9%  9%  7% 10%
 [libx264 @ 0x19e5c40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 18% 15%  9%  5%
 7%  8%  5%  8%
 [libx264 @ 0x19e5c40] i8c dc,h,v,p: 54% 24% 19%  3%
 [libx264 @ 0x19e5c40] Weighted P-Frames: Y:0.0% UV:0.0%
 [libx264 @ 0x19e5c40] kb/s:11316.80
 [AVIOContext @ 0x19e2700] Statistics: 266018 bytes read, 0 seeks
 }}}

 When I use the workaround, it records correctly:

 {{{
 # curl 'http://admin:meinsm@192.168.100.233/cgi-
 bin/faststream.jpg?stream=full&fps=5.0&noaudio&data=v.mjpeg' 2>/dev/null |
 ffmpeg -i - -y test.mkv
 ffmpeg version git-2016-02-07-9ee4c89 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
   configuration: --enable-libx264 --enable-libfdk_aac --enable-gpl
 --enable-nonfree --enable-shared --enable-pic --enable-openssl
   libavutil      55. 17.100 / 55. 17.100
   libavcodec     57. 24.101 / 57. 24.101
   libavformat    57. 24.101 / 57. 24.101
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 29.100 /  6. 29.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 [mjpeg @ 0x885240] Format mjpeg detected only with low score of 25,
 misdetection possible!
 [mjpeg @ 0x8862a0] Changing bps to 8
 Input #0, mjpeg, from 'pipe:':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown),
 1280x480 [SAR 1:1 DAR 8:3], 25 tbr, 1200k tbn, 25 tbc
 No pixel format specified, yuvj420p for H.264 encoding chosen.
 Use -pix_fmt yuv420p for compatibility with outdated media players.
 [libx264 @ 0x889060] using SAR=1/1
 [libx264 @ 0x889060] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 [libx264 @ 0x889060] profile High, level 3.1
 [libx264 @ 0x889060] 264 - core 148 r2 a01e339 - H.264/MPEG-4 AVC codec -
 Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1
 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3
 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, matroska, to 'test.mkv':
   Metadata:
     encoder         : Lavf57.24.101
     Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuvj420p(pc),
 1280x480 [SAR 1:1 DAR 8:3], q=-1--1, 25 fps, 1k tbn, 25 tbc
     Metadata:
       encoder         : Lavc57.24.101 libx264
     Side data:
       unknown side data type 10 (24 bytes)
 Stream mapping:
   Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
 ^C[mjpeg @ 0x886920] overread 8       0kB time=00:00:00.00 bitrate=N/A
 speed=   0x
 [mjpeg @ 0x886920] EOI missing, emulating
 frame=   29 fps=2.9 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A
 speed=   0x
 frame=   29 fps=2.0 q=-1.0 Lsize=     437kB time=00:00:01.08
 bitrate=3316.9kbits/s speed=0.0741x
 video:436kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.215521%
 [libx264 @ 0x889060] frame I:1     Avg QP:23.24  size:153162
 [libx264 @ 0x889060] frame P:10    Avg QP:26.05  size: 23409
 [libx264 @ 0x889060] frame B:18    Avg QP:32.25  size:  3272
 [libx264 @ 0x889060] consecutive B-frames:  6.9%  0.0% 93.1%  0.0%
 [libx264 @ 0x889060] mb I  I16..4:  0.8% 96.9%  2.3%
 [libx264 @ 0x889060] mb P  I16..4:  0.1%  0.8%  0.0%  P16..4: 31.8% 17.8%
 20.9%  0.0%  0.0%    skip:28.6%
 [libx264 @ 0x889060] mb B  I16..4:  0.0%  0.2%  0.0%  B16..8: 42.0%  3.2%
 1.9%  direct: 1.8%  skip:50.9%  L0:47.8% L1:48.7% BI: 3.5%
 [libx264 @ 0x889060] 8x8 transform intra:96.1% inter:96.4%
 [libx264 @ 0x889060] coded y,uvDC,uvAC intra: 86.7% 76.6% 35.8% inter:
 21.7% 7.6% 0.9%
 [libx264 @ 0x889060] i16 v,h,dc,p: 28% 50%  2% 20%
 [libx264 @ 0x889060] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 17% 26%  5%  6%
 8%  8%  6% 10%
 [libx264 @ 0x889060] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 16% 17%  8%  6%
 6%  6%  6%  8%
 [libx264 @ 0x889060] i8c dc,h,v,p: 47% 27% 21%  5%
 [libx264 @ 0x889060] Weighted P-Frames: Y:0.0% UV:0.0%
 [libx264 @ 0x889060] ref P L0: 54.8%  2.8% 16.4% 26.0%
 [libx264 @ 0x889060] ref B L0: 77.6% 13.9%  8.5%
 [libx264 @ 0x889060] ref B L1: 79.0% 21.0%
 [libx264 @ 0x889060] kb/s:3076.81
 Exiting normally, received signal 2.
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5023#comment:23>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list