[FFmpeg-user] -crf ignored

David Overcash funnylookinhat at gmail.com
Wed Jun 1 17:57:13 CEST 2011


Ah yes - You should add, at minimum, -vpre normal

On Wed, Jun 1, 2011 at 9:56 AM, Etienne Buira
<etienne.buira.lists at free.fr>wrote:

> On Wed, Jun 01, 2011 at 03:09:30PM +0100, Paul Gardiner wrote:
> > Hi,
> > I've been using this command:
> >
> > ffmpeg -i <input file> -f mp4 -vcodec libx264 -crf 18.0 -acodec ac3 -ab
> > 160k <output file>
> >
> > and it works to some extent, but the report on stdout/stderr says
> > that it is using crf=23.0. The results support 23.0 being used,
> > plus if I change the value I pass in, it has no effect on the file
> > size or quality. Can anyone tell me what I'm doing wrongly? I
> > can easily supply more info if that helps.
> >
> > Paul.
>
> Hi.
>
> This is because of the weird way libx264 options are handled.
>
> You're best bet is to use presets (-preset, look at x264 --help to see
> which exists and what they do).
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list