stevezau/media_preview_generator
À propos
Media Preview Generator makes scrubbing previews and Skip Intro and Skip Credits markers for Plex, Emby and Jellyfin.
Design et médiasProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +6
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalMedia Preview Generator
Media Preview Generator makes scrubbing previews and Skip Intro and Skip Credits markers for Plex, Emby and Jellyfin.
It runs in Docker and uses an NVIDIA, Intel or AMD GPU (NVIDIA only on Windows), or the CPU.
Explore the docs »
Quick start
·
How it compares
·
Ask a question
·
Report a bug

Tears of Steel, (CC) Blender Foundation | mango.blender.org, CC BY 3.0.
What it does
Plex, Emby and Jellyfin make previews inside the server, mostly on the CPU and on a schedule. On a big library that takes days, and the episode that arrived tonight has a blank timeline until the next maintenance window.
This app makes the previews on your GPU as each file arrives, for example when Sonarr or Radarr imports it. When more than one server holds the file, it decodes the file once and writes each server's own format.
It also finds each file's intro and end credits once and sends the markers to every server that has the file. When it isn't sure, it sends nothing. You can add or adjust a marker in the Inspector.
What it looks like
| Dashboard |
|---|
![]() |
| A finished job: one file, previews on all three servers |
|---|
![]() |
| Automation: the webhook URL to paste into Sonarr or Radarr |
|---|
![]() |
Features
Fast previews on your GPU
NVIDIA, Intel or AMD on Linux, NVIDIA on Windows, or the CPU. If one GPU can't read a file, your other GPUs try, then the CPU. HDR and Dolby Vision previews keep their colors (see HDR).
Starts when a file arrives
Sonarr, Radarr, Tdarr and your media server can tell the app about new files. Schedules and the Recently added scan catch the rest, or pick a show, movie or folder yourself. See webhooks and schedules.
One file, every server
Plex and Emby get BIF files, Jellyfin gets trickplay. Files with current previews are skipped, and a replaced file, such as a Radarr upgrade, is redone. If a server hasn't picked up a new file yet, the app tries again a few minutes later.
Skip Intro and Skip Credits
The app finds intros and end credits and sends the markers to each server. Plex needs Plex Pass, Emby needs Premiere for Skip Intro, and Jellyfin and Emby need this app's plugin. It is off until you turn it on. See what each server needs.
Plex chapter thumbnails and loudness
Chapter thumbnails fill Plex's chapter menu. Loudness analysis measures each file's audio so Plex can even out volume. Both need Plex 1.43.4 or newer and are off until you turn them on. See chapter thumbnails and loudness.
Shows what's missing and why
Setup Health checks each server's settings and offers fixes. Library Health counts the files in each library that still need previews, markers, chapter thumbnails or loudness. The Inspector shows one file on every server.
Runs when and where you choose
Worker groups set which GPUs and CPUs do which jobs, and at what hours. The Pause schedule stops all work in set windows. A GPU in another machine can join as a worker node, and a Plex database node serves a Plex on another machine or on Windows.
Everything else is in the guides.
Where it fits
Plex Skip Intro and Skip Credits markers, chapter thumbnails and loudness write Plex's database, so they need this app on the Plex machine or a Plex database node beside it.
This app sits next to Sonarr, Radarr and Tdarr and takes over the server's own preview job. Once it runs, the server's own generation is the same work done twice. The Setup Health tab says which setting to turn off on each server and which to leave on. Switching Jellyfin's trickplay off deletes the tiles this app wrote.
If your server's own generator keeps up, you don't need this. See how it compares.
Quick start
You need:
- Docker.
- Plex, Emby or Jellyfin (10.10 or newer), reachable from the container.
- Write access where previews go: Plex's config folder, or the media folder for Emby and Jellyfin.
- Optionally a GPU: its driver on the host, plus the NVIDIA Container Toolkit for NVIDIA on Linux.
docker run -d \
--name media-preview-generator \
--restart unless-stopped \
-p 8080:8080 \
--device /dev/dri:/dev/dri \
-e PUID=1000 -e PGID=1000 \
-v /path/to/media:/media \
-v /path/to/plex/config:/plex \
-v /path/to/app/config:/config \
stevezzau/media_preview_generator:latest
- Intel or AMD: keep
--device /dev/drias above. NVIDIA: use--gpus all -e NVIDIA_VISIBLE_DEVICES=all -e NVIDIA_DRIVER_CAPABILITIES=allinstead. No GPU, or on Windows or macOS: delete the--device /dev/driline. - Plex writes into
/plex, so the media mount can be:ro. Emby, and Jellyfin in its default layout, write next to each video, so for them the media mount must be read-write. Without Plex, drop the/plexmount. - Open
http://YOUR_IP:8080and sign in with the access token saved inauth.jsonin your app config folder (or set your own with-e WEB_AUTH_TOKEN=...). Then follow the setup wizard. - The Docker Hub account is
stevezzau(two z's), so the image isstevezzau/media_preview_generator. The oldplex_generate_vid_previewsimage gets no updates. Switch to this one.
Docker Compose, Unraid and GPU details: Getting started.
Documentation
The docs are also a website: mediapreviewgenerator.dev.
| Page | What's in it |
|---|---|
| Getting started | Docker, GPUs, mounts, Unraid, networking |
| Guides | The web UI, webhooks, schedules, troubleshooting |
| Remote nodes | Another machine's GPU, and Plex on another machine or Windows |
| Multi-server | Plex, Emby and Jellyfin from one instance |
| Reference | Every setting, environment variable and API endpoint |
| FAQ | Windows, GPUs, RAM, skipped files |
| How it compares | Plex, Jellyfin and Emby built-in generation, side by side |
| Skip Intro and Skip Credits | What each server needs, how they're found, limits |
Support the project
This app is free and MIT licensed.
- Star it on GitHub to help other server owners find it.
- Buy me a coffee on Ko-fi. No account needed.
Get help
- Previews don't show up? Open the server's Setup Health tab in the app. It names the setting that's in the way.
- Not sure it's a bug? Ask in Discussions.
- Found a bug? Open an issue with the app version and what you tried.
License
MIT, see LICENSE. Development is AI-assisted (Claude).
Explorer des projets similaires
Chargement…


