Answers.Body: <p>Yes, that has to do with keyframes.  Most players can only seek to a keyframe.  Others will go to the prior keyframe and decode up to the point selected.  Others will just play gibberish until the next keyframe.  Having regular keyframes increases your file size, but also adds many more points a user can seek to in your video.</p>
  
  <p>If you are referring to how to make your video more seekable for the web, that is a different problem.  Video compression is typically not a constant bitrate which is why it is hard for a web-based player to guess the byte offset of a particular position in the video.  Many web players allow sending a file of metadata that contains offsets to help with this problem.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2012-03-31T22:28:11.620Z
Answers.LastActivityDate: 2012-03-31T22:28:11.620Z
Answers.UserDisplayName: Brad
Answers.Body: <p>The problems with seeking are typically in the video player and not in the videos themselves, so you may want to look at different video player. A video player should be able to seek to any frame in the video, regardless of format and the encoder settings used. It is also technically possible to play any video backwards, even though very few players support this.</p>
  
  <p>The problem is, seeking into frames that are not keyframes is difficult and CPU intensive. Frames that are encoded as keyframes can be decoded on their own, while non-keyframes depend on other frames to be decoded. If you are playing the movie left to right all the dependencies  for a given frame have been already decoded, but if you are seeking directly into the frame, then the player needs to search for all those dependencies, decode them and only then it can decode the target frame.</p>
  
  <p>So I think I can summarize my advice as two different suggestions:</p>
  
  <ol>
  <li><p>Switch to a player that can seek to any frame.</p></li>
  <li><p>if you can't switch to a better player, then encoding your video with more frequent keyframes will give you better seek accuracy, at the expense of picture quality (if you keep the bitrate the same) or file size (if you increase the bitrate to compensate).</p></li>
  </ol>
  
  <p>Good luck.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2012-04-01T20:41:21.700Z
Answers.LastActivityDate: 2012-04-01T20:41:21.700Z
Answers.UserDisplayName: Miguel
Body: <p>I am looking at the factor that allows software video players to seek at any (or close to) position in the video.</p>
  
  <p>Is this the keyframes or what? </p>
  
Tags: <playback>
Title: How can I make a video more seekable?
UserDisplayName: Odys
ThreadText: # How can I make a video more seekable?
  
  (Asked by: username_0 on 2012-03-31)
  
  I am looking at the factor that allows software video players to seek at any (or close to) position in the video.
  
  Is this the keyframes or what?
  
  **Tags:** playback
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2012-04-01. Score: 5 | Accepted answer
  
  The problems with seeking are typically in the video player and not in the videos themselves, so you may want to look at different video player. A video player should be able to seek to any frame in the video, regardless of format and the encoder settings used. It is also technically possible to play any video backwards, even though very few players support this.
  
  The problem is, seeking into frames that are not keyframes is difficult and CPU intensive. Frames that are encoded as keyframes can be decoded on their own, while non-keyframes depend on other frames to be decoded. If you are playing the movie left to right all the dependencies for a given frame have been already decoded, but if you are seeking directly into the frame, then the player needs to search for all those dependencies, decode them and only then it can decode the target frame.
  
  So I think I can summarize my advice as two different suggestions:
  
  1. Switch to a player that can seek to any frame.
  2. if you can't switch to a better player, then encoding your video with more frequent keyframes will give you better seek accuracy, at the expense of picture quality (if you keep the bitrate the same) or file size (if you increase the bitrate to compensate).
  
  Good luck.
  
  
  ---
  
  ### Answer by username_1 on 2012-03-31. Score: 3
  
  Yes, that has to do with keyframes. Most players can only seek to a keyframe. Others will go to the prior keyframe and decode up to the point selected. Others will just play gibberish until the next keyframe. Having regular keyframes increases your file size, but also adds many more points a user can seek to in your video.
  
  If you are referring to how to make your video more seekable for the web, that is a different problem. Video compression is typically not a constant bitrate which is why it is hard for a web-based player to guess the byte offset of a particular position in the video. Many web players allow sending a file of metadata that contains offsets to help with this problem.
  
  
  ---
  
  