webcam video recording is fine...but audio not functional

pangit_ako hamburgerstephen at gmail.com
Thu Mar 7 23:46:33 UTC 2019


Hello,

  I am using the following pipeline to attempt to record webcam video and
audio to disk:  

"gst-launch-1.0 -e autovideosrc ! queue ! videoconvert ! mkv. autoaudiosrc !
queue ! audioconvert ! mkv. matroskamux name=mkv ! filesink
location=test.mkv sync=false"

  The recording is created just fine, however the problem is with the
audio...there is none.  I seem to be getting only a 'clicking' sound when I
talk.  I have tested the microphone in my laptop and it seems to work fine. 
In addition Windows reports the device is working properly.

  To perform an additional test, I created the following pipeline to test
only audio: 

"gst-launch autoaudiosrc ! audioconvert ! vorbisenc ! oggmux ! filesink
location=dump.ogg"

  Again same result as before...clicking noises instead of audio speech in
the recording.

  And finally as another test I created a slightly modified version of the
original pipeline above:

"gst-launch-1.0 -e autovideosrc ! queue ! videoconvert ! mkv. autoaudiosrc !
queue ! audioconvert ! audio/x-raw,format=U8,channels=2 ! mkv. matroskamux
name=mkv ! filesink location=test.mkv sync=false"

  And I have the same problem...no audio in the recording.  

  Can somebody please offer some suggestion on what the possible problem
here might be?  Since my microphone seems to be functional I wonder if there
is something wrong with my pipeline code (although the identical problem on
multiple test pipelines would indicate that is not the case)...?  This is
very frustrating so any advice would be appreciated.  I thank you in
advance.

Regards



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list