aboutsummaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer2011-09-26 22:02:13 +0200
committerMichael Niedermayer2011-09-26 22:06:39 +0200
commiteb11cca53002abd813b3e9643ae194c1335d6d81 (patch)
treef6db735815c54a114b931279b904689b0f0e254d /ffmpeg.c
parenta96b171d6cb2129b15cadf99833c61187c1ebded (diff)
ffmpeg: document alternative to the lossless libx264 presets
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index baa9b46748..ac1d51b995 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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);
}