Google
  Web www.spinics.net

Re : Audio buffer size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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...


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]

Add to Google Powered by Linux