Opened 12 years ago

Last modified 12 years ago

#1625 open defect

avformat_find_stream_info waits for non-existing video track in mms stream

Reported by: lagrangee Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mmst
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

url: mms://live.rgd.com.cn/993

stuck on avformat_find_stream_info

version: 0.11.1

Change History (3)

comment:1 by Carl Eugen Hoyos, 12 years ago

Keywords: mmst added
Status: newopen
Version: 0.11.1git-master

Does not hang forever, but timestamps are incorrect, A/V sync is impossible, only audio is played.

$ ffplay mmst://live.rgd.com.cn/993
ffplay version N-43375-g5d8e54f Copyright (c) 2003-2012 the FFmpeg developers
  built on Aug  9 2012 07:54:23 with gcc 4.3.2 (GCC)
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-x11grab --enable-libass --enable-nonfree --enable-libfaac --enable-libopus --enable-libfdk-aac
  libavutil      51. 67.100 / 51. 67.100
  libavcodec     54. 51.100 / 54. 51.100
  libavformat    54. 22.103 / 54. 22.103
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  7.100 /  3.  7.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[asf @ 0x914baa0] Stream #1: not enough frames to estimate rate; consider increasing probesize
[asf @ 0x914baa0] Estimating duration from bitrate, this may be inaccurate
Input #0, asf, from 'mmst://live.rgd.com.cn/993':
  Metadata:
    title           : 广东电台音乐之声
    copyright       : 广东人民广播电台
    comment         : 广东电台音乐之声
    WMFSDKVersion   : 10.00.00.3997
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: N/A, start: 1839042.670000, bitrate: 44 kb/s
    Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 22050 Hz, 2 channels, s16, 32 kb/s
    Stream #0:1(chi): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 160x120, 12 kb/s, 1k tbr, 1k tbn, 1k tbc

comment:2 by Carl Eugen Hoyos, 12 years ago

Plays fast with:
$ ffplay -probesize 10k mmst://live.rgd.com.cn/993

There may be no video at all in the stream.

comment:3 by Carl Eugen Hoyos, 12 years ago

Summary: ffplay got stuck on avformat_find_stream_infoavformat_find_stream_info waits for non-existing video track in mms stream

The stream does not contain any video.

Note: See TracTickets for help on using tickets.