[FFmpeg-user] Conversion from mjpeg to H.264 with 2 overlays failed, trace gives me no idea why ...

Jens Berger jberger at gmx.net
Fri Feb 11 16:39:16 EET 2022


Hello,

I'm new to the list.

I'm a radiologist and I wrote a small shellscript years ago which can
anonymize ultrasound DICOM data with burnt-in patients name by using one
or multiple overlay(s) at least for the patients name for using this
movies for educational presentations.
So far, this script works very well for primary multiframe DICOM data.

But from a good friend of mine, I have the request to anonymize old
QT-files from an ancient machine with mjpeg codec. I tried this with two
overlays. Unfortunately, ffmpeg gives me an error without further
information about the reason.

This line seems to be weird to me, but I cannot find more about this
problem:

	sof0: picture: 258x28928

Please - can somebody have a look on this problem?

Primary goal is uncompressed mjpeg/qt output, which I cannot figure out
- but maybe this is another problem ...

Many thanks in advance,

Jens
--------------------------------------------------------

At first, some information about the source file:

MacBook-Jens:~ jb$ /opt/dcm2mov/bin/ffprobe -hide_banner -i test/test.mov
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa558003000] multiple edit list entries,
a/v desync might occur, patch welcome
[mjpeg @ 0x7fa558017e00] Changing bps to 8
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test/test.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2022-02-11 09:25:31
     com.apple.quicktime.player.movie.visual.brightness: 0.000000
     com.apple.quicktime.player.movie.visual.color: 1.000000
     com.apple.quicktime.player.movie.visual.tint: 0.000000
     com.apple.quicktime.player.movie.visual.contrast: 1.000000
     com.apple.quicktime.player.version: 7.6.6 (7.6.6)
     com.apple.quicktime.version: 7.7.3 (3040) 0x7738000 (Mac OS X,
10.14.6, 18G9323)
   Duration: 00:01:00.84, start: 0.000000, bitrate: 3630 kb/s
     Stream #0:0(eng): Video: mjpeg (jpeg / 0x6765706A), yuvj422p(pc,
bt470bg/unknown/unknown), 768x576, 3622 kb/s, 7.66 fps, 50 tbr, 600 tbn,
600 tbc (default)
     Metadata:
       creation_time   : 2022-02-11 09:25:31
       handler_name    : Apple Alias-Datensteuerung
       encoder         : Acuson JPEG

--------------------------------------------------------

Here is the ffmpeg log report:

ffmpeg started on 2022-02-11 at 15:27:47
Report written to "ffmpeg-20220211-152747.log"
Command line:
/opt/dcm2mov/bin/ffmpeg -y -xerror -thread_queue_size 1500 -hide_banner
-loglevel trace -report -framerate 7.66 -f mjpeg -i
/Users/jb/test/test.mov -i /Users/jb/test/768x576_0_mf.png -i
/Users/jb/test/768x576_1_mf.png -filter_complex
"[0:v]scale=trunc(iw/2)*2:trunc(ih/2)*2[bg];[1:v]setpts=PTS-STARTPTS[fg1];[2:v]setpts=PTS-STARTPTS[fg2];[bg][fg1]overlay=36:0[ol];[ol][fg2]overlay=4:557,format=yuvj420p[v]"
-map "[v]" -map 0 -pix_fmt yuvj420p -framerate 7.66 -c libx264 -f mp4
-crf 0 /Users/jb/test/test.mp4
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files)
with argument '1'.
Reading option '-xerror' ... matched as option 'xerror' (exit on error)
with argument '1'.
Reading option '-thread_queue_size' ... matched as option
'thread_queue_size' (set the maximum number of queued packets from the
demuxer) with argument '1500'.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do
not show program banner) with argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument 'trace'.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option '-framerate' ... matched as AVOption 'framerate' with
argument '7.66'.
Reading option '-f' ... matched as option 'f' (force format) with
argument 'mjpeg'.
Reading option '-i' ... matched as input file with argument
'/Users/jb/test/test.mov'.
Reading option '-i' ... matched as input file with argument
'/Users/jb/test/768x576_0_mf.png'.
Reading option '-i' ... matched as input file with argument
'/Users/jb/test/768x576_1_mf.png'.
Reading option '-filter_complex' ... matched as option 'filter_complex'
(create a complex filtergraph) with argument
'[0:v]scale=trunc(iw/2)*2:trunc(ih/2)*2[bg];[1:v]setpts=PTS-STARTPTS[fg1];[2:v]setpts=PTS-STARTPTS[fg2];[bg][fg1]overlay=36:0[ol];[ol][fg2]overlay=4:557,format=yuvj420p[v]'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '[v]'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel
format) with argument 'yuvj420p'.
Reading option '-framerate' ... matched as AVOption 'framerate' with
argument '7.66'.
Reading option '-c' ... matched as option 'c' (codec name) with argument
'libx264'.
Reading option '-f' ... matched as option 'f' (force format) with
argument 'mp4'.
Reading option '-crf' ... matched as AVOption 'crf' with argument '0'.
Reading option '/Users/jb/test/test.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option xerror (exit on error) with argument 1.
Applying option hide_banner (do not show program banner) with argument 1.
Applying option loglevel (set logging level) with argument trace.
Applying option report (generate a report) with argument 1.
Applying option filter_complex (create a complex filtergraph) with
argument
[0:v]scale=trunc(iw/2)*2:trunc(ih/2)*2[bg];[1:v]setpts=PTS-STARTPTS[fg1];[2:v]setpts=PTS-STARTPTS[fg2];[bg][fg1]overlay=36:0[ol];[ol][fg2]overlay=4:557,format=yuvj420p[v].
Successfully parsed a group of options.
Parsing a group of options: input file /Users/jb/test/test.mov.
Applying option thread_queue_size (set the maximum number of queued
packets from the demuxer) with argument 1500.
Applying option f (force format) with argument mjpeg.
Successfully parsed a group of options.
Opening an input file: /Users/jb/test/test.mov.
[file @ 0x7fd3fb5008e0] Setting default whitelist 'file,crypto'
[mjpeg @ 0x7fd3fb800000] Before avformat_find_stream_info() pos: 0 bytes
read:32768 seeks:0
[mjpeg @ 0x7fd3fd008600] marker=f7 avail_size_in_buf=116591
[mjpeg @ 0x7fd3fd008600] Changing bps to 1
[mjpeg @ 0x7fd3fd008600] sof0: picture: 258x28928
[mjpeg @ 0x7fd3fd008600] marker=d8 avail_size_in_buf=57418
[mjpeg @ 0x7fd3fd008600] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7fd3fd008600] marker=db avail_size_in_buf=57416
[mjpeg @ 0x7fd3fd008600] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7fd3fd008600] marker=c4 avail_size_in_buf=57282
[mjpeg @ 0x7fd3fd008600] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7fd3fd008600] marker=c0 avail_size_in_buf=56862
[mjpeg @ 0x7fd3fd008600] Changing bps to 8
[mjpeg @ 0x7fd3fd008600] sof0: picture: 768x576
[mjpeg @ 0x7fd3fd008600] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7fd3fd008600] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7fd3fd008600] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7fd3fd008600] pix fmt id 21111100
[mjpeg @ 0x7fd3fd008600] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7fd3fd008600] escaping removed 586 bytes
[mjpeg @ 0x7fd3fd008600] marker=da avail_size_in_buf=56843
[mjpeg @ 0x7fd3fd008600] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7fd3fd008600] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7fd3fd008600] decode frame unused 0 bytes
[mjpeg @ 0x7fd3fb800000] All info found
[mjpeg @ 0x7fd3fb800000] After avformat_find_stream_info() pos: 177152
bytes read:196608 seeks:0 frames:2
Input #0, mjpeg, from '/Users/jb/test/test.mov':
   Duration: N/A, bitrate: N/A
     Stream #0:0, 2, 1/1200000: Video: mjpeg, 1 reference frame,
yuvj422p(pc, bt470bg/unknown/unknown, center), 768x576, 50/383,
lossless, 7.66 tbr, 1200k tbn, 7.66 tbc
Successfully opened the file.
Parsing a group of options: input file /Users/jb/test/768x576_0_mf.png.
Successfully parsed a group of options.
Opening an input file: /Users/jb/test/768x576_0_mf.png.
[file @ 0x7fd3fb407920] Setting default whitelist 'file,crypto'
[png_pipe @ 0x7fd3fd009600] Format png_pipe probed with size=2048 and
score=99
[png_pipe @ 0x7fd3fd009600] Before avformat_find_stream_info() pos: 0
bytes read:364 seeks:0
[png_pipe @ 0x7fd3fd009600] After avformat_find_stream_info() pos: 364
bytes read:364 seeks:0 frames:1
Input #1, png_pipe, from '/Users/jb/test/768x576_0_mf.png':
   Duration: N/A, bitrate: N/A
     Stream #1:0, 1, 1/25: Video: png, 1 reference frame, pal8(pc),
640x21 (0x0), 1/25, 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: input file /Users/jb/test/768x576_1_mf.png.
Successfully parsed a group of options.
Opening an input file: /Users/jb/test/768x576_1_mf.png.
[file @ 0x7fd3fb407d60] Setting default whitelist 'file,crypto'
[png_pipe @ 0x7fd3fb820400] Format png_pipe probed with size=2048 and
score=99
[png_pipe @ 0x7fd3fb820400] Before avformat_find_stream_info() pos: 0
bytes read:374 seeks:0
[png_pipe @ 0x7fd3fb820400] After avformat_find_stream_info() pos: 374
bytes read:374 seeks:0 frames:1
Input #2, png_pipe, from '/Users/jb/test/768x576_1_mf.png':
   Duration: N/A, bitrate: N/A
     Stream #2:0, 1, 1/25: Video: png, 1 reference frame, pal8(pc),
760x20 (0x0), 1/25, 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
detected 8 logical cores
[Parsed_scale_0 @ 0x7fd3fb408380] Setting 'w' to value 'trunc(iw/2)*2'
[Parsed_scale_0 @ 0x7fd3fb408380] Setting 'h' to value 'trunc(ih/2)*2'
[Parsed_scale_0 @ 0x7fd3fb408380] w:trunc(iw/2)*2 h:trunc(ih/2)*2
flags:'bilinear' interl:0
[Parsed_setpts_1 @ 0x7fd3fb408900] Setting 'expr' to value 'PTS-STARTPTS'
[Parsed_setpts_2 @ 0x7fd3fb408e40] Setting 'expr' to value 'PTS-STARTPTS'
[Parsed_overlay_3 @ 0x7fd3fb4092a0] Setting 'x' to value '36'
[Parsed_overlay_3 @ 0x7fd3fb4092a0] Setting 'y' to value '0'
[Parsed_overlay_4 @ 0x7fd3fb408600] Setting 'x' to value '4'
[Parsed_overlay_4 @ 0x7fd3fb408600] Setting 'y' to value '557'
[Parsed_format_5 @ 0x7fd3fb409ce0] compat: called with args=[yuvj420p]
[Parsed_format_5 @ 0x7fd3fb409ce0] Setting 'pix_fmts' to value 'yuvj420p'
Parsing a group of options: output file /Users/jb/test/test.mp4.
Applying option map (set input stream mapping) with argument [v].
Applying option map (set input stream mapping) with argument 0.
Applying option pix_fmt (set pixel format) with argument yuvj420p.
Applying option c (codec name) with argument libx264.
Applying option f (force format) with argument mp4.
Successfully parsed a group of options.
Opening an output file: /Users/jb/test/test.mp4.
[file @ 0x7fd3fb5025e0] Setting default whitelist 'file,crypto'
Successfully opened the file.
[Parsed_scale_0 @ 0x7fd3fb501b20] Setting 'w' to value 'trunc(iw/2)*2'
[Parsed_scale_0 @ 0x7fd3fb501b20] Setting 'h' to value 'trunc(ih/2)*2'
[Parsed_scale_0 @ 0x7fd3fb501b20] w:trunc(iw/2)*2 h:trunc(ih/2)*2
flags:'bilinear' interl:0
[Parsed_setpts_1 @ 0x7fd3fb501f60] Setting 'expr' to value 'PTS-STARTPTS'
[Parsed_setpts_2 @ 0x7fd3fb502f80] Setting 'expr' to value 'PTS-STARTPTS'
[Parsed_overlay_3 @ 0x7fd3fb5033e0] Setting 'x' to value '36'
[Parsed_overlay_3 @ 0x7fd3fb5033e0] Setting 'y' to value '0'
[Parsed_overlay_4 @ 0x7fd3fb502ee0] Setting 'x' to value '4'
[Parsed_overlay_4 @ 0x7fd3fb502ee0] Setting 'y' to value '557'
[Parsed_format_5 @ 0x7fd3fb503d80] compat: called with args=[yuvj420p]
[Parsed_format_5 @ 0x7fd3fb503d80] Setting 'pix_fmts' to value 'yuvj420p'
[graph 0 input from stream 0:0 @ 0x7fd3fb5040a0] Setting 'video_size' to
value '768x576'
[graph 0 input from stream 0:0 @ 0x7fd3fb5040a0] Setting 'pix_fmt' to
value '13'
[graph 0 input from stream 0:0 @ 0x7fd3fb5040a0] Setting 'time_base' to
value '1/1200000'
[graph 0 input from stream 0:0 @ 0x7fd3fb5040a0] Setting 'pixel_aspect'
to value '0/1'
[graph 0 input from stream 0:0 @ 0x7fd3fb5040a0] Setting 'sws_param' to
value 'flags=2'
[graph 0 input from stream 0:0 @ 0x7fd3fb5040a0] Setting 'frame_rate' to
value '383/50'
[graph 0 input from stream 0:0 @ 0x7fd3fb5040a0] w:768 h:576
pixfmt:yuvj422p tb:1/1200000 fr:383/50 sar:0/1 sws_param:flags=2
[graph 0 input from stream 1:0 @ 0x7fd3fb5043c0] Setting 'video_size' to
value '640x21'
[graph 0 input from stream 1:0 @ 0x7fd3fb5043c0] Setting 'pix_fmt' to
value '11'
[graph 0 input from stream 1:0 @ 0x7fd3fb5043c0] Setting 'time_base' to
value '1/25'
[graph 0 input from stream 1:0 @ 0x7fd3fb5043c0] Setting 'pixel_aspect'
to value '0/1'
[graph 0 input from stream 1:0 @ 0x7fd3fb5043c0] Setting 'sws_param' to
value 'flags=2'
[graph 0 input from stream 1:0 @ 0x7fd3fb5043c0] Setting 'frame_rate' to
value '25/1'
[graph 0 input from stream 1:0 @ 0x7fd3fb5043c0] w:640 h:21 pixfmt:pal8
tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
[graph 0 input from stream 2:0 @ 0x7fd3fb600500] Setting 'video_size' to
value '760x20'
[graph 0 input from stream 2:0 @ 0x7fd3fb600500] Setting 'pix_fmt' to
value '11'
[graph 0 input from stream 2:0 @ 0x7fd3fb600500] Setting 'time_base' to
value '1/25'
[graph 0 input from stream 2:0 @ 0x7fd3fb600500] Setting 'pixel_aspect'
to value '0/1'
[graph 0 input from stream 2:0 @ 0x7fd3fb600500] Setting 'sws_param' to
value 'flags=2'
[graph 0 input from stream 2:0 @ 0x7fd3fb600500] Setting 'frame_rate' to
value '25/1'
[graph 0 input from stream 2:0 @ 0x7fd3fb600500] w:760 h:20 pixfmt:pal8
tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0x7fd3fb408600] compat: called with args=[yuvj420p]
[format @ 0x7fd3fb408600] Setting 'pix_fmts' to value 'yuvj420p'
[auto-inserted scaler 0 @ 0x7fd3fb408e00] w:iw h:ih flags:'bilinear'
interl:0
[Parsed_overlay_3 @ 0x7fd3fb5033e0] auto-inserting filter 'auto-inserted
scaler 0' between the filter 'Parsed_setpts_1' and the filter
'Parsed_overlay_3'
[auto-inserted scaler 1 @ 0x7fd3fb409c20] w:iw h:ih flags:'bilinear'
interl:0
[Parsed_overlay_4 @ 0x7fd3fb502ee0] auto-inserting filter 'auto-inserted
scaler 1' between the filter 'Parsed_setpts_2' and the filter
'Parsed_overlay_4'
[auto-inserted scaler 2 @ 0x7fd3fb409ac0] w:iw h:ih flags:'bilinear'
interl:0
[Parsed_format_5 @ 0x7fd3fb503d80] auto-inserting filter 'auto-inserted
scaler 2' between the filter 'Parsed_overlay_4' and the filter
'Parsed_format_5'
[AVFilterGraph @ 0x7fd3fb5027a0] query_formats: 11 queried, 7 merged, 3
already done, 0 delayed
[swscaler @ 0x10b306000] deprecated pixel format used, make sure you did
set range correctly
[Parsed_scale_0 @ 0x7fd3fb501b20] w:768 h:576 fmt:yuvj422p sar:0/1 ->
w:768 h:576 fmt:yuva420p sar:0/1 flags:0x2
[graph 0 input from stream 1:0 @ 0x7fd3fb5043c0] TB:0.040000
FRAME_RATE:25.000000 SAMPLE_RATE:nan
[auto-inserted scaler 0 @ 0x7fd3fb408e00] w:640 h:21 fmt:pal8 sar:0/1 ->
w:640 h:21 fmt:yuva420p sar:0/1 flags:0x2
[Parsed_overlay_3 @ 0x7fd3fb5033e0] main w:768 h:576 fmt:yuva420p
overlay w:640 h:21 fmt:yuva420p eof_action:repeat
[Parsed_overlay_3 @ 0x7fd3fb5033e0] [framesync @ 0x7fd3fb5034a8]
Selected 1/1000000 time base
[Parsed_overlay_3 @ 0x7fd3fb5033e0] [framesync @ 0x7fd3fb5034a8] Sync
level 2
[graph 0 input from stream 2:0 @ 0x7fd3fb600500] TB:0.040000
FRAME_RATE:25.000000 SAMPLE_RATE:nan
[auto-inserted scaler 1 @ 0x7fd3fb409c20] w:760 h:20 fmt:pal8 sar:0/1 ->
w:760 h:20 fmt:yuva420p sar:0/1 flags:0x2
[Parsed_overlay_4 @ 0x7fd3fb502ee0] main w:768 h:576 fmt:yuva420p
overlay w:760 h:20 fmt:yuva420p eof_action:repeat
[Parsed_overlay_4 @ 0x7fd3fb502ee0] [framesync @ 0x7fd3fb503968]
Selected 1/1000000 time base
[Parsed_overlay_4 @ 0x7fd3fb502ee0] [framesync @ 0x7fd3fb503968] Sync
level 2
[swscaler @ 0x10b32d000] deprecated pixel format used, make sure you did
set range correctly
[auto-inserted scaler 2 @ 0x7fd3fb409ac0] w:768 h:576 fmt:yuva420p
sar:0/1 -> w:768 h:576 fmt:yuvj420p sar:0/1 flags:0x2
[graph 1 input from stream 0:0 @ 0x7fd3fb40d600] Setting 'video_size' to
value '768x576'
[graph 1 input from stream 0:0 @ 0x7fd3fb40d600] Setting 'pix_fmt' to
value '13'
[graph 1 input from stream 0:0 @ 0x7fd3fb40d600] Setting 'time_base' to
value '1/1200000'
[graph 1 input from stream 0:0 @ 0x7fd3fb40d600] Setting 'pixel_aspect'
to value '0/1'
[graph 1 input from stream 0:0 @ 0x7fd3fb40d600] Setting 'sws_param' to
value 'flags=2'
[graph 1 input from stream 0:0 @ 0x7fd3fb40d600] Setting 'frame_rate' to
value '383/50'
[graph 1 input from stream 0:0 @ 0x7fd3fb40d600] w:768 h:576
pixfmt:yuvj422p tb:1/1200000 fr:383/50 sar:0/1 sws_param:flags=2
[format @ 0x7fd3fb40da60] compat: called with args=[yuvj420p]
[format @ 0x7fd3fb40da60] Setting 'pix_fmts' to value 'yuvj420p'
[auto-inserted scaler 0 @ 0x7fd3fb40de40] Setting 'flags' to value 'bicubic'
[auto-inserted scaler 0 @ 0x7fd3fb40de40] w:iw h:ih flags:'bicubic' interl:0
[format @ 0x7fd3fb40da60] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0x7fd3fb403080] query_formats: 4 queried, 2 merged, 1
already done, 0 delayed
[swscaler @ 0x10b33a000] deprecated pixel format used, make sure you did
set range correctly
[auto-inserted scaler 0 @ 0x7fd3fb40de40] w:768 h:576 fmt:yuvj422p
sar:0/1 -> w:768 h:576 fmt:yuvj420p sar:0/1 flags:0x4
[libx264 @ 0x7fd3fb815a00] using mv_range_thread = 24
[libx264 @ 0x7fd3fb815a00] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7fd3fb815a00] profile High 4:4:4 Predictive, level 3.1,
4:2:0 8-bit
[libx264 @ 0x7fd3fb815a00] 64 - core 148 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2015 - http://www.videolan.org/x264.html - options:
cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=0
mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0
deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=12
lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=250
keyint_min=7 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0
[libx264 @ 0x7fd3fd013400] using mv_range_thread = 24
[libx264 @ 0x7fd3fd013400] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7fd3fd013400] profile High 4:4:4 Predictive, level 3.1,
4:2:0 8-bit
[libx264 @ 0x7fd3fd013400] 64 - core 148 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2015 - http://www.videolan.org/x264.html - options:
cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=0
mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0
deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=12
lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=250
keyint_min=7 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0
Output #0, mp4, to '/Users/jb/test/test.mp4':
   Metadata:
     encoder         : Lavf57.25.100
     Stream #0:0, 0, 1/12256: Video: h264 (libx264), -1 reference frame
([33][0][0][0] / 0x0021), yuvj420p(pc), 768x576, 50/383, q=-1--1, 7.66
fps, 12256 tbn, 7.66 tbc
     Metadata:
       encoder         : Lavc57.24.102 libx264
     Side data:
       unknown side data type 10 (24 bytes)
     Stream #0:1, 0, 1/12256: Video: h264 (libx264), -1 reference frame
([33][0][0][0] / 0x0021), yuvj420p(pc, center), 768x576, 50/383,
q=-1--1, 7.66 fps, 12256 tbn, 7.66 tbc
     Metadata:
       encoder         : Lavc57.24.102 libx264
     Side data:
       unknown side data type 10 (24 bytes)
Stream mapping:
   Stream #0:0 (mjpeg) -> scale (graph 0)
   Stream #1:0 (png) -> setpts (graph 0)
   Stream #2:0 (png) -> setpts (graph 0)
   format (graph 0) -> Stream #0:0 (libx264)
   Stream #0:0 -> #0:1 (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)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
[mjpeg @ 0x7fd3fb817800] marker=f7 avail_size_in_buf=116591
[mjpeg @ 0x7fd3fb817800] Changing bps to 1
[mjpeg @ 0x7fd3fb817800] sof0: picture: 258x28928
[AVIOContext @ 0x7fd3fb502660] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x7fd3fb5009a0] Statistics: 589824 bytes read, 0 seeks
[AVIOContext @ 0x7fd3fb407460] Statistics: 364 bytes read, 0 seeks
[AVIOContext @ 0x7fd3fb4082a0] Statistics: 374 bytes read, 0 seeks
Conversion failed!





More information about the ffmpeg-user mailing list