USB camera for audio and video: retire_capture_urb error

Drop in to chat about anything, or just to introduce yourself in the welcome to the board thread!

USB camera for audio and video: retire_capture_urb error

Postby gianpaoloc » Thu Oct 29, 2015 3:11 pm

I am trying to access a USB camera through gstreamer. I am able to read and save the video stream or the audio stream when taken alone, but whichever gstreamer pipeline I used that reads both audio and video at the same time I get an error: "retire_capture_urb: XXX callbacks suppressed" and the board become unresponsive.

This happens with every USB camera I tested.

This is the gstreamer pipeline I used (but tested tens of different pipelines and all give the same error):

gst-launch -e -i matroskamux name=mux ! filesink location=video.mkv v4l2src device=/dev/video1 do-timestamp=true ! jpegdec ! vpuenc codec=0 ! mux. alsasrc device="default" provide-clock=true do-timestamp=true ! queue max-size-time=10000000000 max-size-bytes=104857600 max-size-buffers=2000 ! mfw_mp3encoder sample-rate=32000 optmod=0 bitrate=32 ! mux.

Notice that the same pipeline works perfectly if I access video from the USB camera but audio from the internal mic.

I am using yocto but the same happens with Ubuntu.

Any suggestion?

Regards
G.
gianpaoloc
 
Posts: 1
Joined: Thu Oct 29, 2015 3:04 pm

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 7 guests