Opened 14 years ago

Last modified 14 years ago

#1723 closed defect (invalid)

When audio is missing mplayer shouldn't wait for too long

Reported by: yuri@… Owned by: reimar
Priority: normal Component: core
Version: unspecified Severity: normal
Keywords: Cc: compn
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I have this situation: mms stream declares that there is one video and one audio. But looks like audio is missing. Mplayer waits for a few minutes for the audio packets, then it says: Too many video packets in the buffer: (4096 in 5070356 bytes). And plays video only. But looks like buffering is broken and it stops with this message:

read error:: Operation now in progress0 25%
pre-header read failed
V:2016543.2 4218/4218 1% 0% 0.0% 0 0 0%
Invalid frame duration value (2016543.248/-9223372036854775808.000 => -0.002). Defaulting to 0.040 sec.
V:2016543.2 4219/4219 1% 0% 0.0% 0 0 0%

Same stream in windows player just plays video without audio.

MPlayer shouldn't wait for so long. It should reduce wait for 1-2 secs and start playing and tell user what happened.

1.0.r20100117

Yuri

Change History (2)

comment:1 by yuri@…, 14 years ago

Here is the full log:
[yuri@eagle /usr/home/yuri/radio]$ /usr/local/bin/mplayer mms://bcast.tvr.by/video
MPlayer SVN-r30341-snapshot-4.2.1 (C) 2000-2009 MPlayer Team

Playing mms://bcast.tvr.by/video.
STREAM_ASF, URL: mms://bcast.tvr.by/video
Resolving bcast.tvr.by for AF_INET6...
Couldn't resolve name for AF_INET6: bcast.tvr.by
Resolving bcast.tvr.by for AF_INET...
Connecting to server bcast.tvr.by[195.137.160.60]: 1755...
Connected
unknown object
unknown object
file object, packet length = 1444 (1444)
unknown object
stream object, stream ID: 1
stream object, stream ID: 2
unknown object
unknown object
data object
mmst packet_length = 1444
Cache size set to 64 KBytes
Cache fill: 12.50% (8192 bytes)
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2

Too many video packets in the buffer: (4096 in 5124322 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ASF: No audio stream found -> no sound.
VIDEO: [WMV3] 480x360 24bpp 1000.000 fps 256.0 kbps (31.2 kbyte/s)
Clip info:

title:
author:
copyright:
comments:

==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 480x360 => 480x360 Planar YV12
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
Audio: no sound
Starting playback...
read error:: Operation now in progress0 25%
pre-header read failed
V:2017491.1 4239/4239 1% 0% 0.0% 0 0 0%

Exiting... (End of file)

comment:2 by compn, 14 years ago

Resolution: invalid
Status: newclosed, patriotact@gmail.com

cant access the mms stream
try mplayer ffmpeg://mms://bcast.tvr.by/video

Note: See TracTickets for help on using tickets.