[FFmpeg-trac] #387(avcodec:new): ffmpeg '-profile baseline' no longer works with libx264

FFmpeg trac at avcodec.org
Wed Aug 10 03:48:50 CEST 2011


#387: ffmpeg '-profile baseline' no longer works with libx264
------------------------+-------------------------
 Reporter:  rectalogic  |        Type:  defect
   Status:  new         |    Priority:  normal
Component:  avcodec     |     Version:  git-master
 Keywords:              |  Blocked By:
 Blocking:              |  Reproduced:  0
 Analyzed:  0           |
------------------------+-------------------------
 Recent ffmpeg seems to be parsing the libavcodec/libx264.c "-profile"
 codec option as the "-profile" option defined in libavcodec/options.c

 So "-profile baseline" is eval'ed and fails to parse.
 {{{
 $ ./ffmpeg -i /tmp/in.avi -vcodec libx264 -profile baseline -y
 /tmp/out.mp4                                        ffmpeg version
 N-31788-g0d4ea7b, Copyright (c) 2000-2011 the FFmpeg developers
   built on Aug 10 2011 01:45:04 with gcc 4.4.3
   configuration: --extra-cflags=-I/opt/motionbox/foundation/6.2.2-2
 -gee5a36a-dirty/include --extra-
 ldflags=-L/opt/motionbox/foundation/6.2.2-2-gee5a36a-dirty/lib --enable-
 libx264 --enable-gpl
   libavutil    51. 11. 1 / 51. 11. 1
   libavcodec   53. 10. 0 / 53. 10. 0
   libavformat  53.  6. 0 / 53.  6. 0
   libavdevice  53.  2. 0 / 53.  2. 0
   libavfilter   2. 28. 1 /  2. 28. 1
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 Input #0, avi, from '/tmp/in.avi':
   Duration: 00:00:29.98, start: 0.000000, bitrate: 40887 kb/s
     Stream #0.0: Video: fraps, yuvj420p, 640x512, 60 fps, 60 tbr, 60 tbn,
 60 tbc
     Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
 [buffer @ 0x2bd0680] w:640 h:512 pixfmt:yuvj420p tb:1/1000000 sar:0/1
 sws_param:
 [libx264 @ 0x2bcee80] Default settings detected, using medium profile
 [libx264 @ 0x2bcee80] using cpu capabilities: MMX2 SSE2Fast SSSE3
 FastShuffle SSE4.2
 [libx264 @ 0x2bcee80] profile Constrained Baseline, level 3.1
 [libx264 @ 0x2bcee80] 264 - core 116 0b9c261 - H.264/MPEG-4 AVC codec -
 Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=0
 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=1
 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 [NULL @ 0x2bd5e60] [Eval @ 0x7fffa8a577d0] Undefined constant or missing
 '(' in 'baseline'
 [NULL @ 0x2bd5e60] Unable to parse option value "baseline"
 [NULL @ 0x2bd5e60] Error setting option profile to value baseline.
 Output #0, mp4, to '/tmp/out.mp4':
     Stream #0.0: Video: libx264, yuvj420p, 640x512, q=2-31, 200 kb/s, 90k
 tbn, 60 tbc
     Stream #0.1: Audio: aac, 44100 Hz, 2 channels, s16, 64 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0
   Stream #0.1 -> #0.1
 Error while opening encoder for output stream #0.1 - maybe incorrect
 parameters such as bit_rate, rate, width or height
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/387>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list