[MPlayer-dev-eng] [BUG] surround audio plugin broken

Balatoni Denes pnis at coder.hu
Mon Jan 6 09:35:26 CET 2003


Hi!

On 2003. január 6. 03:29, Arpi wrote:
> Hi,
>
> > > > Disagree, resampling when the movie is 48000 hz and the soundcard
> > > > only supports 44100 should be done by default, just like -vop scale
> > > > is auto-inserted when the output device is rgb. Otherwise the output
> > > > is just wrong.
> > >
> > > yep. but for example automatic resampling of 44100 to 44098 is just
> > > dumb. (and slow and causes big delay and whatever)
> >
> > Hmm, perhaps the ao drivers should be modified to report the requested
> > samperate back to libaf (rather than the actual one) if the two only
> > differ by a very small amount. Sound good?
>
> not sounds good (it ins;'t teh job of ao drivers, and it means adding teh
> same code to every single ao_*.c), but it seems the only way now.

Is it not enough for now that af_resample removes itself from the af chain if 
it needs to change samplerate very little ?
Also using -af resample=44100:1(or 0):1 it will use the integer
noisy resample (shouldn't be a big difference in quality for little change in 
samplerate imho) - also that 44100 without "-srate 44100" is there for 
decoration only, it doesn't change anything.

bye
Denes





More information about the MPlayer-dev-eng mailing list