Bug#740421: mpv: Really slow to start playing audio stream

Kurt Roeckx kurt at roeckx.be
Sat Mar 1 12:38:46 UTC 2014


Package: mpv
Version: 0.3.5-1

Hi,

When using mpv to play an audio stream I get:
$ mpv http://mp3.streampower.be/radio1.aac
Playing: http://mp3.streampower.be/radio1.aac
[cache] Cache size set to 320 KiB
Cache fill: 20.62% (67584 bytes)   
[cache] Cache is not responding - slow/stuck network connection?
[cache] Cache keeps not responding.
[cache] Cache is not responding - slow/stuck network connection?
[cache] Cache keeps not responding.
[cache] Cache is not responding - slow/stuck network connection?
[cache] Cache is not responding - slow/stuck network connection?
[libav/audio] aac: get_buffer() failed
[libav/demuxer] aac: max_analyze_duration reached
[libav/demuxer] aac: Estimating duration from bitrate, this may be inaccurate
Detected file format: raw ADTS AAC (Advanced Audio Coding) (libavformat)
File is not seekable, but there's a cache: enabling seeking.
[stream] Audio (+) --aid=1 (aac)
Video: no video
[libav/audio] aac: invalid band type
Selected audio codec: AAC (Advanced Audio Coding) [lavc:aac]
AO: [alsa] 48000Hz stereo 2ch floatp
A: 00:01:03 / 00:00:00 (0%) Cache: 47%

It gets to this "Cache fill: 20.62% (67584 bytes)" fast, and then
stalls and starts to show thise cache lines.  Then after some time
it plays audio for like 0.2 seconds or something, then it starts
showing the "A: " line and cache is filling for a while, and then
after some time it starts to play, with a huge delay between when
it's send and when I hear it.



On the other hand with mplayer2 instead I get:
$ mplayer http://mp3.streampower.be/radio1.aac
MPlayer2 2.0-701-gd4c5b7f-2 (C) 2000-2012 MPlayer Team
Cannot open file '/home/kurt/.mplayer/input.conf': No such file or directory
Failed to open /home/kurt/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.

Playing http://mp3.streampower.be/radio1.aac.
Resolving mp3.streampower.be for AF_INET6...

Couldn't resolve name for AF_INET6: mp3.streampower.be
Resolving mp3.streampower.be for AF_INET...
Connecting to server mp3.streampower.be[80.200.255.61]: 80...

Name   : Radio 1
Genre  : Pop
Public : no
Bitrate: 56kbit/s
Cache size set to 320 KiB
Cache fill:  0.00% (0 bytes)   

Detected file format: AAC
Selected audio codec: AAC (Advanced Audio Coding) [libavcodec]
AUDIO: 44100 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->352800)
AO: [pulse] Init failed: Connection refused
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A:   0.1 (00.1) of 0.0 (00.0) ??,?% 1% 
ICY Info: StreamTitle='Allez allez - beleef de Belgische rock & pop';
A:   4.4 (04.3) of 0.0 (00.0)  0.5% 17% 
ICY Info: StreamTitle='altijd benieuwd - Radio 1';

And it starts playing within a second, and doesn't have this huge
delay.

(It also shows the stream info, which mpv doesn't)


Kurt



More information about the pkg-multimedia-maintainers mailing list