diff options
author | Lou Logan <lou@lrcd.com> | 2019-01-14 15:14:48 -0900 |
---|---|---|
committer | Lou Logan <lou@lrcd.com> | 2019-01-22 10:59:10 -0900 |
commit | d92f06eb6663dce8cb8942a1314f736a07f255e0 (patch) | |
tree | 18f87d0f1a2f884c9f9f8691e47ec13aeb674a1a /libavformat/img2enc.c | |
parent | 1b126ec4087ab5d87d413116bee666495b0d2d3e (diff) | |
download | ffmpeg-d92f06eb6663dce8cb8942a1314f736a07f255e0.tar.gz |
avformat/img2enc: mention -frames:v in error message
Signed-off-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Kieran O Leary <kieran.o.leary@gmail.com>
Diffstat (limited to 'libavformat/img2enc.c')
-rw-r--r-- | libavformat/img2enc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c index a09cc8ec50..bec4bf81dd 100644 --- a/libavformat/img2enc.c +++ b/libavformat/img2enc.c @@ -110,7 +110,8 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) AV_FRAME_FILENAME_FLAGS_MULTIPLE) < 0 && img->img_number > 1) { av_log(s, AV_LOG_ERROR, - "Could not get frame filename number %d from pattern '%s' (either set update or use a pattern like %%03d within the filename pattern)\n", + "Could not get frame filename number %d from pattern '%s'. " + "Use '-frames:v 1' for a single image, or '-update' option, or use a pattern such as %%03d within the filename.\n", img->img_number, img->path); return AVERROR(EINVAL); } |