[MPlayer-users] Problems with mp3 playback

RC rcooley at spamcop.net
Mon Aug 29 11:48:38 CEST 2005

On Sat, 27 Aug 2005 08:34:55 -0600
Kevin DeKorte <kdekorte at yahoo.com> wrote:

> wget http://mplayerplug-in.sf.net/testing/large.mp3 &
> sleep 2
> mplayer -nocache large.mp3

As I suspected, the demuxer is reading fairly far ahead, and hitting
the EOF.  Changing:

 while(n < 30000 && !s->eof)  
to eg. 
 while(n < 300 && ! s->eof) 

in libmpdemux/demux_audio.c: line 136 fixes this problem.

I'm no expert, however, so someone else (Reimar?) will have to say if
that small of a read might cause some other problems.  

Also, with -demuxer 35 (lavf) this script works fine.

More information about the MPlayer-users mailing list