Skip to main content
PRO Feature - Video export requires a PRO subscription. Upgrade to PRO for access.

Video Export

Export your trajectory animations as high-quality MP4 videos for presentations, publications, or supplementary materials.

Getting Started

  1. Load a multi-frame .gro trajectory
  2. Open the EXPORT panel
  3. Click Export Video
  4. Configure your export settings
  5. Click Start Export

Export Settings

SettingOptionsDescription
Frame RangeStart / End frameSelect which portion of the trajectory to export
Step1, 2, 5, 10…Skip frames for faster exports (step=2 exports every other frame)
FPS10, 15, 24, 30Playback speed of the output video
ResolutionWidth x HeightOutput video dimensions
QualityLow / Medium / High / UltraVideo compression level
Render ModeWebGL / Path TracerStandard rendering or GPU WebGL path-traced video
Loop Count1, 2, 3…Repeat the animation for longer videos

Quality Levels

QualityCRF ValueBest For
Low28Quick previews, small file size
Medium23General use, good balance
High18Presentations, high clarity
Ultra12Publications, maximum quality
CRF (Constant Rate Factor) controls H.264 compression. Lower values = higher quality but larger files.

Export Process

The export runs in two phases:

Phase 1: Frame Rendering

Each frame is rendered and captured as a PNG image. A progress bar shows the current frame and estimated time remaining.

Phase 2: Video Encoding

All frames are encoded into an MP4 video using H.264 codec via FFmpeg (running in the browser via WebAssembly). A second progress bar tracks the encoding progress.

Path Tracer Mode

When using Path Tracer render mode, each frame is rendered with the specified number of path tracing samples. This produces photorealistic output but is significantly slower. The CPU still-image fallback is still-image only. It does not apply to MP4 generation, so path-traced video remains GPU/WebGL path-tracer mode. When TRACE cages or H-bonds are active, WebGL and path-traced video export prepare the overlay for each frame through the same frame-aware path before capture. If a frame cannot refresh its analysis overlay, Clavis reports the frame-stage failure instead of silently exporting stale frame-0 cages across the whole video. Native binary GROMACS sessions (.gro + .xtc/.trr and .tpr + .xtc/.trr) currently prioritize responsive selected-frame inspection and current-frame analysis for dense systems. Use .gro trajectory inputs for continuous MP4 export until native binary streaming export is fully stabilized.
SamplesQualitySpeed
64PreviewFast
128GoodModerate
256HighSlow
512PublicationVery slow
Path-traced video export can take several minutes to hours depending on frame count and sample settings. Use standard WebGL mode for quick previews.

Output

The exported MP4 file is automatically downloaded with a descriptive filename:
clavis_frames_1-100_24fps_high.mp4
The naming format is: clavis_frames_{start}-{end}_{fps}fps_{quality}.mp4

Tips

  • Preview first: Use Low quality with a small frame range to check the result before a full export
  • Even dimensions: The exporter automatically ensures even width and height (required for H.264)
  • Cancel anytime: Click Cancel during either phase to abort the export
  • Loop for GIF-like effect: Set loop count > 1 to create seamless repeating animations