[FFmpeg-user] New options -preset and -tune for x264 encoding

Baptiste Coudurier baptiste.coudurier at gmail.com
Tue Apr 19 22:32:45 CEST 2011


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.

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org


More information about the ffmpeg-user mailing list