Skip to content

Direct play of AV1 Dolby Vision in mp4 not possible #7448

@Kleinrotti

Description

@Kleinrotti

This issue respects the following points:

  • This issue is not already reported on GitHub (I've searched it).
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Describe the bug

When opening a video file encoded in AV1 Dolby Vision with mp4, direct play is not possible. The Player closes instantly (disabled remuxing/re-encoding for my user).
The file is muxed with mp4box with faststart (-inter 500) and :dvp=f10.hdr10:hdr=none:stype=av01.

Tested with Microsoft Edge 143.0.3650.96 on Windows 11 and LG OLED 2025 Model with Jellyfin App.

When I open the video file on my PC from the file explorer with Microsoft Edge the video plays fine.
The video also plays fine when I open it on my LG TV directly from USB drive.

If I remove the Dolby Vision metadata and only leave HDR10 in, the file also plays in Jellyfin with direct play on both Windows 11 and my LG TV.

When I allow remuxing for my user in Jellyfin, the file plays but Dolby Vision is lost and only HDR10 is detected.

Reproduction Steps

  1. Encode video as AV1 Dolby Vision
  2. Mux with mp4box

Expected/Actual behaviour

Direct play without remuxing should work for the video file.

Media info of the file

G: MPEG-4, 35.4 MiB, 1 min 7 s, 4 369 kb/s

V: AV1, [email protected], 3840x2160, 23.976 FPS, 14.2 Mb/s

T: German, Timed Text, Default, Forced


General

Complete name                   : C:\Users\user\Desktop\Testfile.mp4
Format                          : MPEG-4
Format profile                  : Base Media
Codec ID                        : iso4 (iso4/av01)
File size                       : 35.4 MiB
Duration                        : 1mn 7s
Overall bit rate mode           : VBR
Overall bit rate                : 4369 Kbps
Frame rate                      : 23.976 fps
Encoded date                    : 2025-12-24 16:53:25 UTC
Tagged date                     : 2025-12-24 16:53:25 UTC
Writing application             : GPAC-2.5-DEV-rev1823-g551273021-master

Video

ID                              : 1
Format                          : AV1
Format/Info                     : AOMedia Video 1
Format profile                  : [email protected]
HDR format                      : Dolby Vision, Version 1.0, Profile 10.1, dav1.10.06, BL+RPU, no metadata compression, HDR10 compatible / SMPTE ST 2094 App 4, Version HDR10+ Profile B, HDR10+ Profile B compatible
Codec ID                        : av01
Duration                        : 20s 853ms
Bit rate                        : 14.2 Mbps
Maximum bit rate                : 31.8 Mbps
Width                           : 3840 pixel
Height                          : 2160 pixel
Display aspect ratio            : 16:9
Frame rate mode                 : CFR
Frame rate                      : 23.976 (24000/1001) fps
Color space                     : YUV
Chroma subsampling              : 4:2:0 (Type 2)
Bit depth                       : 10 bit
Bits/(Pixel*Frame)              : 0.072
Stream size                     : 35.4 MiB (100%)
Encoded date                    : 2025-12-24 16:53:25 UTC
Tagged date                     : 2025-12-24 16:53:25 UTC
Color range                     : Limited
Color primaries                 : BT.2020
Transfer characteristics        : PQ
Matrix coefficients             : BT.2020 non-constant
Mastering display color primaries: Display P3
Mastering display luminance     : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level     : 1603 cd/m2
Maximum Frame-Average Light Level: 446 cd/m2
CodecConfigurationBox           : av1C+dvvC

Text

ID                              : 2
Format                          : Timed Text
Codec ID                        : tx3g
Duration                        : 1mn 7s
Duration_FirstFrame             : 1mn 3s
Bit rate mode                   : VBR
Bit rate                        : 5 bps
Frame rate                      : 0.044 fps
Stream size                     : 39.0 Byte (0%)
Title                           : German (Forced)
Language                        : German
Default                         : Yes
Forced                          : Yes
Alternate group                 : 2
Encoded date                    : 2025-12-24 16:53:25 UTC
Tagged date                     : 2025-12-24 16:53:25 UTC
Count of events                 : 1

Logs

Image

FFmpeg logs

[2025-12-24 17:44:25.918 +00:00] [INF] [20] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "cedric". EnablePlaybackRemuxing: False EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False
[2025-12-24 17:44:26.322 +00:00] [INF] [79] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.11.5" playing "Testfile". Stopped at "0" ms

Server version

10.11.5

Web version

10.11.5

Build version

10.11.5

Platform

Windows 11

Browser

Microsoft Edge

Additional information

I can provide a sample file if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplaybackThis PR or issue mainly concerns playback

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions