[FFmpeg-user] h264 timebase question

Stuart Bruce stuartrbruce at gmail.com
Tue Dec 31 13:00:53 CET 2013


On 31/12/2013 10:57, Carl Eugen Hoyos wrote:
> Stuart Bruce <stuartrbruce <at> gmail.com> writes:
>
>> -i "[source file]" -s 640x360 -pix_fmt yuv420p -vcodec libx264
>> -acodec pcm_s16be -b:v 768k -ar 44100 -profile:v main -level 3.1
>> -force_key_frames expr:gte(t,n_forced) -bf 0 -ac 1 -threads 4 -y
>> "[output file]"
> Complete, uncut console output missing.
>
> Carl Eugen
>
My apologies. Here it is (below). Any suggestions very welcome.

Stuart



FFmpeg log 31/12/2013 09:58:42
exe:D:\Hybrid\Hybrid\bin\Debug\FFmpeg\ffmpeg.exe
arguments:
-i "E:\Temp\S080_20Dec13_V038 locked SaS.mov" -s 640x360 -pix_fmt 
yuv420p -vcodec libx264 -acodec pcm_s16be -b:v 768k -ar 44100 -profile:v 
main -level 3.1 -force_key_frames expr:gte(t,n_forced) -bf 0 -ac 1 
-threads 4 -y "E:\Temp\S080_20Dec13_V038 locked SaS_converted_2.mov"

ffmpeg version N-53868-gc51654f Copyright (c) 2000-2013 the FFmpeg 
developers
   built on Jun  6 2013 03:00:45 with gcc 4.7.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r 
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray 
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc 
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus 
--enable-librtmp --enable-libschroedinger --enable-libsoxr 
--enable-libspeex --enable-libtheora --enable-libtwolame 
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis 
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid 
--enable-zlib
   libavutil      52. 35.100 / 52. 35.100
   libavcodec     55. 15.100 / 55. 15.100
   libavformat    55.  8.102 / 55.  8.102
   libavdevice    55.  2.100 / 55.  2.100
   libavfilter     3. 75.101 /  3. 75.101
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\Temp\S080_20Dec13_V038 
locked SaS.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2013-12-24 09:15:03
     timecode        : 01:00:00:00
   Duration: 00:01:09.63, start: 0.000000, bitrate: 38480 kb/s
     Stream #0:0(eng): Video: dnxhd (AVdn / 0x6E645641), yuv422p, 
1920x1080, 36175 kb/s, 24 fps, 24 tbr, 24k tbn, 24k tbc
     Metadata:
       creation_time   : 2013-12-24 09:15:03
       handler_name    : Apple Alias Data Handler
     Stream #0:1(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz, 
stereo, s32, 2304 kb/s
     Metadata:
       creation_time   : 2013-12-24 09:15:03
       handler_name    : Apple Alias Data Handler
     Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
     Metadata:
       creation_time   : 2013-12-24 09:15:18
       handler_name    : Apple Alias Data Handler
       timecode        : 01:00:00:00
[libx264 @ 044776e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 044776e0] profile Main, level 3.1
[libx264 @ 044776e0] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4 AVC 
codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - 
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 
8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=4 
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 
bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=250 
keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr 
mbtree=1 bitrate=768 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 
ip_ratio=1.40 aq=1:1.00
Output #0, mov, to 'E:\Temp\S080_20Dec13_V038 locked SaS_converted_2.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     timecode        : 01:00:00:00
     encoder         : Lavf55.8.102
     Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), 
yuv420p, 640x360, q=-1--1, 768 kb/s, 12288 tbn, 24 tbc
     Metadata:
       creation_time   : 2013-12-24 09:15:03
       handler_name    : Apple Alias Data Handler
     Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 44100 Hz, 
mono, s16, 705 kb/s
     Metadata:
       creation_time   : 2013-12-24 09:15:03
       handler_name    : Apple Alias Data Handler
Stream mapping:
   Stream #0:0 -> #0:0 (dnxhd -> libx264)
   Stream #0:1 -> #0:1 (pcm_s24be -> pcm_s16be)
Press [q] to stop, [?] for help
frame=  111 fps=0.0 q=19.0 size=     376kB time=00:00:05.77 bitrate= 
532.9kbits/s
frame=  198 fps=197 q=25.0 size=    1194kB time=00:00:09.41 
bitrate=1039.4kbits/s
frame=  286 fps=190 q=25.0 size=    1919kB time=00:00:13.07 
bitrate=1202.2kbits/s
frame=  392 fps=195 q=25.0 size=    2697kB time=00:00:17.48 
bitrate=1263.5kbits/s
frame=  497 fps=197 q=24.0 size=    3483kB time=00:00:21.87 
bitrate=1304.4kbits/s
frame=  595 fps=197 q=22.0 size=    4262kB time=00:00:25.94 
bitrate=1345.8kbits/s
frame=  703 fps=199 q=24.0 size=    5071kB time=00:00:30.45 
bitrate=1363.9kbits/s
frame=  810 fps=201 q=24.0 size=    5869kB time=00:00:34.90 
bitrate=1377.4kbits/s
frame=  917 fps=202 q=21.0 size=    6653kB time=00:00:39.35 
bitrate=1384.6kbits/s
frame= 1009 fps=201 q=26.0 size=    7578kB time=00:00:43.19 
bitrate=1437.2kbits/s
frame= 1102 fps=199 q=25.0 size=    8278kB time=00:00:47.06 
bitrate=1440.7kbits/s
frame= 1212 fps=201 q=25.0 size=    9042kB time=00:00:51.64 
bitrate=1434.1kbits/s
frame= 1318 fps=202 q=24.0 size=    9826kB time=00:00:56.07 
bitrate=1435.5kbits/s
frame= 1432 fps=204 q=24.0 size=   10568kB time=00:01:00.82 
bitrate=1423.2kbits/s
frame= 1525 fps=202 q=24.0 size=   11338kB time=00:01:04.70 
bitrate=1435.5kbits/s
frame= 1629 fps=203 q=24.0 size=   12096kB time=00:01:09.02 
bitrate=1435.5kbits/s
frame= 1671 fps=201 q=-1.0 Lsize=   12801kB time=00:01:09.62 
bitrate=1506.1kbits/s

video:6766kB audio:5997kB subtitle:0 global headers:0kB muxing overhead 
0.297578%
[libx264 @ 044776e0] frame I:102   Avg QP:15.59  size: 55376
[libx264 @ 044776e0] frame P:1569  Avg QP:24.42  size:   815
[libx264 @ 044776e0] mb I  I16..4: 11.6%  0.0% 88.4%
[libx264 @ 044776e0] mb P  I16..4:  0.1%  0.0%  1.1%  P16..4:  1.3% 
0.5%  0.4%  0.0%  0.0%    skip:96.6%
[libx264 @ 044776e0] final ratefactor: 17.64
[libx264 @ 044776e0] coded y,uvDC,uvAC intra: 95.5% 64.7% 56.7% inter: 
1.1% 0.7% 0.2%
[libx264 @ 044776e0] i16 v,h,dc,p: 14% 39% 33% 14%
[libx264 @ 044776e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 14% 13%  8% 9% 
11%  7% 10%  8%
[libx264 @ 044776e0] i8c dc,h,v,p: 61% 22% 13%  3%
[libx264 @ 044776e0] Weighted P-Frames: Y:0.1% UV:0.1%
[libx264 @ 044776e0] ref P L0: 69.9% 12.4% 10.2%  7.4%  0.1%
[libx264 @ 044776e0] kb/s:795.95

-- 
Stuart Bruce
stuart at stuartbruce.co.uk



More information about the ffmpeg-user mailing list