[FFmpeg-trac] #1320(avformat:new): ffplay hang in avformat_find_stream_info
FFmpeg
trac at avcodec.org
Sat May 19 04:03:19 CEST 2012
#1320: ffplay hang in avformat_find_stream_info
----------------------------------+--------------------------------------
Reporter: qrtt1 | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
I try to play the streaming url:
./ffplay http://nextmedia-f.akamaihd.net/nexttvlive_1_300@49187
It stuck when invoke avformat_find_stream_info.
My ffplay is built from the latest source code:
4d3787763218de4c3e838b31f0fb2153b8d6af20
I verify it by adding log message:
{{{
diff --git a/ffplay.c b/ffplay.c
index 3c5ef68..050398b 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2499,7 +2499,9 @@ static int read_thread(void *arg)
opts = setup_find_stream_info_opts(ic, codec_opts);
orig_nb_streams = ic->nb_streams;
+ fprintf(stderr, "before find info\n");
err = avformat_find_stream_info(ic, opts);
+ fprintf(stderr, "after find info\n");
if (err < 0) {
fprintf(stderr, "%s: could not find codec parameters\n",
is->filename);
ret = -1;
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1320>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list