Videojs-framebyframe

frame-by-frame stepping plugin for use with video.js

This project is maintained by erasche

Use

Just add a snippet like the following:
var video = videojs("example_video_1", {
  controls: true,
  autoplay: true,
  preload: 'auto',
  plugins: {
    framebyframe: {
      fps: 23.98,
      steps: [
        { text: '-5', step: -5 },
        { text: '-1', step: -1 },
        { text: '+1', step: 1 },
        { text: '+5', step: 5 },
      ]
    }
  }
});
        
The fps value can most easily be determined with ffmpeg/avconv.
$ avconv -i oceans-clip.mp4 2>&1 | egrep -o '[0-9.]+ fps'
23.98 fps