[MPlayer-users] resampling frequency using mencoder and lame

D Richard Felker III dalias at aerifal.cx
Thu Aug 1 02:18:01 CEST 2002


On Wed, Jul 31, 2002 at 11:03:07PM +0200, Arpi wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi,
> 
> > > > > I'd like to use mencoder to reencode audio with frequency resampled.
> > > > > lame allows me to do that, but -lameopts does not seem to have such
> > > > > functionality.
> > > > > Is there any way to us mencoder to do that?
> > > 
> > > RTFM!
> > > -srate
> > 
> > -srate is for forcing mplayer/mencoder to interpret audio as being a
> > particular rate, not for resampling.
> 
> for both mplayer and mencoder it forces teh given output rate.
> in mplayer, it forces playback rate, and video speed is changed to
> keep a-v sync (so no resample).
> in mencoder, this value is also passed to lame, so it will resample
> and encode at this rate
> 
> yes, a bit tricky.. but documented at least

This probably should be mentioned in the man page under -srate.

Rich




More information about the MPlayer-users mailing list