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

Éric Cholet cholet at logilune.com
Thu Apr 21 08:12:03 CEST 2011


Le 19 avr. 2011 à 22:32, Baptiste Coudurier a écrit :

> 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.

Indeed works like a charm, thanks a lot.

--
Éric Cholet






More information about the ffmpeg-user mailing list