X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fimg2enc.c;h=bec4bf81dde190d6dde75a1e7715b16629baf504;hb=112eb17a2bbf6d02f81fdf0743b353a6b010aedc;hp=a09cc8ec501e5a9a8426404890af9438ed467ef0;hpb=a12063b118ad05409ff775ba30fab00265ad3031;p=ffmpeg diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c index a09cc8ec501..bec4bf81dde 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); }