[FFmpeg-user] x264 and profile flag no longer working

Jonathan Isom jeisom at gmail.com
Mon Aug 22 17:46:01 CEST 2011


Using the -profile flag not longer works.  Any changes to the command
that I'm unaware or is this a bug?

command :
ffmpeg -i /tmp/tmp.avi -y -vcodec libx264 -profile baseline -preset
medium -threads 2  -b 900000 -acodec libfaac -ac 2 -ab 128000 -f mp4
-s 848x480 /tmp/tmp.mp4

Error:

[NULL @ 0xf46020] [Eval @ 0x7fffa7c6c2f0] Undefined constant or
missing '(' in 'baseline'
[NULL @ 0xf46020] Unable to parse option value "baseline"
[NULL @ 0xf46020] Error setting option profile to value baseline.

Full Output:

ffmpeg version N-32033-gff96098, Copyright (c) 2000-2011 the FFmpeg developers
  built on Aug 21 2011 08:45:16 with gcc 4.5.2
  configuration: --prefix=/usr --libdir=/usr/lib64
--shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared
--cc=x86_64-pc-linux-gnu-gcc --disable-static --enable-gpl
--enable-version3 --enable-postproc --enable-avfilter
--disable-stripping --disable-debug --disable-doc --enable-libmp3lame
--enable-encoder=mp2 --enable-encoder=ac3 --enable-libvorbis
--enable-libx264 --enable-libfaac --enable-nonfree --disable-indev=v4l
--disable-indev=oss --disable-indev=jack --enable-x11grab
--disable-outdev=oss --enable-pthreads --disable-ssse3
--disable-altivec --cpu=amdfam10 --enable-hardcoded-tables
  libavutil    51. 13. 0 / 51. 13. 0
  libavcodec   53. 11. 0 / 53. 11. 0
  libavformat  53.  9. 0 / 53.  9. 0
  libavdevice  53.  3. 0 / 53.  3. 0
  libavfilter   2. 34. 1 /  2. 34. 1
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mpeg2video @ 0xc5f280] allocate dummy last picture for field based
first keyframe
[mpeg2video @ 0xc5f280] ac-tex damaged at 0 16
Input #0, avi, from '/tmp.test.avi':
  Metadata:
    encoder         : MEncoder 33951-4.5.2
  Duration: 00:25:32.83, start: 0.000000, bitrate: 2755 kb/s
    Stream #0.0: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27
DAR 16:9], 8500 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc
    Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s
[buffer @ 0xd52b70] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:32/27 sws_param:
[scale @ 0xc5f0b0] w:720 h:480 fmt:yuv420p -> w:854 h:480 fmt:yuv420p flags:0x4
[libx264 @ 0xc5cdd0] using SAR=32/27
[libx264 @ 0xc5cdd0] using cpu capabilities: MMX2 SSE2Fast FastShuffle
SSEMisalign LZCNT
[libx264 @ 0xc5cdd0] profile Constrained Baseline, level 3.1
[libx264 @ 0xc5cdd0] 264 - core 116 r2057 0ba8a9c - 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=2 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=abr
mbtree=1 bitrate=900 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
ip_ratio=1.40 aq=1:1.00
[NULL @ 0xc9f020] [Eval @ 0x7ffffb7df610] Undefined constant or
missing '(' in 'baseline'
[NULL @ 0xc9f020] Unable to parse option value "baseline"
[NULL @ 0xc9f020] Error setting option profile to value baseline.
Output #0, mp4, to '/tmp/tmp.mp4':
    Stream #0.0: Video: libx264, yuv420p, 854x480 [SAR 32:27 DAR
854:405], q=2-31, 900 kb/s, 90k tbn, 29.97 tbc
    Stream #0.1: Audio: libfaac, 48000 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


More information about the ffmpeg-user mailing list