Force-transcodes specific video codecs to a target codec for configured device and user combinations, bypassing Jellyfin's normal direct-play and remux decisions.
Jellyfin relies on the client's declared device profile to decide whether to direct-play, remux, or transcode. Some devices claim support for codecs like HEVC or AV1 in their profile but cannot actually decode those streams, resulting in playback failures or blank screens.
This plugin lets you override that decision on a per-device, per-user basis without touching Jellyfin core or the device profile itself.
The plugin registers a global MVC action filter that intercepts every POST /Items/{id}/PlaybackInfo request. When the requesting device+user match a configured profile, the plugin patches the device profile in-place before Jellyfin's stream builder evaluates it:
- Removes the source codecs from all video
DirectPlayProfiles— so the stream builder cannot choose direct-play for those codecs. - Sets the target codec on all video
TranscodingProfiles— so the only remaining option is to transcode to that codec.
The patch is applied per-request; no state is written to disk and the client's stored capabilities are not modified.
- In the Jellyfin dashboard go to Plugins → Repositories and add:
https://raw.githubusercontent.com/denisgabriel5/jellyfin-plugin-forcetranscoding/master/manifest.json - Go to Plugins → Catalogue, find Force Transcoding, and install.
- Restart Jellyfin.
- Download
Jellyfin.Plugin.ForceTranscode.zipfrom the Releases page. - Extract the DLL and create
<jellyfin-data>/plugins/ForceTranscode_0.1.4.0/. - Copy the DLL and
meta.jsoninto that folder. - Restart Jellyfin.
meta.json
{
"id": "3c5f2d1a-8b4e-4f7c-a92d-1e6b0f3d9c2a",
"name": "Force Transcoding",
"version": "0.1.4.0",
"targetAbi": "10.11.8.0",
"overview": "Force-transcode video codecs per device and user",
"description": "Force-transcodes video codecs per device and user combination.",
"owner": "denisgabriel5",
"category": "General"
}Open Dashboard → Plugins → Force Transcoding → Settings.
- Click New Profile.
- Give it a name (e.g. "Living Room TV").
- Select the device the profile applies to. Devices that have never connected to Jellyfin won't appear — play any video from the device first, then reload the page.
- Check the source codecs to intercept (e.g. HEVC / H.265).
- Choose the target codec to transcode to (default: H.264).
- Check the users this profile applies to, or click Select All.
- Click Save.
| Option | Codecs intercepted |
|---|---|
| HEVC / H.265 | hevc, h265, dvhe, dvh1 (incl. Dolby Vision) |
| AV1 | av1 |
| VP9 | vp9 |
| MPEG-2 | mpeg2video |
| Option | Notes |
|---|---|
| H.264 | Most compatible — recommended default |
| H.265 / HEVC | Higher quality; device must support HEVC decoding |
| AV1 | Best compression; requires modern hardware encoder |
| VP9 | Open codec; good browser compatibility |
- Jellyfin 10.11.8 or later
- The user's Jellyfin policy must allow at minimum "Allow media playback that requires conversion without re-encoding" (remuxing). For transcoding to work, "Allow video playback that requires transcoding" must also be enabled.
- Only intercepts
POST /Items/{id}/PlaybackInfo. Clients using cached sessions or other playback endpoints may bypass the filter. - Each client app registers as a separate device in Jellyfin (e.g. "Jellyfin for Roku" and "Jellyfin Web" on the same TV appear as two devices). Create separate profiles if you need to target specific apps.
- When a client sends no device profile in the request body, the plugin seeds the profile from the device's stored capabilities. If those are absent, a minimal HLS fallback is used which may restrict direct-play for all formats.
git clone https://github.com/denisgabriel5/jellyfin-plugin-forcetranscoding.git
cd jellyfin-plugin-forcetranscoding
dotnet build Jellyfin.Plugin.ForceTranscode/Jellyfin.Plugin.ForceTranscode.csproj -c Releasedotnet test Jellyfin.Plugin.ForceTranscode.Tests/