[FFmpeg-user] New options -preset and -tune for x264 encoding
Jonathan Isom
jeisom at gmail.com
Sat Apr 23 11:47:10 CEST 2011
On Tue, Apr 19, 2011 at 3:32 PM, Baptiste Coudurier
<baptiste.coudurier at gmail.com> wrote:
> On 04/18/2011 01:57 PM, Baptiste Coudurier wrote:
>> On 04/18/2011 01:51 PM, Lou wrote:
>>> On Mon, 18 Apr 2011 17:03:49 +0200
>>> Éric Cholet <cholet at logilune.com> wrote:
>>>
>>>> Le 18 avr. 2011 à 16:49, Eric Cholet a écrit :
>>>>> With freshly downloaded ffmpeg from git, I'm getting an error when
>>>>> trying to use the -profile option:
>>>>>
>>>>>
>>>>> % ffmpeg -i foo.mov -f mp4 -vcodec libx264 -ar 22050 -ac 2 -b 2500k
>>>>> -r 25 -preset medium -profile main foo.mp4
>>>>
>>>> Oops forgot to post the error message:
>>>>
>>>> [NULL @ 0x80240b200] [Eval @ 0x7fffffffd110] Undefined constant or
>>>> missing '(' in 'main' [NULL @ 0x80240b200] Unable to parse option
>>>> value "main" Invalid value 'main' for option 'profile'
>>>>
>>>>
>>>>>
>>>>> What am I doing wrong?
>>>> --
>>>> Éric Cholet
>>>
>>> You are doing nothing wrong. It was my mistake to mention -profile. It
>>> is listed in 'ffmpeg -h', but is not available yet.
>>>
>>> I like to verify my suggestions, but this time I didn't. This is what
>>> happens when I rely on memory as I previously tested the new options a
>>> month ago but apparently forgot that -profile wasn't usable yet.
>>
>> I'm on it, don't worry :)
>>
>
> All right, -profile should work now.
> Please report any problem.
As of commit 3d462373f8e8fa58b697a9b2d93a5edf70841937 I get
FFmpeg version git-N-29302-g3d46237, Copyright (c) 2000-2011 the
FFmpeg developers
built on Apr 23 2011 04:42:40 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-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. 0. 0 / 51. 0. 0
libavcodec 53. 1. 0 / 53. 1. 0
libavformat 53. 0. 1 / 53. 0. 1
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 0. 0 / 2. 0. 0
libswscale 0. 13. 0 / 0. 13. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpeg @ 0x1158ae0] max_analyze_duration reached
Input #0, mpeg, from '/tmp//Morning Show.tmp':
Duration: 00:45:02.61, start: 0.360000, bitrate: 3747 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480
[PAR 8:9 DAR 4:3], 15000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94
tbc
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Unrecognized option '-profile'
Later
Jonathan
> --
> Baptiste COUDURIER
> Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
> FFmpeg maintainer http://www.ffmpeg.org
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
More information about the ffmpeg-user
mailing list