put here sample with this clicking noise try this in xterm Code: amixer -qc0 set PGA 0 and Code: alsamixer -c0 When you click Tab, you'll see all capture settings. You can use arrow keys to adjust it. or You can use different audio source instead of 'source.hw0': source.voice (hardware dsp) source.record Code: gst-launch-0.10 -e pulsesrc device=source.record ! audio/x-raw-float,channels=1 ! audioconvert ! nokiaaacenc bitrate=64000 output-format=0 ! hantromp4mux ! audio/x-m4a ! filesink location=/home/user/MyDocs/audio.m4a camera application vs gstreamer: - audio bitrate - 128kbps vs you can choose - audio rate - 48000Hz vs 44100Hz - audio source - source.record vs you can choose (ad 2.) - both has one channel - the same codec - nokiaaacenc - the same container - hantromp4mux Code: gst-inspect-0.10 nokiaaacenc (0): RAW - AAC Raw format (it needs container) (1): ADTS - Audio Data Transport Stream format (can be streams directly into playable aac file) (2): ADIF - Audio Data Interchange Format
amixer -qc0 set PGA 0
alsamixer -c0
gst-launch-0.10 -e pulsesrc device=source.record ! audio/x-raw-float,channels=1 ! audioconvert ! nokiaaacenc bitrate=64000 output-format=0 ! hantromp4mux ! audio/x-m4a ! filesink location=/home/user/MyDocs/audio.m4a
gst-inspect-0.10 nokiaaacenc