Skip to content

Seek Previews

Brandon Johnson edited this page Nov 28, 2026 · 1 revision

Seek Previews

Seek previews are the small pictures that appear as you drag the seek bar. Obelo builds them in the background from your own files; nothing is fetched from anywhere.


What gets made

  • One frame every 10 seconds, 320 px wide, HDR tone-mapped to SDR, packed into JPEG sheets of 10 x 8 frames. A two-hour film is about 720 frames, nine sheets.
  • None of this is configurable, and there is no environment variable for it.
  • They are stored under <OBELO_DATA_DIR>/seekpreviews/<file id>/. That is a cache you can rebuild, so it is not worth backing up, but it does count toward the size of your data directory.
  • Movie and TV libraries only, and only for local libraries. Music libraries and linked libraries have no switch; a linked library uses the pictures from the server that owns it.
  • On by default for each Movie and TV library.

Turning it on or off

Admin: Edit library → Seek Previews.

  • Enable Seek Previews is the per-library switch. It reads "Unavailable" and is disabled when the server has no usable ffmpeg.
  • The tab shows coverage ("N of M files have seek previews"), and a count of failures. Show failed lists each file with the reason and path, and a Retry button. Retry all retries every failure.
  • Delete seek previews removes every picture of that library and turns generation off for it. Turn it back on to generate them again.
  • Turning the switch off only stops new generation. Pictures already made stay and are still served.

On a title or show page, an admin also sees Generate seek previews now. It regenerates regardless of the switch and retries failures.

When they are generated

  • At server start (anything missing is queued) and after every scan.
  • Newest-added files first; a file that is being played jumps the queue.
  • They wait while any transcode is running, and take no transcode slot.
  • They share one background lane with marker detection, one heavy job at a time.
  • One ffmpeg per frame, on the CPU only (hardware acceleration is not used), at the lowest CPU priority. Frames are taken from the keyframe at or before each time, so a picture can be a few seconds early.
  • How long a first pass over a large library takes depends on your hardware; it has not been measured.

What happens when files change

  • If a file's modification time or size changes, its previews are deleted and queued again.
  • While a file is missing (for instance a drive is unmounted) its previews are kept.
  • They are removed when the file is purged from the library.

Failures

A failed file shows a one-line reason and is not retried until the file changes or you press Retry, Retry all or Generate now. Typical reasons:

Reason Meaning
ffmpeg lacks zscale; cannot tone-map HDR Your ffmpeg build cannot convert HDR frames. Use a build with zscale (the Docker image's, for example). It is re-checked on retry.
file not found The file is gone from disk.
frame N: … or raw ffmpeg output ffmpeg could not decode that frame.
decoded an empty frame, frame N is WxH, the first was WxH The file produced unusable or inconsistent frames.

With no usable ffmpeg at all the feature is off and the boot log says obelo: seek previews: off — no usable ffmpeg.

Clients

The web app's seek bar uses them. Native apps use them where they support it. If a file has none yet, clients simply show no picture. Starting playback of a file moves it to the front of the generation queue, so its previews usually appear shortly after.

See also Troubleshooting and Hardware Transcoding.

Obelo

Home

Getting started

Reference

Going further

Plugins

Sharing with another household

Reaching it from away

When it breaks

Clone this wiki locally