[LAU] ffplay and alsa buffers

Peter P. peterparker at fastmail.com
Mon Oct 5 13:59:04 UTC 2015


* Len Ovens <len at ovenwerks.net> [2015-10-04 09:48]:
> On Sat, 3 Oct 2015, Peter P. wrote:
> 
> >I am playing a http .m3u8 videostream with ffplay version 1.0.10 on
> >Debian testing and am getting drop outs about twice a minute, with the
> >following message being posted to the command line:
> >
> >ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred
> >
> >This happes regardless of internet connection or used soundcard.
> >
> >/proc/asound/card1/pcm0p/sub0/hw_params lists:
> >	access: MMAP_NONINTERLEAVED
> >	format: S32_LE
> >	subformat: STD
> >	channels: 18
> >	rate: 44100 (44100/1)
> >	period_size: 1024
> >	buffer_size: 2048
> >
> Two things:
> 
> Try 48k SR. It shouldn't matter.... but (the video standard is 48k)
Thanks, I think the sample rate is set by ffplay and I don't seem to
have influence on that.
 
> Is the wlan doing anything at all? I once had this same problem that I could
> only fix by unloading the wlan kernel module. It seemed it was scanning for
> APs about once a minute.
My dropouts seem unrelated to network issues, as they happen on ethernet
as well as on wireless lan connections.

best P


More information about the Linux-audio-user mailing list