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

Éric Cholet cholet at logilune.com
Mon Apr 18 17:03:49 CEST 2011


Le 18 avr. 2011 à 16:49, Eric Cholet a écrit :

>>> Latest git has now added 2 new options for libx264 encoding:
>>> -preset <preset>
>>> -tune <tune>
>> 
>> Also:
>> -profile
>> 
>> Such as:
>> -profile baseline
>> 
> 
> 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






More information about the ffmpeg-user mailing list