[MPlayer-dev-eng] [PATCH] fix for -srate bug
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Oct 19 10:07:45 CEST 2004
Hi,
> > There are three mode of using the resample filter:
> >
> > 1) mplayer 18010.asf -af resample=44100:0:0 (fast mode with distortion)
> > 2) mplayer 18010.asf -af resample=44100:0:1 (normal mode without
distortion)
> > 3) mplayer 18010.asf -af resample=44100:0:2 (normal mode without
distortion but with some noise)
> >
> > It looks to me that:
> > mplayer 18010.asf -srate 44100
> > is equivalent to mode 1 and
> > mplayer 18010.asf -af resample=44100
> > is equivalent to mode 2
> >
> > So using -srate 44100 turn on fast mode, but using only -af
resample=44100 doesn't.
> >
> > I wated to use mencoder with -srate 44100 and got distortion.
> > mecoder -af resample=44100 didn't work.
> >
> > But now I have seen that if I use:
> > mecoder -af resample=44100 -srate 44100
> > it works and select mode 2. So if I use -af resample togheter
with -srate
> > I can control the resampling in mencoder.
> >
> > This should go in the documentation, or mencoder should be fixed and be
able to use
> > -af resample without -srate.
>
> What is the problem, -af should work with MEncoder.
The problem is more that when the output supports the original sample rate
(for mencoder probably always true without -srate),
af_resample feels useless and removes itself (during af chain rebuild)... At
least that's how I remember it.
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list