Thanks for reply.

Than which format  can i use to record both audio and video using A20 
processor

please reply

--
Nithin


On Monday, August 25, 2014 5:40:55 PM UTC+5:30, Jon Smirl wrote:
>
> Looks to me like you are trying to use software h.264 encoding on the 
> A20. The A20 is not fast enough to do that in software. In general 
> only desktop class x86 CPUs are fast enough to do that. The ALSA 
> overruns are because the CPU is too heavily loaded. 
>
> Using a webcam with built in h.264 compression will avoid this problem. 
> http://www.logitech.com/en-us/product/hd-pro-webcam-c920?crid=34 
>
> Alternatively you could write some software and hook the A20's h.264 
> encoding hardware into vlc, but no one has written that code yet. 
>
> On Mon, Aug 25, 2014 at 2:13 AM, Nithin Chakravarthy 
> <[email protected] <javascript:>> wrote: 
> > I am trying to record videos with vlc from USB webcam from A20 humming 
> board 
> > The command i used to rercord with vlc 
> > Enter code here...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_pcmffmpeg -f alsa -r 16000 -i hw:2,0 -f 
> video4linux2 -s 800x600 -i /dev/video0 -r 30 -f avi -vcodec mpeg4 -vtag 
> xvid -sameq -acodec libmp3lame -ab 96k output.avi_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 to fix this error 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "linux-sunxi" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Jon Smirl 
> [email protected] <javascript:> 
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to