[FFmpeg-user] New options -preset and -tune for x264 encoding
cholet at logilune.com
Tue Apr 19 00:22:41 CEST 2011
Le 18 avr. 2011 à 22:51, Lou a écrit :
> 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.
Thanks for the reply. So how does one go about specifying an x264 profile
now that those ffmpeg presets are gone? Should I pull an ealier version
and go back to using -vpre main?
More information about the ffmpeg-user