Commit eb11cca5 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: document alternative to the lossless libx264 presets

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a96b171d
......@@ -4107,7 +4107,10 @@ static int opt_preset(OptionsContext *o, const char *opt, const char *arg)
subtitle_codec_name;
if (!(f = get_preset_file(filename, sizeof(filename), arg, *opt == 'f', codec_name))) {
fprintf(stderr, "File for preset '%s' not found\n", arg);
if(!strncmp(arg, "libx264-lossless", strlen("libx264-lossless"))){
fprintf(stderr, "Please use -preset <speed> -qp 0\n");
}else
fprintf(stderr, "File for preset '%s' not found\n", arg);
exit_program(1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment