[FFmpeg-user] ffmpeg libx264 VBR and CBR output generates different POC, possible bug

Maxim Levkov maxim.levkov at gmail.com
Tue Nov 13 01:17:49 CET 2012


Hello Carl,

Thank you for responding.

The video that I was transcoding has a specific location for I-IDR frame
placement.

I want to create CBR H.264 version of the video and VBR H.264 version.

Once the video is done transcoding, I use the "elementary" core in
commercial MPEG2 muxer for outputting MPEG2-TS file. When I exported
MPEG2-TS and then analyzed with MPEG2-TS analyzer, I've noticed that
explicit positions that I've indicated in FFMPEG are not being adhered to
in CBR version of the file. Up on further analysis and more "explicit"
output from FFMPEG, I've noticed that POC (picture order count) is
different in CBR and VBR versions. My general understanding of the
situation is such that the difference between CBR and VBR should not be in
area of POC (picture order count). Hence, I'm not sure if this is an issue
that derives from FFMPEG or libx264, it might be the latter, but could be
the FFMPEG '-force_key_frames' option. I think POC should be the same for
CBR and VBR.

Here is my command line for the CBR and VBR outputs:
/* CBR: */
-------
b:\ffmpeg.exe -v 9 -loglevel 99 -i "F:\700_scale(640x360)_1min.avi"
-threads 0 ^ -force_key_frames
00:00:29.946,00:00:44.961,00:01:17.368,00:01:32.383 ^ -c:v libx264
-sws_flags lanczos -cmp rd ^
-x264opts
bitrate=700:vbv_maxrate=700:vbv_bufsize=700:nal_hrd=cbr:rc_lookahead=40:interlaced=0:scenecut=0:cabac=1:keyint=120:level=3.2:deblock=1,0,0:aud=1:qpmin=16:qpmax=51:qpstep=10:ref=2:mixed-refs=1:subme=9:me=esa:chroma_me=0:merange=64:8x8dct=0:fast_pskip=0:chroma_qp_offset=0:trellis=2:psy=0:bframes=0:weightp=2:slices=0:sliced_threads=0:ipratio=1.40:qcomp=0.60:partitions=p8x8,b8x8,i8x8,i4x4:direct=auto:mbtree=0:colorprim=bt709:transfer=bt709:colormatrix=bt709
^
-aspect 16:9  -pix_fmt yuv420p -c:a libvo_aacenc -ab 128000 -ar 44100 -ac 2
-f mp4 -y "b:\forced_i_frames_700_640x360_700_5secGOP_CBR_1min_POCtest.mp4"
-vstats_file b:\consoleOutput_POC_CBR_vstats.txt
2>b:\consoleOutput_POC_CBR-loglevel99.txt
-------
/* VBR */
-------
b:\ffmpeg.exe -v 9 -loglevel 99 -i "F:\700_scale(640x360)-1min.avi"
-threads 0 ^ -force_key_frames
00:00:29.946,00:00:44.961,00:01:17.368,00:01:32.383 ^ -c:v libx264
-sws_flags lanczos -cmp rd ^
-x264opts
bitrate=700:vbv_maxrate=750:vbv_bufsize=800:nal_hrd=vbr:rc_lookahead=40:interlaced=0:scenecut=0:cabac=1:keyint=120:level=3.2:deblock=1,0,0:aud=1:qpmin=16:qpmax=51:qpstep=10:ref=2:mixed-refs=1:subme=9:me=esa:chroma_me=0:merange=64:8x8dct=0:fast_pskip=0:chroma_qp_offset=0:trellis=2:psy=0:bframes=0:weightp=2:slices=0:sliced_threads=0:ipratio=1.40:qcomp=0.60:partitions=p8x8,b8x8,i8x8,i4x4:direct=auto:mbtree=0:colorprim=bt709:transfer=bt709:colormatrix=bt709
^
-aspect 16:9  -pix_fmt yuv420p -c:a libvo_aacenc -ab 128000 -ar 44100 -ac 2
-f mp4 -y
"b:\forced_i_frames_700_640x360_800_5secGOP_VBR_1min_POCtest.mp4"
-vstats_file b:\consoleOutput_POC_VBR_vstats.txt
2>b:\consoleOutput_POC_VBR-loglevel99.txt
----------------------------------------

Source Media:
Link: https://sendnow.acrobat.com/?i=5x6bh6malEMsuvM9yByrTQ
1 min 37 sec
~~ 1.GB (.AVI File)

Reports (.TXT Files):
1. CBR - Vstats
2. CBR - Console Output (Log Level 99)
3. VBR - Vstats
4. VBR - Console Output (Log Level 99)
Link: https://sendnow.acrobat.com/?i=aNjNOrGFzksRPRBcP2sTog

----

Thank you,
Maxim
-------

/* CBR Console Output */

ffmpeg version N-46469-gc995644 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Nov  5 2012 17:58:15 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut
--enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
--enable-libxvid --enable-zlib
  libavutil      52.  5.100 / 52.  5.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 21.106 /  3. 21.106
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[avi @ 0000000001f4f800] non-interleaved AVI
Input #0, avi, from 'F:\tempsource\For_SCTE35_AdobeInternal\SCTE-35 Testing
Suite Project\SCTE-35, Main (23.976)
Final,700_scale(640x360)-instantHD_1min.avi':
  Metadata:
    date            : 2012-11-12T11:27:05-08:00
    encoder         : Adobe Premiere Pro CS6 (Windows)
  Duration: 00:01:37.51, start: 0.000000, bitrate: 90713 kb/s
    Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 640x360,
23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz,
stereo, s32, 2304 kb/s
[libx264 @ 000000000034e080] using SAR=1/1
[libx264 @ 000000000034e080] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 000000000034e080] profile Main, level 3.2
[libx264 @ 000000000034e080] 264 - core 128 r2216 198a7ea - H.264/MPEG-4
AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html -
options: cabac=1 ref=2 deblock=1:1:0 analyse=0x1:0x111 me=esa subme=9 psy=0
mixed_ref=1 me_range=64 chroma_me=0 trellis=2 8x8dct=0 cqm=0 deadzone=21,11
fast_pskip=0 chroma_qp_offset=0 threads=18 lookahead_threads=3
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=0 weightp=2 keyint=120 keyint_min=12 scenecut=0
intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=0 bitrate=700 ratetol=1.0
qcomp=0.60 qpmin=16 qpmax=51 qpstep=10 vbv_maxrate=700 vbv_bufsize=700
nal_hrd=cbr ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to
'b:\scte-35_w_forced_i_frames_700_640x360_700_5secGOP_CBR(00_38_27_06)_1min_POCtest.mp4':
  Metadata:
    date            : 2012-11-12T11:27:05-08:00
    encoder         : Lavf54.36.100
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 640x360
[SAR 1:1 DAR 16:9], q=-1--1, 700 kb/s, 24k tbn, 23.98 tbc
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
s16, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> libx264)
  Stream #0:1 -> #0:1 (pcm_s24le -> libvo_aacenc)
Press [q] to stop, [?] for help
frame=   80 fps=0.0 q=20.0 size=      81kB time=00:00:03.26 bitrate=
203.1kbits/s
frame=   92 fps= 91 q=19.0 size=     136kB time=00:00:03.77 bitrate=
294.7kbits/s
frame=  104 fps= 67 q=19.0 size=     195kB time=00:00:04.25 bitrate=
375.6kbits/s
frame=  121 fps= 59 q=17.0 size=     277kB time=00:00:04.97 bitrate=
456.3kbits/s
frame=  141 fps= 55 q=16.0 size=     364kB time=00:00:05.81 bitrate=
512.2kbits/s
frame=  153 fps= 49 q=16.0 size=     426kB time=00:00:06.30 bitrate=
553.1kbits/s
frame=  209 fps= 58 q=21.0 size=     642kB time=00:00:08.64 bitrate=
607.9kbits/s
frame=  226 fps= 55 q=25.0 size=     724kB time=00:00:09.36 bitrate=
633.4kbits/s
frame=  244 fps= 52 q=29.0 size=     797kB time=00:00:10.11 bitrate=
645.8kbits/s
frame=  261 fps= 50 q=30.0 size=     865kB time=00:00:10.80 bitrate=
655.5kbits/s
frame=  272 fps= 48 q=29.0 size=     919kB time=00:00:11.27 bitrate=
667.8kbits/s
frame=  282 fps= 45 q=26.0 size=     957kB time=00:00:11.68 bitrate=
670.5kbits/s
frame=  292 fps= 44 q=24.0 size=     999kB time=00:00:12.10 bitrate=
675.7kbits/s
frame=  299 fps= 41 q=25.0 size=    1038kB time=00:00:12.40 bitrate=
685.4kbits/s
frame=  331 fps= 43 q=22.0 size=    1160kB time=00:00:13.73 bitrate=
692.2kbits/s
frame=  349 fps= 42 q=19.0 size=    1223kB time=00:00:14.47 bitrate=
691.9kbits/s
frame=  358 fps= 41 q=17.0 size=    1266kB time=00:00:14.87 bitrate=
697.3kbits/s
frame=  376 fps= 40 q=16.0 size=    1329kB time=00:00:15.61 bitrate=
697.5kbits/s
frame=  394 fps= 40 q=17.0 size=    1406kB time=00:00:16.35 bitrate=
704.2kbits/s
frame=  395 fps= 38 q=16.0 size=    1427kB time=00:00:16.40 bitrate=
712.7kbits/s
frame=  437 fps= 40 q=16.0 size=    1592kB time=00:00:18.14 bitrate=
719.0kbits/s
frame=  463 fps= 41 q=17.0 size=    1697kB time=00:00:19.23 bitrate=
722.5kbits/s
frame=  478 fps= 40 q=16.0 size=    1783kB time=00:00:19.86 bitrate=
735.5kbits/s
frame=  493 fps= 40 q=23.0 size=    1849kB time=00:00:20.49 bitrate=
739.2kbits/s
frame=  509 fps= 39 q=22.0 size=    1903kB time=00:00:21.16 bitrate=
736.6kbits/s
frame=  524 fps= 39 q=24.0 size=    1962kB time=00:00:21.79 bitrate=
737.7kbits/s
frame=  538 fps= 39 q=21.0 size=    2019kB time=00:00:22.37 bitrate=
739.4kbits/s
frame=  563 fps= 39 q=20.0 size=    2165kB time=00:00:23.41 bitrate=
757.4kbits/s
frame=  587 fps= 39 q=16.0 size=    2228kB time=00:00:24.41 bitrate=
747.6kbits/s
frame=  609 fps= 39 q=20.0 size=    2312kB time=00:00:25.34 bitrate=
747.3kbits/s
frame=  625 fps= 39 q=19.0 size=    2387kB time=00:00:25.99 bitrate=
752.4kbits/s
frame=  643 fps= 39 q=16.0 size=    2456kB time=00:00:26.75 bitrate=
751.8kbits/s
frame=  676 fps= 40 q=17.0 size=    2601kB time=00:00:28.12 bitrate=
757.5kbits/s
frame=  694 fps= 39 q=20.0 size=    2671kB time=00:00:28.87 bitrate=
757.7kbits/s
frame=  707 fps= 39 q=20.0 size=    2739kB time=00:00:29.42 bitrate=
762.3kbits/s
frame=  716 fps= 38 q=22.0 size=    2782kB time=00:00:29.80 bitrate=
764.6kbits/s
frame=  724 fps= 37 q=22.0 size=    2818kB time=00:00:30.12 bitrate=
766.4kbits/s
frame=  733 fps= 37 q=20.0 size=    2852kB time=00:00:30.49 bitrate=
766.0kbits/s
frame=  741 fps= 36 q=21.0 size=    2887kB time=00:00:30.84 bitrate=
766.7kbits/s
frame=  750 fps= 36 q=21.0 size=    2926kB time=00:00:31.21 bitrate=
767.8kbits/s
frame=  759 fps= 35 q=21.0 size=    2970kB time=00:00:31.58 bitrate=
770.1kbits/s
frame=  767 fps= 35 q=16.0 size=    3008kB time=00:00:31.93 bitrate=
771.5kbits/s
frame=  776 fps= 34 q=16.0 size=    3050kB time=00:00:32.28 bitrate=
774.0kbits/s
frame=  950 fps= 41 q=16.0 size=    3750kB time=00:00:39.57 bitrate=
776.3kbits/s
frame= 1129 fps= 48 q=18.0 size=    4505kB time=00:00:47.03 bitrate=
784.8kbits/s
frame= 1145 fps= 48 q=22.0 size=    4605kB time=00:00:47.68 bitrate=
791.1kbits/s
frame= 1154 fps= 47 q=22.0 size=    4644kB time=00:00:48.05 bitrate=
791.8kbits/s
frame= 1163 fps= 46 q=22.0 size=    4681kB time=00:00:48.44 bitrate=
791.6kbits/s
frame= 1172 fps= 46 q=22.0 size=    4717kB time=00:00:48.81 bitrate=
791.6kbits/s
frame= 1183 fps= 45 q=23.0 size=    4768kB time=00:00:49.28 bitrate=
792.5kbits/s
frame= 1198 fps= 45 q=26.0 size=    4842kB time=00:00:49.88 bitrate=
795.1kbits/s
frame= 1213 fps= 45 q=25.0 size=    4891kB time=00:00:50.51 bitrate=
793.2kbits/s
frame= 1228 fps= 44 q=25.0 size=    4946kB time=00:00:51.14 bitrate=
792.3kbits/s
frame= 1240 fps= 44 q=25.0 size=    4999kB time=00:00:51.65 bitrate=
792.9kbits/s
frame= 1253 fps= 43 q=24.0 size=    5051kB time=00:00:52.18 bitrate=
793.0kbits/s
frame= 1271 fps= 43 q=26.0 size=    5152kB time=00:00:52.95 bitrate=
797.1kbits/s
frame= 1291 fps= 43 q=23.0 size=    5209kB time=00:00:53.78 bitrate=
793.4kbits/s
frame= 1307 fps= 43 q=24.0 size=    5267kB time=00:00:54.43 bitrate=
792.6kbits/s
frame= 1315 fps= 42 q=23.0 size=    5312kB time=00:00:54.78 bitrate=
794.3kbits/s
frame= 1327 fps= 42 q=25.0 size=    5369kB time=00:00:55.27 bitrate=
795.8kbits/s
frame= 1341 fps= 42 q=23.0 size=    5421kB time=00:00:55.85 bitrate=
795.1kbits/s
frame= 1358 fps= 42 q=23.0 size=    5473kB time=00:00:56.57 bitrate=
792.6kbits/s
frame= 1370 fps= 41 q=24.0 size=    5541kB time=00:00:57.06 bitrate=
795.5kbits/s
frame= 1401 fps= 41 q=25.0 size=    5685kB time=00:00:58.36 bitrate=
798.0kbits/s
frame= 1417 fps= 41 q=24.0 size=    5753kB time=00:00:59.03 bitrate=
798.3kbits/s
frame= 1434 fps= 41 q=22.0 size=    5814kB time=00:00:59.73 bitrate=
797.4kbits/s
frame= 1445 fps= 41 q=23.0 size=    5855kB time=00:01:00.19 bitrate=
796.7kbits/s
frame= 1461 fps= 41 q=22.0 size=    5912kB time=00:01:00.86 bitrate=
795.6kbits/s
frame= 1475 fps= 41 q=17.0 size=    5965kB time=00:01:01.45 bitrate=
795.2kbits/s
frame= 1489 fps= 40 q=21.0 size=    6026kB time=00:01:02.03 bitrate=
795.8kbits/s
frame= 1517 fps= 41 q=18.0 size=    6142kB time=00:01:03.19 bitrate=
796.2kbits/s
frame= 1528 fps= 40 q=20.0 size=    6194kB time=00:01:03.65 bitrate=
797.1kbits/s
frame= 1545 fps= 40 q=18.0 size=    6260kB time=00:01:04.37 bitrate=
796.6kbits/s
frame= 1562 fps= 40 q=19.0 size=    6332kB time=00:01:05.07 bitrate=
797.1kbits/s
frame= 1577 fps= 40 q=18.0 size=    6396kB time=00:01:05.69 bitrate=
797.5kbits/s
frame= 1592 fps= 40 q=20.0 size=    6463kB time=00:01:06.32 bitrate=
798.3kbits/s
frame= 1610 fps= 40 q=20.0 size=    6534kB time=00:01:07.09 bitrate=
797.8kbits/s
frame= 1643 fps= 40 q=19.0 size=    6674kB time=00:01:08.46 bitrate=
798.6kbits/s
frame= 1654 fps= 40 q=20.0 size=    6733kB time=00:01:08.92 bitrate=
800.2kbits/s
frame= 1670 fps= 40 q=20.0 size=    6805kB time=00:01:09.57 bitrate=
801.2kbits/s
frame= 1686 fps= 40 q=19.0 size=    6860kB time=00:01:10.25 bitrate=
799.9kbits/s
frame= 1702 fps= 39 q=19.0 size=    6922kB time=00:01:10.92 bitrate=
799.5kbits/s
frame= 1716 fps= 39 q=19.0 size=    6982kB time=00:01:11.52 bitrate=
799.6kbits/s
frame= 1729 fps= 39 q=17.0 size=    7037kB time=00:01:12.03 bitrate=
800.2kbits/s
frame= 1764 fps= 40 q=16.0 size=    7184kB time=00:01:13.50 bitrate=
800.7kbits/s
frame= 1784 fps= 40 q=17.0 size=    7268kB time=00:01:14.33 bitrate=
801.0kbits/s
frame= 1795 fps= 39 q=20.0 size=    7328kB time=00:01:14.80 bitrate=
802.5kbits/s
frame= 1811 fps= 39 q=20.0 size=    7394kB time=00:01:15.47 bitrate=
802.6kbits/s
frame= 1828 fps= 39 q=21.0 size=    7462kB time=00:01:16.17 bitrate=
802.5kbits/s
frame= 1846 fps= 39 q=20.0 size=    7530kB time=00:01:16.91 bitrate=
802.0kbits/s
frame= 1877 fps= 39 q=20.0 size=    7687kB time=00:01:18.21 bitrate=
805.1kbits/s
frame= 1894 fps= 39 q=20.0 size=    7763kB time=00:01:18.93 bitrate=
805.7kbits/s
frame= 1913 fps= 39 q=16.0 size=    7826kB time=00:01:19.72 bitrate=
804.2kbits/s
frame= 2100 fps= 43 q=16.0 size=    8601kB time=00:01:27.52 bitrate=
805.0kbits/s
frame= 2276 fps= 46 q=17.0 size=    9363kB time=00:01:34.86 bitrate=
808.6kbits/s
frame= 2296 fps= 46 q=16.0 size=    9429kB time=00:01:35.69 bitrate=
807.1kbits/s
frame= 2316 fps= 46 q=22.0 size=    9512kB time=00:01:36.53 bitrate=
807.2kbits/s
frame= 2326 fps= 45 q=22.0 size=    9574kB time=00:01:36.95 bitrate=
808.9kbits/s
frame= 2335 fps= 45 q=27.0 size=    9622kB time=00:01:37.32 bitrate=
809.9kbits/s
frame= 2338 fps= 42 q=-1.0 Lsize=    9933kB time=00:01:37.53 bitrate=
834.3kbits/s

video:8347kB audio:1525kB subtitle:0 global headers:0kB muxing overhead
0.627271%
[libx264 @ 000000000034e080] frame I:21    Avg QP:20.61  size: 20181
[libx264 @ 000000000034e080] frame P:2317  Avg QP:21.61  size:  3506
[libx264 @ 000000000034e080] mb I  I16..4: 51.9%  0.0% 48.1%
[libx264 @ 000000000034e080] mb P  I16..4:  1.5%  0.0%  1.0%  P16..4:
33.0%  8.2%  5.1%  0.0%  0.0%    skip:51.2%
[libx264 @ 000000000034e080] coded y,uvDC,uvAC intra: 44.2% 41.2% 15.9%
inter: 10.9% 12.4% 1.1%
[libx264 @ 000000000034e080] i16 v,h,dc,p: 47% 18% 13% 21%
[libx264 @ 000000000034e080] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 17% 21%
5%  7%  7%  6%  6%  6%
[libx264 @ 000000000034e080] i8c dc,h,v,p: 45% 26% 17% 12%
[libx264 @ 000000000034e080] Weighted P-Frames: Y:0.9% UV:0.4%
[libx264 @ 000000000034e080] ref P L0: 69.3% 13.6% 17.1%  0.0%
[libx264 @ 000000000034e080] kb/s:701.15

------------
/* VBR Console output*/
------------
ffmpeg version N-46469-gc995644 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Nov  5 2012 17:58:15 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut
--enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
--enable-libxvid --enable-zlib
  libavutil      52.  5.100 / 52.  5.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 21.106 /  3. 21.106
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[avi @ 0000000001f4f800] non-interleaved AVI
Input #0, avi, from 'F:\tempsource\For_SCTE35_AdobeInternal\SCTE-35 Testing
Suite Project\SCTE-35, Main (23.976)
Final,700_scale(640x360)-instantHD_1min.avi':
  Metadata:
    date            : 2012-11-12T11:27:05-08:00
    encoder         : Adobe Premiere Pro CS6 (Windows)
  Duration: 00:01:37.51, start: 0.000000, bitrate: 90713 kb/s
    Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 640x360,
23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz,
stereo, s32, 2304 kb/s
[libx264 @ 0000000001fce080] using SAR=1/1
[libx264 @ 0000000001fce080] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0000000001fce080] profile Main, level 3.2
[libx264 @ 0000000001fce080] 264 - core 128 r2216 198a7ea - H.264/MPEG-4
AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html -
options: cabac=1 ref=2 deblock=1:1:0 analyse=0x1:0x111 me=esa subme=9 psy=0
mixed_ref=1 me_range=64 chroma_me=0 trellis=2 8x8dct=0 cqm=0 deadzone=21,11
fast_pskip=0 chroma_qp_offset=0 threads=18 lookahead_threads=3
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=0 weightp=2 keyint=120 keyint_min=12 scenecut=0
intra_refresh=0 rc_lookahead=40 rc=abr mbtree=0 bitrate=700 ratetol=1.0
qcomp=0.60 qpmin=16 qpmax=51 qpstep=10 vbv_maxrate=750 vbv_bufsize=800
nal_hrd=vbr ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to
'b:\scte-35_w_forced_i_frames_700_640x360_800_5secGOP_VBR(00_38_27_06)_1min_POCtest.mp4':
  Metadata:
    date            : 2012-11-12T11:27:05-08:00
    encoder         : Lavf54.36.100
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 640x360
[SAR 1:1 DAR 16:9], q=-1--1, 700 kb/s, 24k tbn, 23.98 tbc
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
s16, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> libx264)
  Stream #0:1 -> #0:1 (pcm_s24le -> libvo_aacenc)
Press [q] to stop, [?] for help
frame=   79 fps=0.0 q=18.0 size=      26kB time=00:00:03.23 bitrate=
66.6kbits/s
frame=   92 fps= 89 q=18.0 size=      83kB time=00:00:03.77 bitrate=
179.3kbits/s
frame=  103 fps= 67 q=18.0 size=     140kB time=00:00:04.23 bitrate=
270.2kbits/s
frame=  119 fps= 58 q=18.0 size=     223kB time=00:00:04.88 bitrate=
374.4kbits/s
frame=  138 fps= 54 q=19.0 size=     311kB time=00:00:05.67 bitrate=
449.5kbits/s
frame=  153 fps= 49 q=16.0 size=     380kB time=00:00:06.30 bitrate=
494.1kbits/s
frame=  209 fps= 57 q=20.0 size=     482kB time=00:00:08.64 bitrate=
456.5kbits/s
frame=  225 fps= 54 q=25.0 size=     568kB time=00:00:09.32 bitrate=
499.0kbits/s
frame=  243 fps= 52 q=28.0 size=     646kB time=00:00:10.06 bitrate=
525.8kbits/s
frame=  260 fps= 50 q=30.0 size=     715kB time=00:00:10.78 bitrate=
543.4kbits/s
frame=  271 fps= 47 q=29.0 size=     775kB time=00:00:11.22 bitrate=
565.5kbits/s
frame=  281 fps= 45 q=24.0 size=     817kB time=00:00:11.64 bitrate=
574.7kbits/s
frame=  291 fps= 43 q=23.0 size=     859kB time=00:00:12.06 bitrate=
583.1kbits/s
frame=  299 fps= 41 q=25.0 size=     906kB time=00:00:12.40 bitrate=
597.8kbits/s
frame=  330 fps= 42 q=21.0 size=    1033kB time=00:00:13.68 bitrate=
618.4kbits/s
frame=  347 fps= 41 q=20.0 size=    1098kB time=00:00:14.40 bitrate=
624.2kbits/s
frame=  357 fps= 40 q=20.0 size=    1145kB time=00:00:14.82 bitrate=
632.6kbits/s
frame=  375 fps= 40 q=19.0 size=    1200kB time=00:00:15.56 bitrate=
631.7kbits/s
frame=  394 fps= 40 q=18.0 size=    1257kB time=00:00:16.35 bitrate=
629.7kbits/s
frame=  395 fps= 38 q=17.0 size=    1272kB time=00:00:16.40 bitrate=
635.4kbits/s
frame=  426 fps= 39 q=17.0 size=    1403kB time=00:00:17.70 bitrate=
649.0kbits/s
frame=  460 fps= 40 q=16.0 size=    1504kB time=00:00:19.12 bitrate=
644.5kbits/s
frame=  478 fps= 40 q=16.0 size=    1585kB time=00:00:19.86 bitrate=
653.5kbits/s
frame=  494 fps= 39 q=23.0 size=    1659kB time=00:00:20.53 bitrate=
661.7kbits/s
frame=  510 fps= 39 q=22.0 size=    1712kB time=00:00:21.20 bitrate=
661.1kbits/s
frame=  524 fps= 39 q=22.0 size=    1776kB time=00:00:21.79 bitrate=
667.8kbits/s
frame=  538 fps= 38 q=19.0 size=    1837kB time=00:00:22.37 bitrate=
672.7kbits/s
frame=  563 fps= 38 q=18.0 size=    1987kB time=00:00:23.41 bitrate=
695.1kbits/s
frame=  586 fps= 39 q=17.0 size=    2057kB time=00:00:24.36 bitrate=
691.4kbits/s
frame=  608 fps= 39 q=20.0 size=    2129kB time=00:00:25.29 bitrate=
689.5kbits/s
frame=  625 fps= 39 q=17.0 size=    2197kB time=00:00:25.99 bitrate=
692.3kbits/s
frame=  643 fps= 38 q=16.0 size=    2270kB time=00:00:26.75 bitrate=
694.9kbits/s
frame=  676 fps= 39 q=17.0 size=    2414kB time=00:00:28.12 bitrate=
703.0kbits/s
frame=  694 fps= 39 q=18.0 size=    2486kB time=00:00:28.87 bitrate=
705.3kbits/s
frame=  707 fps= 38 q=19.0 size=    2552kB time=00:00:29.42 bitrate=
710.5kbits/s
frame=  716 fps= 37 q=22.0 size=    2599kB time=00:00:29.80 bitrate=
714.4kbits/s
frame=  724 fps= 37 q=21.0 size=    2641kB time=00:00:30.12 bitrate=
718.1kbits/s
frame=  733 fps= 36 q=20.0 size=    2676kB time=00:00:30.49 bitrate=
718.7kbits/s
frame=  741 fps= 36 q=20.0 size=    2712kB time=00:00:30.84 bitrate=
720.2kbits/s
frame=  749 fps= 35 q=19.0 size=    2751kB time=00:00:31.17 bitrate=
723.1kbits/s
frame=  757 fps= 35 q=19.0 size=    2792kB time=00:00:31.49 bitrate=
726.2kbits/s
frame=  765 fps= 34 q=16.0 size=    2836kB time=00:00:31.84 bitrate=
729.5kbits/s
frame=  773 fps= 34 q=16.0 size=    2878kB time=00:00:32.16 bitrate=
733.0kbits/s
frame=  882 fps= 38 q=16.0 size=    3010kB time=00:00:36.72 bitrate=
671.5kbits/s
frame= 1072 fps= 45 q=16.0 size=    3214kB time=00:00:44.66 bitrate=
589.5kbits/s
frame= 1142 fps= 47 q=19.0 size=    3326kB time=00:00:47.56 bitrate=
572.8kbits/s
frame= 1151 fps= 47 q=21.0 size=    3369kB time=00:00:47.93 bitrate=
575.8kbits/s
frame= 1160 fps= 46 q=21.0 size=    3411kB time=00:00:48.30 bitrate=
578.4kbits/s
frame= 1169 fps= 45 q=21.0 size=    3450kB time=00:00:48.67 bitrate=
580.6kbits/s
frame= 1177 fps= 45 q=22.0 size=    3491kB time=00:00:49.02 bitrate=
583.4kbits/s
frame= 1192 fps= 44 q=26.0 size=    3570kB time=00:00:49.65 bitrate=
589.0kbits/s
frame= 1205 fps= 44 q=26.0 size=    3627kB time=00:00:50.21 bitrate=
591.8kbits/s
frame= 1220 fps= 44 q=24.0 size=    3677kB time=00:00:50.81 bitrate=
592.8kbits/s
frame= 1234 fps= 43 q=25.0 size=    3738kB time=00:00:51.39 bitrate=
595.9kbits/s
frame= 1246 fps= 43 q=23.0 size=    3792kB time=00:00:51.90 bitrate=
598.5kbits/s
frame= 1262 fps= 43 q=27.0 size=    3894kB time=00:00:52.55 bitrate=
607.0kbits/s
frame= 1279 fps= 43 q=23.0 size=    3954kB time=00:00:53.27 bitrate=
607.9kbits/s
frame= 1296 fps= 42 q=24.0 size=    4008kB time=00:00:53.99 bitrate=
608.0kbits/s
frame= 1311 fps= 42 q=24.0 size=    4071kB time=00:00:54.60 bitrate=
610.8kbits/s
frame= 1318 fps= 42 q=24.0 size=    4118kB time=00:00:54.90 bitrate=
614.4kbits/s
frame= 1330 fps= 41 q=25.0 size=    4177kB time=00:00:55.41 bitrate=
617.5kbits/s
frame= 1344 fps= 41 q=22.0 size=    4227kB time=00:00:55.99 bitrate=
618.4kbits/s
frame= 1360 fps= 41 q=25.0 size=    4285kB time=00:00:56.64 bitrate=
619.7kbits/s
frame= 1370 fps= 40 q=24.0 size=    4349kB time=00:00:57.06 bitrate=
624.3kbits/s
frame= 1401 fps= 41 q=25.0 size=    4497kB time=00:00:58.36 bitrate=
631.2kbits/s
frame= 1415 fps= 41 q=22.0 size=    4563kB time=00:00:58.96 bitrate=
634.0kbits/s
frame= 1432 fps= 40 q=21.0 size=    4628kB time=00:00:59.66 bitrate=
635.5kbits/s
frame= 1443 fps= 40 q=23.0 size=    4678kB time=00:01:00.12 bitrate=
637.4kbits/s
frame= 1458 fps= 40 q=21.0 size=    4740kB time=00:01:00.75 bitrate=
639.2kbits/s
frame= 1472 fps= 40 q=18.0 size=    4787kB time=00:01:01.33 bitrate=
639.4kbits/s
frame= 1487 fps= 40 q=18.0 size=    4841kB time=00:01:01.96 bitrate=
640.0kbits/s
frame= 1514 fps= 40 q=17.0 size=    4970kB time=00:01:03.07 bitrate=
645.5kbits/s
frame= 1523 fps= 39 q=17.0 size=    5012kB time=00:01:03.44 bitrate=
647.1kbits/s
frame= 1540 fps= 39 q=17.0 size=    5094kB time=00:01:04.16 bitrate=
650.3kbits/s
frame= 1557 fps= 39 q=16.0 size=    5149kB time=00:01:04.86 bitrate=
650.3kbits/s
frame= 1571 fps= 39 q=18.0 size=    5221kB time=00:01:05.44 bitrate=
653.5kbits/s
frame= 1585 fps= 39 q=20.0 size=    5297kB time=00:01:06.04 bitrate=
657.0kbits/s
frame= 1603 fps= 39 q=18.0 size=    5366kB time=00:01:06.79 bitrate=
658.1kbits/s
frame= 1634 fps= 39 q=17.0 size=    5514kB time=00:01:08.09 bitrate=
663.4kbits/s
frame= 1647 fps= 39 q=17.0 size=    5572kB time=00:01:08.62 bitrate=
665.2kbits/s
frame= 1663 fps= 39 q=20.0 size=    5652kB time=00:01:09.29 bitrate=
668.2kbits/s
frame= 1679 fps= 39 q=17.0 size=    5716kB time=00:01:09.94 bitrate=
669.4kbits/s
frame= 1693 fps= 39 q=19.0 size=    5770kB time=00:01:10.55 bitrate=
670.0kbits/s
frame= 1708 fps= 39 q=19.0 size=    5840kB time=00:01:11.17 bitrate=
672.1kbits/s
frame= 1721 fps= 38 q=16.0 size=    5906kB time=00:01:11.71 bitrate=
674.7kbits/s
frame= 1756 fps= 39 q=16.0 size=    6041kB time=00:01:13.17 bitrate=
676.3kbits/s
frame= 1773 fps= 39 q=16.0 size=    6104kB time=00:01:13.87 bitrate=
676.9kbits/s
frame= 1787 fps= 38 q=16.0 size=    6162kB time=00:01:14.45 bitrate=
678.0kbits/s
frame= 1804 fps= 38 q=20.0 size=    6254kB time=00:01:15.17 bitrate=
681.5kbits/s
frame= 1820 fps= 38 q=19.0 size=    6320kB time=00:01:15.84 bitrate=
682.6kbits/s
frame= 1838 fps= 38 q=19.0 size=    6390kB time=00:01:16.58 bitrate=
683.4kbits/s
frame= 1854 fps= 38 q=20.0 size=    6452kB time=00:01:17.26 bitrate=
684.1kbits/s
frame= 1885 fps= 38 q=19.0 size=    6621kB time=00:01:18.56 bitrate=
690.4kbits/s
frame= 1903 fps= 38 q=16.0 size=    6696kB time=00:01:19.30 bitrate=
691.7kbits/s
frame= 1989 fps= 40 q=16.0 size=    6825kB time=00:01:22.85 bitrate=
674.8kbits/s
frame= 2180 fps= 43 q=16.0 size=    7027kB time=00:01:30.84 bitrate=
633.6kbits/s
frame= 2284 fps= 45 q=16.0 size=    7171kB time=00:01:35.18 bitrate=
617.2kbits/s
frame= 2304 fps= 45 q=16.0 size=    7240kB time=00:01:36.02 bitrate=
617.6kbits/s
frame= 2324 fps= 45 q=21.0 size=    7317kB time=00:01:36.86 bitrate=
618.8kbits/s
frame= 2329 fps= 44 q=30.0 size=    7364kB time=00:01:37.06 bitrate=
621.5kbits/s
frame= 2337 fps= 44 q=27.0 size=    7413kB time=00:01:37.39 bitrate=
623.5kbits/s
frame= 2338 fps= 41 q=-1.0 Lsize=    7731kB time=00:01:37.53 bitrate=
649.3kbits/s

video:6146kB audio:1525kB subtitle:0 global headers:0kB muxing overhead
0.794231%
[libx264 @ 0000000001fce080] frame I:21    Avg QP:20.64  size: 20136
[libx264 @ 0000000001fce080] frame P:2317  Avg QP:21.29  size:  2533
[libx264 @ 0000000001fce080] mb I  I16..4: 52.2%  0.0% 47.8%
[libx264 @ 0000000001fce080] mb P  I16..4:  1.5%  0.0%  1.1%  P16..4:
32.9%  8.7%  5.4%  0.0%  0.0%    skip:50.4%
[libx264 @ 0000000001fce080] coded y,uvDC,uvAC intra: 45.2% 41.8% 16.5%
inter: 12.0% 13.3% 1.3%
[libx264 @ 0000000001fce080] i16 v,h,dc,p: 47% 19% 13% 21%
[libx264 @ 0000000001fce080] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 17% 20%
5%  7%  7%  6%  6%  6%
[libx264 @ 0000000001fce080] i8c dc,h,v,p: 45% 26% 17% 12%
[libx264 @ 0000000001fce080] Weighted P-Frames: Y:0.9% UV:0.4%
[libx264 @ 0000000001fce080] ref P L0: 69.5% 13.4% 17.0%  0.0%
[libx264 @ 0000000001fce080] kb/s:516.23




On Sat, Nov 10, 2012 at 2:27 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Maxim Levkov <maxim.levkov <at> gmail.com> writes:
>
> > Sidepoint: Where do I file a bug?
>
> For bugs that are reproducible with ffmpeg (the application),
> but - in your case - not x264 (the cli interface of libx264),
> see http://ffmpeg.org/bugreports.html (but you can also report
> bugs here on the mailing list). Make sure to provide a
> command line together with complete, uncut console output
> and explain what is wrong with the output file.
> (And point to an input stream.)
> Bugs in x264 (no matter if they are reproducible with ffmpeg
> or not) should not be reported here.
>
> (Note that I do not completely understand your report and I
> have absolutely no idea whether there is a bug or in case
> there is a bug if it is in FFmpeg or x264.)
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list