Audio Sampling Rate Problem with Soundflower
I'm using Soundflower to send 16 kHz audio from my own application to QT pro. I'd like to record a video with this audio in it. However, when I record a movie in QT pro using the h264 option the audio sampling rate in the resulting movie is 44.1 kHz. Since the underlying stream is 16 kHz, the audio is sped up and poorly aligned.
According to ffmpeg the audio stream in my movie is like this: "Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16." I know that my soundflower stream is 16kHz and mono, so it's just getting these parameters wrong.
Looking at the Audio MIDI Setup pane in OSX, Soundflower only gives the sampling rate options of 44.1, 48 or 96 kHz. It also only presents a stereo option.
Any ideas on how to solve this problem? Can I somehow sidestep the Audio MIDI Setup Pane to some underlying file and put in the true parameters? Or, can I edit the header of my .mov file to change these two audio parameters?
Thanks for any help.