Open AlmecDoux opened 2 weeks ago
We do not have any examples to demo it.
@claincly do you have any guidance for implementation?
but keep the fps value of the original video
It seems to me you want to add frames to make it slow motion while keep the duration, this increases the original FPS no?
How do you plan to interpolate frames though? Assuming you want to just interpolate two frames to create a new one in between, you could,
queueInputFrame()
to store input framesYou could take a look at DefaultFrameDroppingShaderProgram
on how to deal with input frames, caching and timestamps.
Is there any example for implementing GlShaderProgram for Transformer to add extra frames to increase fps. There is FrameDropEffect, but it is used to drop fps. The goal is to use SpeedChangeEffect to slow down the video, but keep the fps value of the original video