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

  • hi,

    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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!