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

Lou lou at fakeoutdoorsman.com
Mon Apr 18 22:51:28 CEST 2011


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.


More information about the ffmpeg-user mailing list