1 | initial version |
You can go through my code where I have done it using seconds of current time as a dynamic parameter.
Also, keep in mind that fps can't increase beyond its max(for a particular video it's fps is fixed when played in 1x speed).
Hope this helps. <3