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 727135 - Too low recording sound when take a video by cheese with single microphone
Too low recording sound when take a video by cheese with single microphone
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.10.36
Other Linux
: Normal critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-27 06:47 UTC by evawang
Modified: 2014-11-24 15:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description evawang 2014-03-27 06:47:12 UTC
Low recording sound when take a video by cheese with single microphone.

Reproduce steps:

1. Find a notebook with single internal microphone.
2. Open Cheese
3. take a video
4. the video sound is too low to hear it.

We checked with cheese developer , he think the issue is gstreamer problem,

please help to check it.

Fedora 19/20 can reproduce it.

If you need any information, please tell me.

Thanks!
Comment 1 Vincent Penquerc'h 2014-04-03 16:59:54 UTC
Try running cheese with: GST_DEBUG_FILE=/tmp/gst.log GST_DEBUG=*FACT*:INFO.
Then see the log with: less -SR /tmp/gst.log
See if you get pulsesrc or alsasrc in the elements created. Call this $SRC.
Run: gst-launch-1.0 -e $SRC ! wavenc ! filesink location=/tmp/test.wav
Talk or make comparable noises, then press ^C, and play /tmp/test.wav in the same program you used to play the video from cheese.
Is the volume similar ?
Comment 2 evawang 2014-04-07 09:59:49 UTC
The sound is OK when running gst-launch-1.0 -e $SRC ! wavenc ! filesink location=/tmp/test.wav

and sound is OK when record the video with below command: 

 gst-launch v4l2src ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! tee name=t_vid ! queue ! xvimagesink sync=false t_vid. ! queue ! videorate ! video/x-raw-yuv,framerate=30/1 ! theoraenc ! queue ! mux. alsasrc ! audio/x-raw-int,rate=48000,channels=2,depth=16 ! queue ! audioconvert ! queue ! vorbisenc ! queue ! mux. oggmux name=mux ! filesink location=me_funny_dancing.ogg

video format from cheese is webm, could you tell us how to use gst-launch create webm format video?

Could you help to confirm whether it is related to the video format?
Comment 3 Vincent Penquerc'h 2014-04-14 16:12:07 UTC
You should be good replacing oggmux with matroskamux I think. Webm would use VP8 instead of Theora, but I really doubt this is going to make a difference.

Or replace oggmux with webmmux, and theoraenc with vp8enc.
Comment 4 Tim-Philipp Müller 2014-11-24 15:40:39 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!

(It seems like GStreamer works fine based on your pipelines. Perhaps cheese is using pulsesrc and your pulse input mixer volume slider thingy is at a very low level?)