I'm trying to record my Desktop + PC Sound + Mic Sound using FFMPEG. My Problem with this is that the PC Sound gets quite a bit pitched down. I'm wondering firstly if this is because of FFMPEG or Pulseaudio and secondly of course how to fix this. For FFMPEG I'm using something like:
ffmpeg \ ... -itsoffset -00:00:02 \ -f alsa \ -ac 2 \ -i pulse \ -f alsa \ -ac 2 \ -i pulse \ -filter_complex amix=inputs=2:duration=shortest:dropout_transition=0: \ -af aresample \ ... -acodec libmp3lame \ -ar 44100 \ -threads 6 \ -b:a "$BITRATE" \ ...
Any suggestions on this?
try with -acodec libvorbis
or test with my script
Linux Gaming Videos:http://www.youtube.com/user/Xpander666
Sorry but libvorbis doesn't seem to be working for me. It says:
[flv @ 0x351ff40] Audio codec 'vorbis' not compatible with FLV
And I have to use flv.
But you say it's because of the codec?