Topic: SVP/Avisynth Buffer Ahead

Is there anyway to change the default value that SVP uses for Avisynths buffer ahead of 12 frames?

Does this setting matter?

I use MPC-HC/MadVR and I can have up to 24 frames on both the GPU and the CPU queued up.

I figure having avisynth have the same number of frames that the GPU/CPU use is better than not.

Since having more frames in the buffer tends to have more accurate interpolation, right?

Re: SVP/Avisynth Buffer Ahead

> Since having more frames in the buffer tends to have more accurate interpolation, right?
Algorythm needs to have only 2 source frames to make new frame between them.
But we have multicore CPU and multithreading processing. So every thread needs 2 frames.
12 frames ahead is value depends on threads count.
It calculates like N frames + ff_add setting value.
If you give lack of frames then you will get not smooth video because some new frames will be missed.
If you give much of frames then you will faced with audio sync issues.
No quality encreasing in both cases.

So. If your video played smoothly then don't change frames ahead buffer value.

Re: SVP/Avisynth Buffer Ahead

Thanks, MAG.

Re: SVP/Avisynth Buffer Ahead

All settings -> frc.prefetch.ff_mul * <number of threads> + frc.prefetch.ff_add

Re: SVP/Avisynth Buffer Ahead

While I have both of your attentions, would it even be possible to have the interpolation algorithm take into account a second source frame? Instead of creating an intermediate frame between two source, create the intermediate frame between the two source frames but use a 3rd source to have a more accurate intermediate frame?

Or is this impossible / doesn't make much sense for interpolating frames.

I guess kind of like B-Frames in video encoding?