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

FFmpeg trac at avcodec.org
Wed Aug 10 12:04:46 CEST 2011


#387: ffmpeg '-profile baseline' no longer works with libx264
-----------------------+----------------------
Reporter:  rectalogic  |       Owner:
    Type:  defect      |      Status:  open
Priority:  normal      |   Component:  avcodec
 Version:  git-master  |  Resolution:
Keywords:              |  Blocked By:
Blocking:              |  Reproduced:  0
Analyzed:  0           |
-----------------------+----------------------

Comment (by styleproject):

 I don't have a linux machine right now, but same problem here with the
 latest packaged Windows x64 static build (N-31774-g6c4e9ca).  But it works
 fine if I turn off audio transcoding with "-an"

 {{{
 C:\Users\user\Desktop>ffmpeg -i d:\video\test.avi -acodec aac -ab 192k
 -vcodec l
 ibx264 -profile baseline -crf 21 -level 30 -f ipod -s 320x136 -y -t 720
 -strict
 experimental "test.m4v"
 ffmpeg version N-31774-g6c4e9ca, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Aug  6 2011 22:25:16 with gcc 4.6.1
   configuration: --enable-gpl --enable-version3 --enable-memalign-hack
 --enable-
 runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
 --enable-libo
 pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-
 libgsm --
 enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-
 libschroedinger
  --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
 --enabl
 e-libx264 --enable-libxavs --enable-libxvid --enable-zlib
   libavutil    51. 11. 1 / 51. 11. 1
   libavcodec   53.  9. 1 / 53.  9. 1
   libavformat  53.  6. 0 / 53.  6. 0
   libavdevice  53.  2. 0 / 53.  2. 0
   libavfilter   2. 28. 0 /  2. 28. 0
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 Input #0, avi, from 'd:\video\test.avi':
   Duration: 01:58:28.89, start: 0.000000, bitrate: 1560 kb/s
     Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 720x306
 [SAR 1
 :1 DAR 40:17], 23.98 tbr, 23.98 tbn, 23.98 tbc
     Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
 [buffer @ 0000000001961380] w:720 h:306 pixfmt:yuv420p tb:1/1000000
 sar:1/1 sws_
 param:
 [scale @ 0000000001A23200] w:720 h:306 fmt:yuv420p -> w:320 h:136
 fmt:yuv420p fl
 ags:0x4
 [libx264 @ 0000000001A5D000] Default settings detected, using medium
 profile
 [libx264 @ 0000000001A5D000] using SAR=1/1
 [libx264 @ 0000000001A5D000] using cpu capabilities: MMX2 SSE2Fast SSSE3
 Cache64

 [libx264 @ 0000000001A5D000] profile Constrained Baseline, level 3.0
 [libx264 @ 0000000001A5D000] 264 - core 116 r2044 392e762 - H.264/MPEG-4
 AVC cod
 ec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options:
 cabac=0 r
 ef=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_pski
 p=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=23
  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 @ 0000000001A5E780] [Eval @ 000000000022EA30] Undefined constant or
 missin
 g '(' in 'baseline'
 [NULL @ 0000000001A5E780] Unable to parse option value "baseline"
 [NULL @ 0000000001A5E780] Error setting option profile to value baseline.
 Output #0, ipod, to 'test.m4v':
     Stream #0.0: Video: libx264, yuv420p, 320x136 [SAR 1:1 DAR 40:17],
 q=2-31, 2
 00 kb/s, 90k tbn, 23.98 tbc
     Stream #0.1: Audio: aac, 48000 Hz, stereo, s16, 192 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#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list