[MPlayer-users] Streams intermittently play or don't?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Oct 25 15:59:03 CEST 2014


On Sat, Oct 25, 2014 at 03:19:20PM +0200, wm4 wrote:
> On Sat, 25 Oct 2014 14:32:42 +0200
> Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:
> > Huh? You seem to be using -demuxer lavf or have demuxer=lavf in some
> > config file?
> > Actually, more likely you didn't have libogg-dev installed when you
> > compiled, thus forcing it to use libavformat.
> > If this is a Debian or Ubuntu, try "apt-get build-dep mplayer", that
> > will install everything the original distribution package used to
> > compile MPlayer.
> 
> > As said, libavformat is problematic with streaming.
> 
> Never had many problems with it. I had to implement shoutcast support
> in ffmpeg, but of course that's not needed for correct function, just
> for this tag-like extra information. You should use mime-type mapping
> of formats to demuxers to stop libavformat to spend megabytes of data on
> probing.

That doesn't work around it e.g. trying to read ID3V2, which so far
looks to cause the issues for example (at least it can cause an
additional startup delay).
I suspect some things are fishy related to seeking in
id3v2_read_internal, in particular it does a
off = avio_tell(pb);
and directly after in if
avio_seek(pb, off, SEEK_SET);
which makes no sense at it is always a NOP...
I am also not sure if its assumption that seeking back by
10 bytes is always possible is entirely correct from the avio
API side.


More information about the MPlayer-users mailing list