Inaccurate timeline seeking for videos encoded with Handbrake

 Handbrake Logo

Issue

Videos produced with Davinci Resolve (Cineform) and encoded to H.264 MP4 with Handbrake don’t work properly with some video player (i.e. Media Player Classic). The issue occurs when seeking / skipping using timeline. Instead of jumping to the place clicked on the timeline, it starts playing several seconds earlier or later.

Resolution

The issue was resolved by adding keyint=60 to Handbrake Advanced Video Options. This forces a keyframe every 60 frames (every second for 60fps video). If your video framerate is not 60fps, adjust the value accordingly. You can choose to put every 2 seconds, this will result in a slightly smaller file size.

Handbrake Video > Advanced Options