[FFmpeg-cvslog] lavf/utils: suggest what to do in case of missing codec information

Stefano Sabatini git at videolan.org
Wed Jul 18 18:15:03 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Mon Jul 16 00:29:23 2012 +0200| [739ec710c4e89537f3eb327a1ebddb8ceb5f2256] | committer: Stefano Sabatini

lavf/utils: suggest what to do in case of missing codec information

In particular, fix trac issue #218.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=739ec710c4e89537f3eb327a1ebddb8ceb5f2256
---

 libavformat/utils.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 79e4f03..1fd7f75 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, errmsg);
             } else {
                 ret = 0;



More information about the ffmpeg-cvslog mailing list