Note that there are some explanatory texts on larger screens.

plurals
  1. PORecording audio+video from webcam with gstreamer
    primarykey
    data
    text
    <p>I'm having a problem trying to record audio+video from my webcam to a file. If I use <code>videotestsrc</code> and <code>autoaudiosrc</code> I get everything right (read as in I get a file with audio recorded from the webcam's mic, and test-video image), but as soon as I replace <code>videotestsrc</code> with <code>v4l2src</code> (or <code>autovideosrc</code>) I get <code>Error starting streaming on device '/dev/video0'</code>.</p> <p>The command I'm using: </p> <p><code>gst-launch-0.10 videotestsrc ! queue ! ffmpegcolorspace! theoraenc ! queue ! oggmux name=mux autoaudiosrc ! queue ! audioconvert ! vorbisenc ! queue ! mux. mux. ! queue ! filesink location = test.ogg</code></p> <p>Why is that happening? What am I doing wrong?</p> <p>EDIT:</p> <p>In fact, something as simple as </p> <p><code>gst-launch-0.10 autovideosrc ! autovideosink autoaudiosrc ! autoaudiosink</code></p> <p>is failing with the same error <code>(Error starting streaming on device '/dev/video0')</code></p> <p>Replacing <code>autovideosrc</code> with <code>videotestsrc</code> gives me test image + real audio.</p> <p>Replacing <code>autoauidosrc</code> with <code>audiotestsrc</code> gives me real image + test audio.</p> <p>I'm starting to think that this is some kind of limitation of my webcam. Is that possible?</p> <p>EDIT:</p> <p>GST_DEBUG=2 log here: <a href="http://pastie.org/4755009" rel="nofollow">http://pastie.org/4755009</a></p> <p>EDIT 2:</p> <p>GST_DEBUG="v4l2*:5" (gstreamer 0.10): <a href="http://pastie.org/4810519" rel="nofollow">http://pastie.org/4810519</a></p> <p>GST_DEBUG="v4l2*:5" (gstreamer 1.0): <a href="http://pastie.org/4810502" rel="nofollow">http://pastie.org/4810502</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload