[FFmpeg-user] output length not right

lorenzo angeli lorenzo.angeli at efestolab.uk
Wed Jul 1 09:55:54 CEST 2015


Good morning all,
I have here two similar commands, which output two different length of the
resulting mov. Is a fairly complex command, so I might be doing something
wrong along the line...

The first command generates a .mov  (h264 )from a sequence of png and mix
in a wav (stereo) audio, the output seems correct and the audio is in sync.

The second one , is like the previous , but it also adds a slate at the
beginning (1 frame), in this case though the length of the mov is 50
seconds rather than 60 frames (at least opening it with VLC and other
players). I have the feeling is coming from the slate generation, or
something not quite right with -shortest flag. In this example the audio
has an offset to try to sync it with the offset clip due to the presence of
the first static frame, but I don't think is related.

Thanks in advance for the help!
L.

--CORRECT OUTPUT--------
ffmpeg -v verbose -thread_queue_size 512 -hwaccel auto -threads 0 -y -r
25.0 -start_number 1001 -i
"/home/efesto/Desktop/playblasts/tmp3vwh5c.%4d.png" -i
"/home/efesto/Desktop/playblasts/sh020_audio_ActMS_shot020_v002.wav" -c:v
libx264 -crf 18 -preset slow -strict -2 -movflags faststart -pix_fmt
yuv420p -filter_complex
"[0:v]null,scale=1920:1080[clip];[1:0:a]adelay=2.5[a];[clip]scale=1920:1080,
fps=25.0, setdar=16:9[v]" -map [v] -map [a] -shortest
/home/efesto/Desktop/debug/noslate.mov


ffmpeg -v verbose -thread_queue_size 512 -hwaccel auto -threads 0 -y -r
25.0 -start_number 1001 -i
"/home/efesto/Desktop/playblasts/tmp3vwh5c.%4d.png" -i
"/home/efesto/Desktop/playblasts/sh020_audio_ActMS_shot020_v002.wav" -c:v
libx264 -crf 18 -preset slow -strict -2 -movflags faststart -pix_fmt
yuv420p -filter_complex
"[0:v]null,scale=1920:1080[clip];[1:0:a]adelay=2.5[a];[clip]scale=1920:1080,
fps=25.0, setdar=16:9[v]" -map [v] -map [a] -shortest
/home/efesto/Desktop/debug/noslate.mov
ffmpeg version N-72356-g8aa9853 Copyright (c) 2000-2015 the FFmpeg
developers
  built with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --prefix=/home/efesto/ffmpeg_build
--pkg-config-flags=--static
--extra-cflags=-I/home/efesto/ffmpeg_build/include
--extra-ldflags=-L/home/efesto/ffmpeg_build/lib --bindir=/home/efesto/bin
--enable-gpl --enable-libass --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264
--enable-nonfree
  libavutil      54. 25.100 / 54. 25.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 33.101 / 56. 33.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Routing option strict to both codec and muxer layer
Input #0, image2, from '/home/efesto/Desktop/playblasts/tmp3vwh5c.%4d.png':
  Duration: 00:00:02.28, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, 1 reference frame, rgba(pc), 1920x1080 (0x0),
25 fps, 25 tbr, 25 tbn, 25 tbc
[wav @ 0x35b2940] parser not found for codec pcm_s16le, packets or times
may be invalid.
    Last message repeated 1 times
Guessed Channel Layout for  Input Stream #1.0 : stereo
Input #1, wav, from
'/home/efesto/Desktop/playblasts/sh020_audio_ActMS_shot020_v002.wav':
  Duration: 00:00:02.40, bitrate: 1536 kb/s
    Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2
channels, s16, 1536 kb/s
[Parsed_scale_1 @ 0x35e20e0] w:1920 h:1080 flags:'bilinear' interl:0
[Parsed_scale_3 @ 0x35f5aa0] w:1920 h:1080 flags:'bilinear' interl:0
[Parsed_fps_4 @ 0x35f6320] fps=25/1
[Parsed_setdar_5 @ 0x35f70a0] num:den syntax is deprecated, please use
num/den or named options instead
[graph 0 input from stream 0:0 @ 0x35f64e0] w:1920 h:1080 pixfmt:rgba
tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
[graph 0 input from stream 1:0 @ 0x35f6260] tb:1/48000 samplefmt:s16
samplerate:48000 chlayout:0x3
[Parsed_adelay_2 @ 0x35f53c0] auto-inserting filter 'auto-inserted
resampler 0' between the filter 'graph 0 input from stream 1:0' and the
filter 'Parsed_adelay_2'
[graph 0 input from stream 0:0 @ 0x35f64e0] TB:0.040000
FRAME_RATE:25.000000 SAMPLE_RATE:nan
[Parsed_scale_1 @ 0x35e20e0] w:1920 h:1080 fmt:rgba sar:0/1 -> w:1920
h:1080 fmt:rgba sar:0/1 flags:0x2
[Parsed_scale_3 @ 0x35f5aa0] w:1920 h:1080 fmt:rgba sar:0/1 -> w:1920
h:1080 fmt:yuv420p sar:0/1 flags:0x2
[Parsed_setdar_5 @ 0x35f70a0] w:1920 h:1080 dar:16/9 sar:0/1 -> dar:16/9
sar:1/1
[auto-inserted resampler 0 @ 0x35adc80] ch:2 chl:stereo fmt:s16 r:48000Hz
-> ch:2 chl:stereo fmt:fltp r:48000Hz
[libx264 @ 0x35f8de0] using SAR=1/1
[libx264 @ 0x35f8de0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x35f8de0] profile High, level 5.0
[libx264 @ 0x35f8de0] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1
ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 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=12 lookahead_threads=2
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3
weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40
intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0
qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mov, to '/home/efesto/Desktop/debug/noslate.mov':
  Metadata:
    encoder         : Lavf56.33.101
    Stream #0:0: Video: h264 (libx264), -1 reference frame (avc1 /
0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800
tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc56.41.100 libx264
    Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp,
128 kb/s (default)
    Metadata:
      encoder         : Lavc56.41.100 aac
Stream mapping:
  Stream #0:0 (png) -> null
  Stream #1:0 (pcm_s16le) -> adelay
  setdar -> Stream #0:0 (libx264)
  adelay -> Stream #0:1 (aac)
Press [q] to stop, [?] for help
frame=   35 fps=0.0 q=0.0 size=       0kB time=00:00:01.32 bitrate=
0.2kbits/sframe=   56 fps= 42 q=0.0 size=       0kB time=00:00:02.17
bitrate=   0.1kbits/sNo more output streams to write to, finishing.
[mov @ 0x35f7de0] Starting second pass: moving the moov atom to the
beginning of the file
frame=   57 fps= 24 q=-1.0 Lsize=     559kB time=00:00:02.41
bitrate=1901.1kbits/s
video:517kB audio:39kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.558909%
Input file #0 (/home/efesto/Desktop/playblasts/tmp3vwh5c.%4d.png):
  Input stream #0:0 (video): 57 packets read (14740075 bytes); 57 frames
decoded;
  Total: 57 packets (14740075 bytes) demuxed
Input file #1
(/home/efesto/Desktop/playblasts/sh020_audio_ActMS_shot020_v002.wav):
  Input stream #1:0 (audio): 113 packets read (460800 bytes); 113 frames
decoded (115200 samples);
  Total: 113 packets (460800 bytes) demuxed
Output file #0 (/home/efesto/Desktop/debug/noslate.mov):
  Output stream #0:0 (video): 57 frames encoded; 57 packets muxed (529315
bytes);
  Output stream #0:1 (audio): 113 frames encoded (115320 samples); 114
packets muxed (40366 bytes);
  Total: 171 packets (569681 bytes) muxed
[Parsed_fps_4 @ 0x35f6320] 57 frames in, 57 frames out; 0 frames dropped, 0
frames duplicated.
[libx264 @ 0x35f8de0] frame I:1     Avg QP:12.41  size: 34368
[libx264 @ 0x35f8de0] frame P:15    Avg QP:16.48  size: 16539
[libx264 @ 0x35f8de0] frame B:41    Avg QP:21.88  size:  6004
[libx264 @ 0x35f8de0] consecutive B-frames:  1.8%  3.5% 10.5% 84.2%
[libx264 @ 0x35f8de0] mb I  I16..4: 36.1% 53.2% 10.7%
[libx264 @ 0x35f8de0] mb P  I16..4:  2.2%  2.6%  1.3%  P16..4: 15.4%  6.5%
3.6%  0.0%  0.0%    skip:68.5%
[libx264 @ 0x35f8de0] mb B  I16..4:  0.1%  0.1%  0.1%  B16..8: 19.0%  4.4%
0.8%  direct: 0.6%  skip:74.8%  L0:52.1% L1:44.6% BI: 3.3%
[libx264 @ 0x35f8de0] 8x8 transform intra:47.6% inter:49.6%
[libx264 @ 0x35f8de0] direct mvs  spatial:82.9% temporal:17.1%
[libx264 @ 0x35f8de0] coded y,uvDC,uvAC intra: 19.0% 12.1% 10.2% inter:
2.4% 1.2% 0.7%
[libx264 @ 0x35f8de0] i16 v,h,dc,p: 34% 54%  1% 11%
[libx264 @ 0x35f8de0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 20% 27%  2%  3%
2%  4%  2%  3%
[libx264 @ 0x35f8de0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 19% 22%  5%  9%
5%  9%  5%  6%
[libx264 @ 0x35f8de0] i8c dc,h,v,p: 70% 23%  6%  0%
[libx264 @ 0x35f8de0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x35f8de0] ref P L0: 59.6%  2.2% 21.4% 10.1%  6.3%  0.4%
[libx264 @ 0x35f8de0] ref B L0: 67.8% 23.1%  7.5%  1.6%
[libx264 @ 0x35f8de0] ref B L1: 90.2%  9.8%
[libx264 @ 0x35f8de0] kb/s:1854.82

here the output of qtinfo on result file:

Type: Quicktime
  1 audio tracks.
    2 channels, 16 bits, sample rate 48000, length 116344 samples,
compressor mp4a.
    Sample format: Floating point.
    Channel setup: Front Left, Front Right
    Language: eng
    supported.
  1 video tracks.
    1920x1080, depth 24
    rate 25.000000 [12800:512] constant
    length 57 frames
    compressor avc1.
    Native colormodel:  YUV 4:2:0 planar
    Interlace mode:     None (Progressive)
    Chroma placement: MPEG-2
    No timecodes available
    supported.
  0 text tracks.


--INCORRECT OUTPUT-----

ffmpeg -v verbose -thread_queue_size 512 -hwaccel auto -threads 0 -y -r
25.0 -start_number 1001 -i
"/home/efesto/Desktop/playblasts/tmp3vwh5c.%4d.png" -loop 1 -i
"/home/efesto/devel/efesto/efesto-submit/resource/profile/default.jpg" -i
"/home/efesto/Desktop/playblasts/sh020_audio_ActMS_shot020_v002.wav" -c:v
libx264 -crf 18 -preset slow -strict -2 -movflags faststart -pix_fmt
yuv420p -filter_complex
"[0:v]null,scale=1920:1080[clip];[1:v]null,scale=1920:1080[slate];[2:0:a]adelay=50000.0[a];[slate]trim=start_frame=0:end_frame=1.0+1[slate];[slate][clip]concat=n=2:v=1,
scale=1920:1080, fps=25.0, setdar=16:9[v]" -map [v] -map [a] -shortest
/home/efesto/Desktop/debug/slate.mov
ffmpeg version N-72356-g8aa9853 Copyright (c) 2000-2015 the FFmpeg
developers
  built with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --prefix=/home/efesto/ffmpeg_build
--pkg-config-flags=--static
--extra-cflags=-I/home/efesto/ffmpeg_build/include
--extra-ldflags=-L/home/efesto/ffmpeg_build/lib --bindir=/home/efesto/bin
--enable-gpl --enable-libass --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264
--enable-nonfree
  libavutil      54. 25.100 / 54. 25.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 33.101 / 56. 33.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Routing option strict to both codec and muxer layer
Input #0, image2, from '/home/efesto/Desktop/playblasts/tmp3vwh5c.%4d.png':
  Duration: 00:00:02.28, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, 1 reference frame, rgba(pc), 1920x1080 (0x0),
25 fps, 25 tbr, 25 tbn, 25 tbc
Input #1, image2, from
'/home/efesto/devel/efesto/efesto-submit/resource/profile/default.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 52884 kb/s
    Stream #1:0: Video: mjpeg, 1 reference frame, yuvj420p(pc,
bt470bg/unknown/unknown), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25
tbn, 25 tbc
[wav @ 0x2b626a0] parser not found for codec pcm_s16le, packets or times
may be invalid.
    Last message repeated 1 times
Guessed Channel Layout for  Input Stream #2.0 : stereo
Input #2, wav, from
'/home/efesto/Desktop/playblasts/sh020_audio_ActMS_shot020_v002.wav':
  Duration: 00:00:02.40, bitrate: 1536 kb/s
    Stream #2:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2
channels, s16, 1536 kb/s
[Parsed_scale_1 @ 0x2f50ee0] w:1920 h:1080 flags:'bilinear' interl:0
[Parsed_scale_3 @ 0x2f50dc0] w:1920 h:1080 flags:'bilinear' interl:0
[Parsed_scale_7 @ 0x2d9d500] w:1920 h:1080 flags:'bilinear' interl:0
[Parsed_fps_8 @ 0x2f92c80] fps=25/1
[Parsed_setdar_9 @ 0x2ebccc0] num:den syntax is deprecated, please use
num/den or named options instead
[graph 0 input from stream 0:0 @ 0x2ebbfa0] w:1920 h:1080 pixfmt:rgba
tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
[graph 0 input from stream 1:0 @ 0x2f94900] w:1280 h:720 pixfmt:yuvj420p
tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[graph 0 input from stream 2:0 @ 0x2f94ea0] tb:1/48000 samplefmt:s16
samplerate:48000 chlayout:0x3
[Parsed_adelay_4 @ 0x2ebf820] auto-inserting filter 'auto-inserted
resampler 0' between the filter 'graph 0 input from stream 2:0' and the
filter 'Parsed_adelay_4'
[swscaler @ 0x2b345c0] deprecated pixel format used, make sure you did set
range correctly
[Parsed_scale_3 @ 0x2f50dc0] w:1280 h:720 fmt:yuvj420p sar:1/1 -> w:1920
h:1080 fmt:rgba sar:1/1 flags:0x2
[graph 0 input from stream 0:0 @ 0x2ebbfa0] TB:0.040000
FRAME_RATE:25.000000 SAMPLE_RATE:nan
[Parsed_scale_1 @ 0x2f50ee0] w:1920 h:1080 fmt:rgba sar:0/1 -> w:1920
h:1080 fmt:rgba sar:0/1 flags:0x2
[Parsed_scale_7 @ 0x2d9d500] w:1920 h:1080 fmt:rgba sar:1/1 -> w:1920
h:1080 fmt:yuv420p sar:1/1 flags:0x2
[Parsed_setdar_9 @ 0x2ebccc0] w:1920 h:1080 dar:16/9 sar:1/1 -> dar:16/9
sar:1/1
[auto-inserted resampler 0 @ 0x2fdcec0] ch:2 chl:stereo fmt:s16 r:48000Hz
-> ch:2 chl:stereo fmt:fltp r:48000Hz
[libx264 @ 0x2f96500] using SAR=1/1
[libx264 @ 0x2f96500] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x2f96500] profile High, level 5.0
[libx264 @ 0x2f96500] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1
ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 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=12 lookahead_threads=2
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3
weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40
intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0
qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mov, to '/home/efesto/Desktop/debug/slate.mov':
  Metadata:
    encoder         : Lavf56.33.101
    Stream #0:0: Video: h264 (libx264), -1 reference frame (avc1 /
0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800
tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc56.41.100 libx264
    Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp,
128 kb/s (default)
    Metadata:
      encoder         : Lavc56.41.100 aac
Stream mapping:
  Stream #0:0 (png) -> null
  Stream #1:0 (mjpeg) -> null
  Stream #2:0 (pcm_s16le) -> adelay
  setdar -> Stream #0:0 (libx264)
  adelay -> Stream #0:1 (aac)
Press [q] to stop, [?] for help
[Parsed_concat_6 @ 0x2f92ac0] EOF on in0:v0, 0 streams left in segment.
[Parsed_concat_6 @ 0x2f92ac0] Segment finished at pts=80000
frame=   36 fps=0.0 q=0.0 size=       0kB time=00:00:01.34 bitrate=
0.2kbits/sframe=   56 fps= 43 q=0.0 size=       0kB time=00:00:02.17
bitrate=   0.1kbits/s[Parsed_concat_6 @ 0x2f92ac0] EOF on in1:v0, 0 streams
left in segment.
[Parsed_concat_6 @ 0x2f92ac0] Segment finished at pts=2360000
frame=   59 fps= 32 q=0.0 size=      40kB time=00:00:15.36 bitrate=
21.2kbits/sframe=   59 fps= 25 q=0.0 size=      44kB time=00:00:31.36
bitrate=  11.5kbits/sframe=   59 fps= 21 q=0.0 size=      49kB
time=00:00:47.31 bitrate=   8.4kbits/sNo more output streams to write to,
finishing.
[mov @ 0x2f95440] Starting second pass: moving the moov atom to the
beginning of the file
frame=   59 fps= 15 q=-1.0 Lsize=     794kB time=00:00:52.41 bitrate=
124.2kbits/s
video:690kB audio:93kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 1.492586%
Input file #0 (/home/efesto/Desktop/playblasts/tmp3vwh5c.%4d.png):
  Input stream #0:0 (video): 57 packets read (14740075 bytes); 57 frames
decoded;
  Total: 57 packets (14740075 bytes) demuxed
Input file #1
(/home/efesto/devel/efesto/efesto-submit/resource/profile/default.jpg):
  Input stream #1:0 (video): 3 packets read (793260 bytes); 3 frames
decoded;
  Total: 3 packets (793260 bytes) demuxed
Input file #2
(/home/efesto/Desktop/playblasts/sh020_audio_ActMS_shot020_v002.wav):
  Input stream #2:0 (audio): 113 packets read (460800 bytes); 113 frames
decoded (115200 samples);
  Total: 113 packets (460800 bytes) demuxed
Output file #0 (/home/efesto/Desktop/debug/slate.mov):
  Output stream #0:0 (video): 59 frames encoded; 59 packets muxed (706254
bytes);
  Output stream #0:1 (audio): 2457 frames encoded (2515200 samples); 2458
packets muxed (95308 bytes);
  Total: 2517 packets (801562 bytes) muxed
[Parsed_fps_8 @ 0x2f92c80] 59 frames in, 59 frames out; 0 frames dropped, 0
frames duplicated.
[libx264 @ 0x2f96500] frame I:2     Avg QP:13.49  size:105592
[libx264 @ 0x2f96500] frame P:16    Avg QP:16.66  size: 15464
[libx264 @ 0x2f96500] frame B:41    Avg QP:21.87  size:  6023
[libx264 @ 0x2f96500] consecutive B-frames:  5.1%  3.4% 10.2% 81.4%
[libx264 @ 0x2f96500] mb I  I16..4: 25.5% 61.3% 13.2%
[libx264 @ 0x2f96500] mb P  I16..4:  1.9%  2.5%  1.2%  P16..4: 14.6%  5.9%
3.5%  0.0%  0.0%    skip:70.4%
[libx264 @ 0x2f96500] mb B  I16..4:  0.1%  0.1%  0.1%  B16..8: 19.3%  4.4%
0.8%  direct: 0.6%  skip:74.5%  L0:53.0% L1:43.8% BI: 3.3%
[libx264 @ 0x2f96500] 8x8 transform intra:55.4% inter:49.6%
[libx264 @ 0x2f96500] direct mvs  spatial:82.9% temporal:17.1%
[libx264 @ 0x2f96500] coded y,uvDC,uvAC intra: 43.3% 24.4% 13.0% inter:
2.3% 1.2% 0.7%
[libx264 @ 0x2f96500] i16 v,h,dc,p: 40% 46%  3% 11%
[libx264 @ 0x2f96500] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 14% 15%  7%  9%
7%  9%  7%  9%
[libx264 @ 0x2f96500] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 14% 16%  8% 11%
8% 11%  7% 11%
[libx264 @ 0x2f96500] i8c dc,h,v,p: 64% 24%  9%  3%
[libx264 @ 0x2f96500] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x2f96500] ref P L0: 59.2%  2.3% 21.6% 10.2%  6.1%  0.5%
[libx264 @ 0x2f96500] ref B L0: 67.4% 23.4%  7.6%  1.6%
[libx264 @ 0x2f96500] ref B L1: 90.2%  9.8%
[libx264 @ 0x2f96500] kb/s:2391.74

here the output of qtinfo on result file:

Type: Quicktime
  1 audio tracks.
    2 channels, 16 bits, sample rate 48000, length 2516224 samples,
compressor mp4a.
    Sample format: Floating point.
    Channel setup: Front Left, Front Right
    Language: eng
    supported.
  1 video tracks.
    1920x1080, depth 24
    rate 25.000000 [12800:512] constant
    length 59 frames
    compressor avc1.
    Native colormodel:  YUV 4:2:0 planar
    Interlace mode:     None (Progressive)
    Chroma placement: MPEG-2
    No timecodes available
    supported.
  0 text tracks.


More information about the ffmpeg-user mailing list