[FFmpeg-user] Overloaded command line option -profile in ffmpeg-0.9
Ross Alexander
Ross.Alexander at EMEA.NEC.COM
Mon Dec 12 18:25:13 CET 2011
Hello,
I've recently updated my ffmpeg from 0.8.7 to 0.9.0 and suffered from the syntax change to the command line. I can get around the changes to the -map but it seems that the -profile option is being picked up by both the libx264 and the libfaac codecs. Below is a copy of the command line and the resulting output.
mig27 17:22:14$ ffmpeg -i SVU.10.02.Confession.vob -vcodec libx264 -preset fast -tune film -profile main -crf 26 -map 0:0 -acodec libfaac -ab 128k -ac 2 -ar 44100 -map 0:1 -threads 8 -f mp4 -y out/SVU.10.02.Confession.mp4
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 12 2011 10:19:19 with gcc 4.6.2
configuration: --prefix=/usr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-gpl --enable-shared --enable-postproc --enable-libxvid --enable-pthreads --enable-nonfree --enable-libfaac --enable-libschroedinger --enable-libmp3lame
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpeg @ 0x9e23ac0] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from 'SVU.10.02.Confession.vob':
Duration: 26:30:43.84, start: 0.158067, bitrate: 166 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 9800 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
[buffer @ 0x9e28f60] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:64/45 sws_param:
[libx264 @ 0x9e2a220] using SAR=64/45
[libx264 @ 0x9e2a220] using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
[libx264 @ 0x9e2a220] profile Main, level 3.0
[libx264 @ 0x9e2a220] 264 - core 120 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:-1:-1 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=8 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=26.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[NULL @ 0x9e2aba0] [Eval @ 0xff9f1c38] Undefined constant or missing '(' in 'main'
[NULL @ 0x9e2aba0] Unable to parse option value "main"
[NULL @ 0x9e2aba0] Error setting option profile to value main.
Output #0, mp4, to 'out/SVU.10.02.Confession.mp4':
Stream #0:0: Video: h264, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=-1--1, 90k tbn, 25 tbc
Stream #0:1: Audio: none, 44100 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video -> libx264)
Stream #0:1 -> #0:1 (ac3 -> libfaac)
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
Many thanks,
Ross
More information about the ffmpeg-user
mailing list