Changes between Version 1 and Version 2 of Ticket #387, comment 6


Ignore:
Timestamp:
Aug 30, 2011, 4:43:07 AM (8 years ago)
Author:
patronanejo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #387, comment 6

    v1 v2  
    11As a practical matter, would it be insufficient to have ''ffmpeg'' pass '''-coder 0''' to ''x264''? Unless you intend to apply CABAC-dependent features, turning off entropy coding is one way to access baseline profile.
     2
     3----
     4'''EDIT''': Oops, ''this isn't working'' for me!  I'm using ''ffmpeg version N-32071-g276f43b'', Copyright (c) 2000-2011 the FFmpeg developers, built on Aug 23 2011 11:01:40 with gcc 4.6.1 using ''x264 git-392e7621''. Accessed from ''http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-git-276f43b-win32-static.7z''
     5
     6----
     7
     8F:\Formula One\Week XII - Spa-Francorchamps - 28.08.2011>ffmpeg -i "Formula_1_
     9-_2011_The_Belgian_Grand_Prix.flv" -s hd480 -vcodec libx264 -acodec copy -coder 0 "F:\Formula One\Week XII - Spa-Francorchamps -
     10 28.08.2011\F1.Test.mp4"
     11ffmpeg version N-32071-g276f43b, Copyright (c) 2000-2011 the FFmpeg developers
     12
     13  built on Aug 23 2011 11:01:40 with gcc 4.6.1
     14  configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enabl
     15e-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-
     16libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-lib
     17gsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschr
     18oedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv
     19px --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     20  libavutil    51. 13. 0 / 51. 13. 0
     21  libavcodec   53. 11. 0 / 53. 11. 0
     22  libavformat  53.  9. 0 / 53.  9. 0
     23  libavdevice  53.  3. 0 / 53.  3. 0
     24  libavfilter   2. 34. 2 /  2. 34. 2
     25  libswscale    2.  0. 0 /  2.  0. 0
     26  libpostproc  51.  2. 0 / 51.  2. 0
     27[flv @ 01A6A020] Estimating duration from bitrate, this may be inaccurate
     28Input #0, flv, from 'Formula_1_-_2011_The_Belgian_Grand_Prix.flv':
     29  Metadata:
     30    duration        : 12159
     31    moovPosition    : 2275431702
     32    width           : 832
     33    height          : 468
     34    videocodecid    : avc1
     35    audiocodecid    : mp4a
     36    avcprofile      : 77
     37    avclevel        : 30
     38    aacaot          : 2
     39    videoframerate  : 25
     40    audiosamplerate : 24000
     41    audiochannels   : 2
     42  Duration: 03:22:38.89, start: 0.000000, bitrate: N/A
     43    Stream #0.0: Video: h264 (Main), yuv420p, 832x468 [SAR 117:117 DAR 16:9],
     4425 tbr, 1k tbn, 50 tbc
     45    Stream #0.1: Audio: aac, 48000 Hz, stereo, s16
     46[buffer @ 01A6FFA0] w:832 h:468 pixfmt:yuv420p tb:1/1000000 sar:117/117 sws_pa
     47ram:
     48[scale @ 037981E0] w:832 h:468 fmt:yuv420p -> w:852 h:480 fmt:yuv420p flags:0x
     494
     50[libx264 @ 034B0060] using SAR=1/1
     51[libx264 @ 034B0060] using cpu capabilities: MMX2 SSE2Slow SlowCTZ
     52'''[libx264 @ 034B0060] profile High, level 3.0'''
     53[libx264 @ 034B0060] 264 - core 116 r2044 392e762 - H.264/MPEG-4 AVC codec - C
     54opyleft 2003-2011 - http://www.videolan.org/x264.html - options: '''cabac=1''' ref=3
     55 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_r
     56ef=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pski
     57p=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=
     580 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0
     59 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40
     60intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qp
     61max=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
     62Output #0, mp4, to 'F:\Formula One\Week XII - Spa-Francorchamps - 28.08.2011\F
     631.Test.mp4':
     64  Metadata:
     65    duration        : 12159
     66    moovPosition    : 2275431702
     67    width           : 832
     68    height          : 468
     69    videocodecid    : avc1
     70    audiocodecid    : mp4a
     71    avcprofile      : 77
     72    avclevel        : 30
     73    aacaot          : 2
     74    videoframerate  : 25
     75    audiosamplerate : 24000
     76    audiochannels   : 2
     77    encoder         : Lavf53.9.0
     78    Stream #0.0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 852x480 [SAR 117:
     79117 DAR 71:40], q=2-31, 25 tbn, 25 tbc
     80    Stream #0.1: Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, stereo
     81Stream mapping:
     82  Stream #0.0 -> #0.0: h264 -> libx264
     83  Stream #0.1 -> #0.1: copy
     84Press [q] to stop, [?] for help
     85frame=   37 fps=  0 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits
     86frame=   44 fps= 43 q=31.0 size=       1kB time=00:00:00.04 bitrate= 176.8kbit
     87frame=   54 fps= 34 q=28.0 size=       7kB time=00:00:00.44 bitrate= 125.0kbit
     88frame=   60 fps= 27 q=28.0 size=      18kB time=00:00:00.68 bitrate= 211.1kbit
     89frame=   64 fps= 23 q=28.0 size=      26kB time=00:00:00.84 bitrate= 255.6kbit
     90frame=   69 fps= 21 q=28.0 size=      35kB time=00:00:01.04 bitrate= 275.7kbit
     91frame=   74 fps= 19 q=28.0 size=      45kB time=00:00:01.24 bitrate= 294.5kbit
     92frame=   79 fps= 18 q=28.0 size=      52kB time=00:00:01.44 bitrate= 298.4kbit
     93frame=   82 fps= 16 q=28.0 size=      62kB time=00:00:01.56 bitrate= 326.0kbit
     94frame=   86 fps= 16 q=28.0 size=      74kB time=00:00:01.72 bitrate= 352.2kbit
     95frame=   90 fps= 15 q=28.0 size=      84kB time=00:00:01.88 bitrate= 365.9kbit
     96frame=   94 fps= 14 q=28.0 size=     109kB time=00:00:02.04 bitrate= 437.1kbit
     97frame=   96 fps= 13 q=28.0 size=     127kB time=00:00:02.12 bitrate= 489.6kbit
     98frame=   98 fps= 12 q=28.0 size=     166kB time=00:00:02.20 bitrate= 619.4kbit
     99s/s dup=1 drop=0