[FFmpeg-devel] [PATCH] lavf/utils: suggest what to do in case of missing codec information
Stefano Sabatini
stefasab at gmail.com
Mon Jul 16 00:31:08 CEST 2012
In particular, fix trac issue #218.
---
libavformat/utils.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 74b6746..a7ecb89 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2721,7 +2721,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
char buf[256];
avcodec_string(buf, sizeof(buf), st->codec, 0);
av_log(ic, AV_LOG_WARNING,
- "Could not find codec parameters for stream '%s': %s\n"
+ "Could not find codec parameters for stream '%s': %s.\n"
+ "Consider increasing the value for the 'analyzeduration' and 'probesize' options\n",
buf, errbuf);
} else {
ret = 0;
--
1.7.5.4
More information about the ffmpeg-devel
mailing list