[MPlayer-users] Re : Audio buffer size

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jun 21 18:13:08 CEST 2010


On Mon, Jun 21, 2010 at 01:16:08PM +0200, Pierre CLARENC wrote:
> >>I play audio stream (mp3) using RTSP and I want to adjust dynamically the
> >>plackback speed (using the playback speed variable).
> >>
> >>However, I can play faster only for a short time (until buffer underflow
> or
> >>overflow). So, I want to adjust audio buffer size to increase this time.
> >>
> >>But using "-cache 1024" (which is a lot of audio buffering!) and
> "-min-cache
> >>50" seems to have no effect. Are these options works only for video
> playback
> >>? How does Mplayer manage audio buffering (default size) ?
> 
> I still have the same problem :)
> 
> For information, "cache" option works well when I use mplayer to receive dvb
> streams but when I use mplayer to receive rtp/rtsp streams, this option has
> no effect. Is this normal?

rtp/rtsp is no regular stream, it is a separate audio and video stream and that
bypasses the cache.
Or in short: yes, -cache cannot work with rtp/rtsp by (MPlayer's) design...


More information about the MPlayer-users mailing list