-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
What feature or change would you like to see made?
I would like to request a feature enhancement for the OHIF Viewer: the ability to export a viewport as a video (cine).
Currently, OHIF supports image-based exports (such as screenshots), but there is no built-in way to export a scrolling stack or cine playback as a video file (e.g., MP4/WebM). This feature would be extremely useful for:
Exporting cine loops of CT/MR image stacks
Sharing dynamic studies for presentations or clinical discussions
Capturing viewport interactions such as scrolling, window/level changes, or rotations (optional)
Expected behavior (high level):
Ability to record a StackViewport or VolumeViewport over time
Configurable frame rate and duration (or based on stack scroll)
Export to common formats like MP4 or WebM
Respect current viewport settings (VOI, zoom, pan, orientation, overlays optional, Annotations)
Possible implementation ideas (optional):
Capture rendered frames from the viewport canvas
Use browser APIs such as MediaRecorder for recording
Optionally integrate FFmpeg (WASM) for post-processing/encoding
This capability would significantly enhance OHIF’s usability for clinical workflows, teaching, and demos. I’d be happy to contribute or test if guidance is available.
Thank you for the great work on OHIF.
Why should we prioritize this feature?
Feature Request: Export Viewport as Video (Cine) in OHIF Viewer