ross <[email protected]> added the comment:

r...@ross-desktop:/media/media/0001_libschro/original/yuv$ ffmpeg -i input.y4m
-an -vcodec libx264 -vpre medium -crf 15 -threads 0 -vstats out.mkv
FFmpeg version SVN-r25392, Copyright (c) 2000-2010 the FFmpeg developers
  built on Oct  7 2010 15:26:04 with gcc 4.4.3
  configuration: --enable-gpl --enable-version3 --enable-nonfree
--enable-postproc --enable-libfaac --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
--enable-x11grab --enable-libschroedinger
  libavutil     50.32. 2 / 50.32. 2
  libavcore      0. 9. 1 /  0. 9. 1
  libavcodec    52.92. 0 / 52.92. 0
  libavformat   52.80. 0 / 52.80. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.48. 0 /  1.48. 0
  libswscale     0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[yuv4mpegpipe @ 0x258f470] Estimating duration from bitrate, this may be 
inaccurate
Input #0, yuv4mpegpipe, from 'input.y4m':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: rawvideo, yuv420p, 1920x1080, 30 tbr, 30 tbn, 30 tbc
[buffer @ 0x2593a30] w:1920 h:1080 pixfmt:yuv420p
[libx264 @ 0x2590e60] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0x2590e60] profile High, level 4.0
[libx264 @ 0x2590e60] 264 - core 106 r1732 b20059a - H.264/MPEG-4 AVC codec -
Copyleft 2003-2010 - 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 sliced_threads=0 nr=0 decimate=1
interlaced=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=15.0 qcomp=0.60 qpmin=10
qpmax=51 qpstep=4 ip_ratio=1.41 aq=1:1.00
Output #0, matroska, to 'out.mkv':
  Metadata:
    encoder         : Lavf52.80.0
    Stream #0.0: Video: libx264, yuv420p, 1920x1080, q=10-51, 200 kb/s, 1k tbn,
30 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding



frame=  570 fps=  3 q=-1.0 Lsize=  128520kB time=18.93 bitrate=55608.7kbits/s  
 s/s    




r...@ross-desktop:/media/media/0001_libschro/original/yuv$
r...@ross-desktop:/media/media/0001_libschro/original/yuv$ tail 
vstats_155130.log 
frame=   570 q= 20.0 f_size= 172312 s_size=   117122kB time= 19.000 br=
41354.9kbits/s avg_br= 50498.0kbits/s type= B


Conclusion:


bitrate=55608.7kbits/s != avg_br= 50498.0kbits/s

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2248>
________________________________________________

Reply via email to