This is somewhat of an odd issue… If I try to record my microphone sound using FFmpeg, the recording turns out to be very crackling, especially around the time I talk into the microphone. And sometimes in the beginning of the recording there is a stream of intense crackling that creates a very uncomfortable noise… However, nothing of the sort happens when I use arecord. So that’s very mysterious to me, as I don’t see any major differences between the two.
This, for example, works nicely:
arecord -D hw:1,0 -t raw -c 2 -f S16_LE -r 48000 - | ffmpeg -f s16le -ab 128k -ar 48000 -ac 2 -i - -y soundtestcapture.wav
And this gives me crackling sound:
ffmpeg -f alsa -ab 128k -ar 48000 -ac 2 -i hw:1,0 -y soundtestcapture.wav
I just started using PulseAudio, by the way, so I’m trying to make myself familiar with it. Yet even parecord with sox gives me the exact same crackling issue… Only arecord seems to have it right. Any clues about what could be different here?
Using openSUSE 12.1, KDE, sound card that does the recording is an Intel Azalia chip.