# Saving a trajectory as a video

> Save as video records a job's trajectory in your browser as an MP4 or WebM file, at the playback speed you chose, with the view you have set up.

Source: https://hiveboard.dev/docs/job/save-as-video · Section: One job, opened · HiveBoard 0.1.7 · Updated 2026-10-19

## In short

- In the Structure tab, More → Save as video records the trajectory from its first step to its last.
- The video is made entirely in your browser from the geometry already on the page; nothing is sent anywhere.
- It runs at the speed you chose, between 1.5 and 30 seconds long, at 30 frames per second.
- The file is MP4 where the browser can record it, otherwise WebM; the comparison has its own Save as video for several jobs together.

**Save as video** turns the trajectory in the [Structure tab](/docs/job/structure-tab) into a
video file you can keep or put in a talk. It is made entirely in your browser, from the
geometry already on the page.

## Saving one

1. Open the job's **Structure** tab. The structure needs more than one step: a trajectory or a
   NEB path.
2. Set up the picture: turn and zoom it, choose the drawing style and the boundary treatment
   under **View options**.
3. Choose the speed: **0.5×**, **1×**, **2×** or **4×**.
4. Press **More** (the three dots at the end of the play bar), then **Save as video**.
5. Wait while the button counts up: *Recording 40%*.

Playback pauses while it records. The browser then saves the file as
`job-419122-structure.mp4` (or `.webm`), and a message says *Saved job-419122-structure.mp4*.

## What the video holds

- The trajectory once, from the first step to the last.
- The picture as you set it up: camera, drawing style, boundary treatment, periodic images.
- **Smooth motion** as it is set: curved paths when on, straight lines between steps when off.
- 30 frames per second, at the size the picture has on screen.

Its length is what playback would take at the chosen speed: 0.6 seconds per step at 1×, divided
by the speed. It is never shorter than 1.5 seconds or longer than 30. For a trajectory of 23
steps:

| Speed | Length |
|---|---|
| 0.5× | 26.4 s |
| 1× | 13.2 s |
| 2× | 6.6 s |
| 4× | 3.3 s |

A trajectory that would take longer than 30 seconds is played faster to fit; the video still
runs from the first step to the last.

## MP4 or WebM

HiveBoard records an MP4 file where the browser can (Chrome, Edge and Safari), and otherwise
WebM. In a browser that can record neither, **Save as video** is greyed out and says "Saving a
video needs a recent Chrome, Edge, or Safari".

## Nothing leaves your computer

The frames are drawn from atoms the page already holds. Saving a video reads nothing more from
the server, writes nothing on it, and sends nothing anywhere.

## Several jobs in one video

The [comparison](/docs/compare/compare-jobs) has its own **Save as video**, on the shared play
bar of its **3-D structures** tab. It records every job playing together, laid out side by
side in a grid, as one file named `hiveboard-comparison-` followed by the job numbers.

## Check yourself

1. Where is the video made?
   - In your browser, from the geometry already on the page ← the answer
   - On the cluster, which then sends the file
   - On hiveboard.dev
   - By HiveBoard's local server, from the job's files
   Why: Save as video records the 3-D picture in your browser; nothing is read again or sent anywhere.

2. A trajectory of 23 steps is saved at 2×. How long is the video?
   - 6.6 seconds ← the answer
   - 13.2 seconds
   - 30 seconds
   - 23 seconds
   Why: Each step takes 0.6 seconds at 1×, so 22 step-to-step moves take 13.2 seconds at 1× and 6.6 seconds at 2×.

## Try it in the app

- Open a relaxation on the Structure tab, set the view you like, and save it as a video at 2×.
- Save the same trajectory with Smooth motion off and compare the two files.

## Related

- [The Structure tab](https://hiveboard.dev/docs/job/structure-tab.md)
- [Measuring atoms](https://hiveboard.dev/docs/job/measuring-atoms.md)
- [Comparing jobs](https://hiveboard.dev/docs/compare/compare-jobs.md)
