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

Lou lou at fakeoutdoorsman.com
Tue Apr 19 00:41:07 CEST 2011


On Tue, 19 Apr 2011 00:22:41 +0200
Éric Cholet <cholet at logilune.com> wrote:

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

You can pull an earlier version if you need to encode immediately:
cd ~/ffmpeg
make distclean
git checkout abf8342aa94bdf06bb324f6723a6743dd628d5c6
./configure, make, install, etc
make distclean
git checkout master
git pull

(I didn't test this)

or you could wait a little while. I would guess no more than a day or
two for profile to be added.


More information about the ffmpeg-user mailing list