[MPlayer-dev-eng] [PATCH] Changing audio speed

Rich Felker dalias at aerifal.cx
Fri Jul 22 16:52:17 CEST 2005


On Thu, Jul 21, 2005 at 08:57:01PM +0100, Dean LM wrote:
> Hi,
> 
> I'm not sure whether this has been addressed before, but I have a
> video with the audio sampled at
> 22050 Hz, when I try playing it the video plays at the correct speed
> but the audio is half the
> speed it should be (i.e. slooow). I've tried 'mplayer -srate 44100'
> but that didn't fix it.
> 'mplayer -speed 2' doubles both the video and audio speed. Since I
> couldn't find a way of changing the
> speed of just the audio, I've written a patch which does this (btw
> this is my first patch submission).

I'm mostly against this patch. It's never useful except with horribly
broken files. The same result can be accomplished already using -fps
and -speed together in the right way, anyway.

Rich




More information about the MPlayer-dev-eng mailing list