You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Sunday, August 19th 2018, 12:01pm

proper video encoding (video key frames?) to allow seeking


i have a problem with a video where i can't pause() without the player reseting the position to zero
(happens on iOS, desktop is ok)

i did circumvent the problem by storing the position, then do the pause() and finally seeking back to the pos
this works, but it flickers a bit (the player gets invisible for a split second)

now i noticed that this pause() problem does not happen with a video i got from another source,
so i suspect the problem lies within the video encoding

does anybody have some tips about how to best (re-)encode videos for seeking?
i guess this means adding more keyframes?
(is this possible by an ffmpeg command?)

best, index

ps. these are mp4 videos, but i also need a webm copy

This post has been edited 1 times, last edit by "indexofrefraction" (Aug 19th 2018, 12:11pm)