After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 690507 - No audio recorded when creating an Audio/Video using qtmux
No audio recorded when creating an Audio/Video using qtmux
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: dont know
1.0.3
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-12-19 16:52 UTC by Ian Davidson
Modified: 2016-02-07 12:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ian Davidson 2012-12-19 16:52:07 UTC
I used
gst-launch-1.0 -e v4l2src norm=PAL ! 
'video/x-raw,format=(string)I420,width=320,height=240,framerate=(fraction)25/1' 
! videoconvert ! queue ! mux. alsasrc num-buffers=440 ! audioconvert ! 
'audio/x-raw,rate=44100,channels=2' ! queue ! mux. qtmux name=mux ! 
filesink location=test.mov

to record video for a test.  There was both video and audio to capture.  When I played teh video, the audio was silent.
Comment 1 Tim-Philipp Müller 2013-03-16 13:56:10 UTC
Are you sure this is a GStreamer issue and not an issue with your sound setup?

I tried to reproduce this using:

 gst-launch-1.0 pulsesrc num-buffers=440 ! audioconvert !  'audio/x-raw,rate=44100,channels=2' ! queue ! qtmux ! filesink location=/tmp/test.mov

and

 gst-launch-1.0 alsasrc num-buffers=440 ! audioconvert !  'audio/x-raw,rate=44100,channels=2' ! queue ! qtmux ! filesink location=/tmp/test.mov

As it turns out, I had to change something in pavucontrol (I'm running pulseaudio, and all alsa stuff goes through pulse in my setup).

I tested with:

gst-launch-1.0 alsasrc ! queue ! wavescope ! ximagesink sync=false

and also got silence (flat white line).

Then I opened pavucontrol, went to the 'Recording' tab, and switched:

   Alsa capture from [Monitor of Built-in Analog Stereo]

to

   Alsa capture from [Built-in Analog Stereo]

and things suddenly started working (white line showed some noise and peaks when I tap on the mic).
Comment 2 Alexandre Franke 2016-02-07 12:19:41 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!