You are not logged in.

#1 2013-08-03 18:56:26

tdc
Member
Registered: 2013-05-07
Posts: 9

FFMPEG + Pulsaudio -> recorded sound pitched down

Hi,
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?

Offline

#2 2013-08-04 07:06:38

xpander
Member
Registered: 2013-01-23
Posts: 56

Re: FFMPEG + Pulsaudio -> recorded sound pitched down

try with -acodec libvorbis
or test with my script
https://dl.dropboxusercontent.com/u/28788188/cast.sh

Offline

#3 2013-08-05 20:05:32

tdc
Member
Registered: 2013-05-07
Posts: 9

Re: FFMPEG + Pulsaudio -> recorded sound pitched down

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?

Offline

Board footer

Powered by FluxBB