[FFmpeg-user] [POSSIBLE BUG] Why I can't set -max_prediction_order parameter to its default value 8?

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jul 2 18:21:41 CEST 2014


Барт Гопник <bart.gopnik <at> gmail.com> writes:

> I compress pcm_s16le 44100 Hz 2 channels audio. Default 
> value of "-compression_level" parameter for "flac" 
> encoder is "5". This means that default value of 
> "-max_prediction_order" parameter for "flac" encoder is 
> "8".

Not if you set lpc_type to fixed.

> If I set "-lpc_type" parameter to value "fixed" and
> set "-min_prediction_order" parameter to value "0" all 
> is OK, but if I explicitly set also "-max_prediction_order" 
> parameter to its default value "8"

(Why do you believe that max_prediction_order defaults to 8?)

> FFMPEG says that "invalid max prediction order: 8". Why?

For lpc_type fixed, max_prediction_order is limited to 4.

Carl Eugen



More information about the ffmpeg-user mailing list