Terminal View
Use the terminal view to follow an analysis as it runs and inspect its timeline without leaving your shell. It also opens saved runs. For video playback and sharing a view with another machine, use the browser view.
Add --tui to analyze or compare to open the interactive terminal view. It fills in while the analysis runs and stays open when it is done. The view shows a timeline with one track per metric, a summary table, and a list of events (for example scene changes, freezes, decoder errors or PTS discontinuities). For files with audio, it also shows a loudness track and an audio panel (see Reviewing Saved Results).
- Native Execution
- Docker on Linux and macOS
- Docker on Windows (PowerShell)
surfmeter-media analyze --tui input.ts
docker run --rm -it --user "$(id -u):$(id -g)" \
-v surfmeter-media-config:/config -v "$PWD:/data" \
europe-west3-docker.pkg.dev/aveq-storage/surfmeter/surfmeter-media:latest \
analyze --tui input.ts
docker run --rm -it `
-v surfmeter-media-config:/config -v "${PWD}:/data" `
europe-west3-docker.pkg.dev/aveq-storage/surfmeter/surfmeter-media:latest `
analyze --tui input.ts
In Docker, -it is required for the terminal view. The examples use the registration volume from Registration.
Find your way around
This comparison shows a reference and two encodes from the media test clips. The terminal needs enough width to show the summary and event list side by side.

- Input header: identifies the selected file and its format, video, audio and alignment. The line below names every input and marks the selected one.
- Timeline: each row follows an event or metric across the run. The vertical cursor links a time on the timeline to the values you inspect. Use
mto choose tracks andnorNto jump between events. - Audio panel: shows loudness and peak levels for the selected stream, with the result of each loudness target check.
- Summary and events: the lower panels put overall values for each input beside warnings, target checks and other events. Select a row to inspect it. The footer shows the keys available in the current view;
?opens the full key list.
Press m to choose which metric tracks appear on the timeline. The picker groups metrics by analysis layer. In this saved comparison, the dim pixel metrics marked no data were not computed. During an active run with --tui, selecting an available missing metric can compute it; view only reads saved results.

Press ? to open the keyboard help. Its tabs also explain video events and the audio display. On a short terminal, scroll the help to see the remaining keys.

To also save the results, combine --tui with -o. Saved results can be opened again later with surfmeter-media view (see Reviewing Saved Results).
Press q to quit.
Click to select an input, panel or row, or to move the cursor; use the scroll wheel to zoom the timeline.
In the metric list (m), you can tick metrics that were not computed in the run, for example the pixel metrics in compare, or PSNR after --no-psnr. The toolkit then computes them in the background and fills in their tracks. r shows the state of these jobs. If you saved the run with -o, the new records are added to the output files.