[MPlayer-dev-eng] [PATCH] af_scaletempo

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Oct 6 21:35:12 CEST 2007


Hello,
On Sat, Oct 06, 2007 at 10:26:01PM +0300, Uoti Urpala wrote:
> On Fri, 2007-10-05 at 22:11 +0200, Reimar Döffinger wrote:
> > On Thu, Oct 04, 2007 at 08:19:17PM -0400, Robert Juliano wrote:
> > > So, what do I have to do to get someone to commit this?
> > 
> > I'll try to find time to test it this weekend and the apply it (minus
> > cosmetics to mplayer.c).
> > If anyone has objections against this please speak up (note I do not
> > claim it to be perfect, but if there are issues remaining I think they
> > will be easier to fix after applying).
> 
> I think it's better to fix some of the general filter issues before
> adding the filter. It buffers more data internally than than the
> existing resample filters. The following are some issues I think should
> be fixed in or before the first version that adds the filter:
> 
> - make the final audio buffer before ao dynamically sized like all the
> filter buffers
> - remove the rational number input/output ratio fields from filters and
> replace them with floats (the rationals can overflow and the values do
> not need to be exact)
> - enable the filter delay logic again and dynamically set the delay
> value in af_scaletempo after each call
> - when used for runtime playback speed adjustment, make sure
> af_scaletempo never alters the audio when input and output rate are
> identical, either by rebuilding the filter chain without it or by logic
> inside the filter
> 
> I haven't done those yet mainly because of the release plans.

Would any of these need major changes to af_scaletempo? I not, I don't
really see why they should hold this up. And as I understood some
comments it is at least usable (even if buggy) without these as well.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list