How to Add Pre-Roll Videos and Trailers in Plex
One of the most beloved features among dedicated Plex users is the ability to play custom pre-roll videos before movies begin. These short clips play automatically when you hit play on a movie, recreating the theater experience of watching studio logos, intro sequences, or "feature presentation" bumpers before the main event. Combined with Plex's trailer support, you can build a complete cinema-like experience from your own living room.
This guide covers everything about pre-rolls and trailers in Plex: how to set them up, how to rotate them seasonally, where to find great pre-roll content, and the technical requirements for smooth playback.
What Are Pre-Roll Videos
Pre-rolls are short video clips that play before a movie starts. They are not part of the movie file itself -- they are separate video files that Plex inserts into the playback sequence. When a user presses play on a movie, Plex plays the pre-roll first, then seamlessly transitions to the movie.
Common pre-roll content includes:
- Custom "Welcome to [Your Server Name]" intros
- Classic theater bumpers ("Feature Presentation," "Coming Attractions")
- Seasonal intros (Halloween, Christmas, summer themes)
- Studio logo animations
- Custom-made animations or motion graphics
- Humorous "please silence your phones" reminders
Requirements
Pre-roll videos require a Plex Pass subscription (monthly, annual, or lifetime). This is one of the Plex Pass exclusive features that is not available on free accounts. Trailers, by contrast, are available to all Plex users.
The pre-roll feature works in movie libraries only. It does not apply to TV show episodes, music, or photos.
Setting Up Pre-Roll Videos
Step 1: Prepare Your Video Files
Create or download your pre-roll videos and save them to a folder accessible by your Plex server. The folder does not need to be inside a Plex library -- it just needs to be a path the server can read. A common location is a dedicated folder like /media/prerolls/ or C:\PreRolls\.
Step 2: Configure the Pre-Roll Path
In the Plex Web interface, go to Settings, Server, Extras. Find the "Cinema Trailers pre-roll video" field. Enter the full path to your pre-roll video file:
/media/prerolls/welcome.mp4
That is all it takes for a single pre-roll. Every time someone plays a movie, the welcome video plays first.
Step 3: Test It
Play any movie on your server. The pre-roll should play before the movie begins. If it does not appear, verify that the file path is correct and that the Plex server process has read permissions on the file.
Multiple Pre-Rolls with Random Selection
A single pre-roll gets repetitive quickly. Plex supports multiple pre-rolls with random selection, so a different intro plays each time. Separate multiple file paths with semicolons:
/media/prerolls/welcome1.mp4;/media/prerolls/welcome2.mp4;/media/prerolls/welcome3.mp4
Plex randomly selects one of the listed files each time a movie starts. This keeps the experience fresh without any manual intervention.
You can also use commas instead of semicolons, but the behavior is different. Comma-separated paths play sequentially (all of them, in order), while semicolon-separated paths play one at random. For most users, semicolons (random selection) is the better choice.
Seasonal Pre-Rolls with Date Ranges
One of the most popular uses of pre-rolls is seasonal theming. Play a spooky intro during October, a holiday-themed intro in December, and a standard intro the rest of the year. Plex supports this through date-range syntax in the pre-roll path field.
The format uses the daterange() function:
/media/prerolls/halloween1.mp4;/media/prerolls/halloween2.mp4:daterange(10/01-10/31)
/media/prerolls/christmas1.mp4;/media/prerolls/christmas2.mp4:daterange(12/01-12/31)
/media/prerolls/summer.mp4:daterange(06/01-08/31)
/media/prerolls/default1.mp4;/media/prerolls/default2.mp4
Each line (entered on a new line in the settings field) defines a set of pre-rolls with an optional date range. During October, Plex randomly selects from the Halloween pre-rolls. During December, it uses the Christmas ones. In summer, the summer intro plays. The last line has no date range, so it serves as the fallback for any dates not covered by the other ranges.
Date ranges use MM/DD format. The year is not specified -- ranges repeat annually. If multiple date ranges overlap, Plex selects from all matching ranges combined.
Video Format Requirements
Pre-roll videos should match the general format of your movie library to avoid transcoding. If your movies are mostly 1080p H.264 with AAC audio, your pre-rolls should be the same. Mismatched formats force Plex to transcode either the pre-roll or the movie (or both) to maintain a consistent stream, which introduces a delay between the pre-roll and the movie.
Recommended specifications:
- Resolution: Match your most common movie resolution (1080p or 4K)
- Codec: H.264 for maximum compatibility, H.265 if your clients support it
- Audio: AAC stereo or AC3 5.1, depending on your typical setup
- Container: MP4 or MKV
- Duration: Keep pre-rolls under 30 seconds. Longer intros test viewers' patience, especially for repeat viewings.
- Frame rate: Match your movie library (typically 24fps for film content)
If you use 4K HDR movies, creating matching 4K HDR pre-rolls requires more effort. Many community pre-rolls are available in 4K SDR, which will cause a format switch when the HDR movie starts. This is noticeable on some displays as a brief flash or mode switch. If this bothers you, either find or create HDR pre-rolls or use 1080p SDR pre-rolls and accept the resolution change.
Trailers Before Movies
Separate from pre-rolls, Plex can play movie trailers before the feature. This is configured in the same Settings, Server, Extras section:
- Number of trailers to play before a movie: Set to 0 to disable, or 1 through 5 to play that many trailers.
- Include trailers from movies in my library: Plays trailers for movies already in your library.
- Include trailers from new and upcoming movies from The Movie Database: Plays trailers for theatrical releases you do not own.
- Include trailers from movies in a similar genre to what I am watching: Filters trailers to match the genre of the selected movie.
The playback order is: pre-roll first, then trailers (if enabled), then the movie. This sequence mirrors the traditional cinema experience of studio bumper, coming attractions, then the feature presentation.
Where to Find Pre-Roll Videos
The Plex community has created a wealth of pre-roll content. Here are the best sources:
- r/PlexPrerolls subreddit: A dedicated community for sharing pre-roll videos. You will find seasonal intros, custom animations, retro theater bumpers, and creative originals. Quality varies, but the best submissions are outstanding.
- Prerolls.video: A curated collection of pre-roll videos organized by theme and season.
- YouTube and Vimeo: Search for "Plex pre-roll" or "home theater intro" to find creators who share their work. Download using legitimate methods where the creator permits it.
- Create your own: Tools like Adobe After Effects, DaVinci Resolve (free), or even Canva can produce simple motion graphics intros. A text animation with your server name over a background makes an effective personalized pre-roll.
Automating Pre-Roll Rotation
Manually updating the pre-roll path for each season is tedious. Community tools can automate this process. Plex Meta Manager includes pre-roll management features that can automatically swap pre-rolls based on date ranges, holidays, or custom schedules. It modifies the Plex server settings via the API, so you configure it once and it handles the rotation.
Another approach is a simple cron job or scheduled task that uses the Plex API to update the pre-roll path. The API endpoint is /:/prefs, and the preference key is CinemaTrailersPrerollID. A script can check the current date and update the value accordingly.
Troubleshooting
If your pre-rolls are not playing:
- Verify Plex Pass: Pre-rolls require an active Plex Pass subscription.
- Check the file path: The path must be accessible from the server process, not just from your browser. On Docker, this means the path must be inside a mounted volume.
- Check file permissions: The Plex user (often
plexon Linux) must have read access to the pre-roll files. - Verify the format: Try a simple MP4 file first to rule out codec issues.
- Check Extras settings: Ensure "Cinema Trailers" is not set to "Disabled" in the library's advanced settings.
Phlix -- The Photo Browser for Plex
Pre-rolls bring the cinema experience to movies. Phlix brings a dedicated experience to your Plex photos with a chronological timeline, offline downloads, and 4K AirPlay slideshows. Free to browse, Pro from $6.99/yr.
Download Phlix FreeiOS 17+ · Works with any Plex Media Server