[MPlayer-dev-eng] [PATCH] fix for -srate bug
Diego Biurrun
diego at biurrun.de
Tue Oct 19 01:37:02 CEST 2004
Giacomo Comes writes:
>
> 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.
What exactly do you want documented and how? Could you come up with a
patch for this?
Diego
More information about the MPlayer-dev-eng
mailing list