webcam video recording is fine...but audio not functional
Nirbheek Chauhan
nirbheek.chauhan at gmail.com
Mon Mar 11 05:23:38 UTC 2019
On Fri, Mar 8, 2019 at 5:27 AM pangit_ako <hamburgerstephen at gmail.com> 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
More information about the gstreamer-devel
mailing list