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/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Fri, Mar 8, 2019 at 5:27 AM pangit_ako <[hidden email]> wrote:
> > 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. > Which version of Windows and GStreamer are you using? Try with the latest stable release (1.14.x) or the latest development release (1.15.2). Also try using wasapisrc instead of autoaudiosrc. Another thing to try is wasapisrc provide-clock=false, and see if that works better. Cheers, Nirbheek _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |