VLC crash [v4l2 error: Failed to wait (VIDIOC_DQBUF)]

About encoding, codec settings, muxers and filter usage
r_ruivo
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Nov 2008 13:18

VLC crash [v4l2 error: Failed to wait (VIDIOC_DQBUF)]

Postby r_ruivo » 30 Jun 2009 21:02

Dear all

I get the following random error o while using the VLC

"v4l2 error: Failed to wait (VIDIOC_DQBUF)"

I use 4 analog cameras and V4L2 to obtain the video to VLC. The error occurs simultaneously in all cameras.
If we use V4L (not V4L2) the error occurs in the same.
Our aim is to have the system operate with 8 cameras.
Our team of developers and beta testers are available to provide all information needed to debug this problem. :)

Thanks for any help that you can provide.

The configuration of each camera is
CAM1:
vlc -d --noaudio --file-logging --logfile=cam1.log v4l2:///dev/video0:fps=12 --sout #duplicate{dst="transcode{vcodec=DIV3,vb=256,scale=0.5,deinterlace}:standard{access=mmsh,mux=asfh,dst=:8001/CAM}",dst="transcode{vcodec=WMV2,vb=128,scale=0.35,deinterlace}:standard{access=mmsh,mux=asfh,dst=:8001/PDA}",dst="transcode{vcodec=DIV3,vb=256,scale=0.5,deinterlace}:standard{access=file,mux=ogg,dst=cam_1.avi}"}

CAM2:
vlc -d --noaudio --file-logging --logfile=cam2.log v4l2:///dev/video1:fps=12 --sout #duplicate{dst="transcode{vcodec=DIV3,vb=256,scale=0.5,deinterlace}:standard{access=mmsh,mux=asfh,dst=:8002/CAM}",dst="transcode{vcodec=WMV2,vb=128,scale=0.35,deinterlace}:standard{access=mmsh,mux=asfh,dst=:8002/PDA}",dst="transcode{vcodec=DIV3,vb=256,scale=0.5,deinterlace}:standard{access=file,mux=ogg,dst=cam_2.avi}"}

CAM3:
vlc -d --noaudio --file-logging --logfile=cam3.log v4l2:///dev/video2:fps=12 --sout #duplicate{dst="transcode{vcodec=DIV3,vb=256,scale=0.5,deinterlace}:standard{access=mmsh,mux=asfh,dst=:8004/CAM}",dst="transcode{vcodec=MJPG,vb=512,scale=0.5,deinterlace}:standard{access=http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a},mux=mpjpeg,dst=:8004/PDA.mjpg}",dst="transcode{vcodec=DIV3,vb=256,scale=0.5,deinterlace}:standard{access=file,mux=ogg,dst=cam_3.avi}"}

CAM4:
vlc -d --noaudio --file-logging --logfile=cam4.log v4l2:///dev/video3:fps=12 --sout #duplicate{dst="transcode{vcodec=DIV3,vb=256,scale=0.5,deinterlace}:standard{access=mmsh,mux=asfh,dst=:8003/CAM}",dst="transcode{vcodec=WMV2,vb=128,scale=0.35,deinterlace}:standard{access=mmsh,mux=asfh,dst=:8003/PDA}",dst="transcode{vcodec=DIV3,vb=256,scale=0.5,deinterlace}:standard{access=file,mux=ogg,dst=cam_4.avi}"}

Ricardo Ruivo

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 22 guests