MasayukiSuda / GPUVideo-android

This library apply video filter on generate an Mp4 and on ExoPlayer video and Video Recording with Camera2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frame Timing in Filter

sprite2005 opened this issue · comments

Not really an issue but was wondering if there is any way to get current frame timestamp or time elapsed since last frame in the onDraw call in a filter, or what would be the best approach for adding this either as a fork or pull request. Specifically my use case I'm overlaying a gif on the video and need to advance frames at the proper rate, but I'm sure it could be useful for other time based effects/animations also.