ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred

*nix specific usage questions
NithinChakravarthi
New Cone
New Cone
Posts: 4
Joined: 25 Aug 2014 12:32

ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred

Postby NithinChakravarthi » 25 Aug 2014 12:40

I am trying to record videos with vlc from USB webcam from A20 humming board
The command i used to rercord with vlc
vlc v4l2:///dev/video0 :v4l2-standard= :input-slave=alsa://hw:0,0 :v4l-caching=300 --sout="#transcode{vcodec=h264,vb=0,,scale=0,width=640,height=480,acodec=mpga,ab=128,channels=1,samplerate=44100}:standard{access=file,mux=mp4,dst=output00.mp4}"
Then it shows the following log
VLC media player 2.0.5 Twoflower (revision 11d59d1)
[0x19e88f0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
QGtkStyle was unable to detect the current GTK+ theme.
x264 [info]: using cpu capabilities: ARMv6 NEON
x264 [info]: profile High, level 3.0
x264 [info]: using SAR=8/9
x264 [info]: using cpu capabilities: ARMv6 NEON
x264 [info]: profile High, level 3.1
ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred
x264 [warning]: invalid DTS: PTS is less than DTS
x264 [warning]: invalid DTS: PTS is less than DTS
ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred
x264 [warning]: invalid DTS: PTS is less than DTS
ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred
x264 [warning]: invalid DTS: PTS is less than DTS
x264 [warning]: invalid DTS: PTS is less than DTS
x264 [warning]: invalid DTS: PTS is less than DTS
x264 [info]: frame I:1 Avg QP:26.57 size: 6875
x264 [info]: frame P:23 Avg QP:26.23 size: 2067
x264 [info]: frame B:28 Avg QP:27.09 size: 1103
x264 [info]: consecutive B-frames: 1.9% 76.9% 5.8% 15.4%
x264 [info]: mb I I16..4: 39.8% 55.7% 4.5%
x264 [info]: mb P I16..4: 4.3% 1.0% 0.0% P16..4: 55.7% 2.7% 2.4% 0.0% 0.0% skip:34.0%
x264 [info]: mb B I16..4: 0.8% 0.2% 0.0% B16..8: 31.8% 0.0% 0.0% direct: 2.8% skip:64.3% L0:62.6% L1:36.1% BI: 1.2%
x264 [info]: 8x8 transform intra:33.8% inter:95.1%
x264 [info]: coded y,uvDC,uvAC intra: 16.3% 41.8% 3.6% inter: 7.7% 28.2% 0.0%
x264 [info]: i16 v,h,dc,p: 11% 16% 9% 64%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 12% 34% 13% 3% 3% 4% 8% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 14% 24% 13% 1% 2% 1% 10% 11%
x264 [info]: i8c dc,h,v,p: 70% 18% 10% 2%
x264 [info]: Weighted P-Frames: Y:8.7% UV:8.7%
x264 [info]: ref P L0: 47.7% 7.3% 30.5% 14.5%
x264 [info]: ref B L0: 50.1% 46.5% 3.4%
x264 [info]: ref B L1: 88.3% 11.7%
x264 [info]: kb/s:787.41
video is recording fine but without sound. it says Alsa lib sound overrun occured.
please help me to fix this error

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred

Postby Rémi Denis-Courmont » 25 Aug 2014 16:53

Please update.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

NithinChakravarthi
New Cone
New Cone
Posts: 4
Joined: 25 Aug 2014 12:32

Re: ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred

Postby NithinChakravarthi » 26 Aug 2014 14:52

what should i update

NithinChakravarthi
New Cone
New Cone
Posts: 4
Joined: 25 Aug 2014 12:32

Re: ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred

Postby NithinChakravarthi » 26 Aug 2014 14:56

I have tried recording with vcodec=mpeg2 and acodec=mpga but i got differen message log
VLC media player 2.0.5 Twoflower (revision 11d59d1)
[0x45d8f0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
QGtkStyle was unable to detect the current GTK+ theme.
ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred
[mpeg2video @ 0x521240] rc buffer underflow
[mpeg2video @ 0x521240] rc buffer underflow
[mpeg2video @ 0x521240] rc buffer underflow
[mpeg2video @ 0x521240] rc buffer underflow
[mpeg2video @ 0x521240] rc buffer underflow
[mpeg2video @ 0x521240] rc buffer underflow
[mpeg2video @ 0x521240] rc buffer underflow
[mpeg2video @ 0x521240] rc buffer underflow
[mpeg2video @ 0x521240] rc buffer underflow
how can i avoid buffer underflow?
please help me with some solution

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred

Postby Rémi Denis-Courmont » 26 Aug 2014 18:29

VLC 2.0.5 is not supported anymore.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

NithinChakravarthi
New Cone
New Cone
Posts: 4
Joined: 25 Aug 2014 12:32

Re: ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred

Postby NithinChakravarthi » 27 Aug 2014 06:55

so vlc 2.0.5 is not supported for recording?
or
it is not supported for recording with mpeg2 codec

Fredo_p
Blank Cone
Blank Cone
Posts: 11
Joined: 13 Aug 2014 10:11
VLC version: 2.1.4
Operating System: Linux
Location: West Valley, Arizona

Re: ALSA lib pcm.c:7339:(snd_pcm_recover) overrun occurred

Postby Fredo_p » 28 Aug 2014 11:24

VLC 2.0.5 is not supported anymore.
I believe what Remi might have meant was that v2.0.5 is no longer supported. This may be due to the fact that 2.0.5 is an old version and the current is 2.1.5 for Linux.

Like you, I'm a Linux user as well (Lubuntu). So you may want to head on over the the Linux forums of your OS and ask when a dev package will be available or how to build your own.

Might I suggest looking in the Linux testing site and search to see if v2.1.5 has a testing package. If there is one, then download and test the hell out of it so a release can be made sooner than later.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 7 guests