[mythtv-users] Pitch shifted audio

Isaac Richards ijr at po.cwru.edu
Fri Jun 27 19:12:14 EDT 2003


On Thursday 26 June 2003 09:46 pm, danarchy wrote:
> Hi everybody, I am having some weird issues with audio playback.  I've just
> about exhausted everything I can think of so I was hoping someone here may
> have faced the same issues and found a fix.
>
> First off I am running with a Hau[[auge PVR-250.  My soundcard is a
> soundblaster awe64.
>
> The problem is that everything I play back, Live-TV and recorded seems to
> be pitch shifted down pretty severely.  If I play the stream with mplayer
> it sounds fine.  It also sounds fine if I play back a recorded .nuv file
> with mplayer.  I imagine the problem is a disconnect between the rate the
> card is sampling at and the rate mythtv is playing back at.  I found one
> thread that mentioned the exact problem in the devel archives, but if there
> was a resolution I couldn't find it.

Sounds like your soundcard only plays back at 44.1kHz, and nothing else.  The 
default sampling rate of the mpeg2 files is 48kHz.  You could probably add 
code to detect this and resample the audio pretty easily to mythtv.

Isaac


More information about the mythtv-users mailing list