GNOME Bugzilla – Bug 727135
Too low recording sound when take a video by cheese with single microphone
Last modified: 2014-11-24 15:40:39 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!
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 ?
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?
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.
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?)