fframes_native_player 1.0.0

Real-time native preview window for fframes videos, rendered with Skia
docs.rs failed to build fframes_native_player-1.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

Real-time native preview of an fframes [Video] in a desktop window, rendered by the Skia backend.

fn main() {
    let media = MyVideoMedia::prepare().unwrap();
    let video = MyVideo { media: &media };

    fframes_native_player::play(&video, &fframes_native_player::PlayerOptions {
        media: Some(&media),
        ..Default::default()
    })
    .unwrap();
}

Controls (vim keys or arrows):

  • Space (or click the video): play/pause
  • h/l or ←/→: seek one second back/forward
  • j/k or ↓/↑ (also ,/.): step one frame back/forward, pauses
  • g/G or Home/End: first/last frame, 0-9: jump to 0-90%
  • the control bar (shown while paused or when the pointer moves): back, play/pause, forward, a seek slider, looping and full screen, b hides it
  • r: toggle looping, f: full screen, q/Esc: quit

[play] must be called from the main thread and only once per process (a winit requirement on macOS).