• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Guides, Walkthroughs & Tutorials Converting Dolby Vision to HDR10

     
    • 2 Vote(s) - 5 Average

    Converting Dolby Vision to HDR10

    Specifically profiles 7.6 and 8.1
    SquishySquash
    Offline

    Junior Member

    Posts: 20
    Threads: 8
    Joined: 2024 Dec
    Reputation: 0
    Country:Poland
    #97
    2025-02-18, 10:50 PM (This post was last modified: 2025-02-18, 10:54 PM by SquishySquash. Edited 2 times in total.)
    Hello, I tried using the one-liner from updated guide on my file that contains Dolby Vision metadata Dolby Vision, Version 1.0, Profile 5, dvhe.05.06, BL+RPU, no metadata compression. I wanted to do it because this file does not play correctly on my devices that do not have Dolby Vision capable screen. On these devices when playing this file it displays wrong colors, everything is purple-greenish, like on my PC using VLC media player. Of course file plays correctly on my TV which is DV capable.

    So first I downloaded Jellyfin FFMPEG from here https://github.com/jellyfin/jellyfin-ffm...g/v7.0.2-9 The Windows version. Then I used your command pointing it to my MKV file:

    Code:
    ffmpeg -y -hide_banner -stats -fflags +genpts+igndts -loglevel error -i "D:\StarWars.mkv" -map 0 -bsf:v hevc_metadata=remove_dovi=1 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled hdr10_video.mkv

    but it kept erroring out despite path to file being correct

    Code:
    [out#0/matroska @ 000001f8d79b9b00] Could not write header (incorrect codec parameters ?): Invalid data found when processing input

    Now I figured it may be because of DV profile 5. You mentioned that the guide is focusing on Dolby Vision profile 7 and 8 files so using dovi tools I converted the file to 8.1 profile first extracting HEVC file from MKV then executing dovi tools with

    Code:
    D:\>dovi_tool -m 3 convert starwars.hevc

    command 3 " Converts profile 5 to 8.1. " and then remuxing new HEVC file back into MKV. This produced a new entry in MediaInfo: Dolby Vision, Version 1.0, Profile 8.2, dvhe.08.06, BL+RPU, no metadata compression, SDR compatible

    The converted file still produced wrong colors when played it so I ran ffmpeg with same command as above and now it ran. The problem is that once its done MediaInfo on the HDR10 file reports that there is no HDR data at all in the file. Jellyfin also recognizes the file as SDR. But now it plays in wrong color everywhere, even on my TV where it worked all right before all the conversions.

    What did go wrong? I'm attaching mediainfo on original, after dovitool and after ffmpeg.

    (2024-08-06, 09:25 PM)TheDreadPirate Wrote: ****This guide has been updated****

    Jellyfin-ffmpeg 7.0.2-4 added a feature to remove Dolby Vision directly.  The process of removing Dolby Vision can now be accomplished with a single ffmpeg command, greatly simplifying the process.  I am leaving the original walkthrough for those on non-Jellyfin builds of ffmpeg or jellyfin-ffmpeg6.

    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -y -hide_banner -stats -fflags +genpts+igndts -loglevel error -i "/path/to/dv_video.mkv" -map 0 -bsf:v hevc_metadata=remove_dovi=1 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled hdr10_video.mkv

    And that is it.  Still no re-encoding required.

    A bonus feature: If you do re-encode, to AV1 specifically, you can skip using the bitstream filter entirely.  Re-encoding to AV1 will automatically strip the Dolby Vision EL and RPU while maintaining the BT2020 HDR10 color space.

    =========================================================================


    Attached Files
    .txt   dovitool.MediaInfo.txt (Size: 12.92 KB / Downloads: 45)
    .txt   hdr10_video.mkv.MediaInfo.txt (Size: 12.92 KB / Downloads: 45)
    .txt   original.MediaInfo.txt (Size: 12.92 KB / Downloads: 45)
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    Messages In This Thread
    Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-08-06, 09:25 PM
    RE: Converting Dolby Vision to HDR10 - by NavicNick - 2024-08-23, 07:17 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-08-23, 07:27 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-08-23, 10:48 PM
    RE: Converting Dolby Vision to HDR10 - by NavicNick - 2024-08-23, 10:04 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-08-23, 10:23 PM
    RE: Converting Dolby Vision to HDR10 - by NavicNick - 2024-08-23, 10:26 PM
    RE: Converting Dolby Vision to HDR10 - by NavicNick - 2024-08-24, 05:04 AM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-08-24, 04:30 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-08-24, 08:39 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-08-24, 09:17 PM
    RE: Converting Dolby Vision to HDR10 - by NavicNick - 2024-08-25, 08:34 PM
    RE: Converting Dolby Vision to HDR10 - by NavicNick - 2024-08-25, 09:07 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-09-28, 04:03 AM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-11-07, 10:06 PM
    RE: Converting Dolby Vision to HDR10 - by NavicNick - 2024-11-30, 10:37 PM
    RE: Converting Dolby Vision to HDR10 - by Host-in-the-Shell - 2024-11-09, 05:37 PM
    RE: Converting Dolby Vision to HDR10 - by Dunning Kruger - 2024-11-10, 09:05 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-11-10, 10:00 PM
    RE: Converting Dolby Vision to HDR10 - by Host-in-the-Shell - 2024-11-29, 07:10 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-11-29, 08:03 PM
    RE: Converting Dolby Vision to HDR10 - by Host-in-the-Shell - 2024-11-29, 08:27 PM
    RE: Converting Dolby Vision to HDR10 - by teddy101 - 2024-12-16, 06:26 PM
    RE: Converting Dolby Vision to HDR10 - by teddy101 - 2024-12-16, 08:14 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-12-16, 10:48 PM
    RE: Converting Dolby Vision to HDR10 - by teddy101 - 2024-12-17, 01:22 PM
    RE: Converting Dolby Vision to HDR10 - by lakinreid - 2024-12-17, 02:17 AM
    RE: Converting Dolby Vision to HDR10 - by theguymadmax - 2024-12-17, 02:42 AM
    RE: Converting Dolby Vision to HDR10 - by lakinreid - 2024-12-18, 02:05 AM
    RE: Converting Dolby Vision to HDR10 - by theguymadmax - 2024-12-18, 02:21 AM
    RE: Converting Dolby Vision to HDR10 - by lakinreid - 2024-12-18, 05:20 AM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-12-17, 12:33 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-12-17, 03:04 PM
    RE: Converting Dolby Vision to HDR10 - by teddy101 - 2024-12-17, 03:55 PM
    RE: Converting Dolby Vision to HDR10 - by gnattu - 2024-12-17, 05:30 PM
    RE: Converting Dolby Vision to HDR10 - by gnattu - 2024-12-17, 05:46 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-12-18, 01:46 PM
    RE: Converting Dolby Vision to HDR10 - by fcs001fcs - 2024-12-18, 10:00 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-12-18, 11:24 PM
    RE: Converting Dolby Vision to HDR10 - by fcs001fcs - 2024-12-19, 11:54 AM
    RE: Converting Dolby Vision to HDR10 - by lakinreid - 2024-12-19, 04:31 AM
    RE: Converting Dolby Vision to HDR10 - by theguymadmax - 2024-12-19, 06:03 AM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-12-19, 02:03 PM
    RE: Converting Dolby Vision to HDR10 - by error101 - 2024-12-23, 08:29 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-12-23, 09:28 PM
    RE: Converting Dolby Vision to HDR10 - by error101 - 2024-12-23, 10:56 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2024-12-24, 08:49 AM
    RE: Converting Dolby Vision to HDR10 - by gnattu - 2024-12-24, 09:14 AM
    RE: Converting Dolby Vision to HDR10 - by Host-in-the-Shell - 2025-01-01, 09:13 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-01-01, 11:15 PM
    RE: Converting Dolby Vision to HDR10 - by Host-in-the-Shell - 2025-01-01, 11:58 PM
    RE: Converting Dolby Vision to HDR10 - by lakinreid - 2025-01-03, 11:51 PM
    RE: Converting Dolby Vision to HDR10 - by bitmap - 2025-01-04, 01:19 AM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-01-04, 06:22 PM
    RE: Converting Dolby Vision to HDR10 - by error101 - 2025-01-14, 08:57 PM
    RE: Converting Dolby Vision to HDR10 - by gnattu - 2025-01-14, 10:18 PM
    RE: Converting Dolby Vision to HDR10 - by BotchedMiracle - 2025-01-20, 01:06 AM
    RE: Converting Dolby Vision to HDR10 - by BotchedMiracle - 2025-01-20, 05:55 AM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-01-20, 05:07 PM
    RE: Converting Dolby Vision to HDR10 - by BotchedMiracle - 2025-01-24, 09:55 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-01-24, 10:50 PM
    RE: Converting Dolby Vision to HDR10 - by StaticUnit97 - 2025-02-04, 07:57 PM
    RE: Converting Dolby Vision to HDR10 - by gnattu - 2025-02-04, 09:41 PM
    RE: Converting Dolby Vision to HDR10 - by StaticUnit97 - 2025-02-04, 11:04 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-02-05, 02:05 PM
    RE: Converting Dolby Vision to HDR10 - by StaticUnit97 - 2025-02-05, 04:05 PM
    RE: Converting Dolby Vision to HDR10 - by gnattu - 2025-02-05, 05:56 PM
    RE: Converting Dolby Vision to HDR10 - by Neuron5 - 2025-02-14, 12:59 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-02-14, 01:12 PM
    RE: Converting Dolby Vision to HDR10 - by Neuron5 - 2025-02-15, 02:46 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-02-15, 06:26 PM
    RE: Converting Dolby Vision to HDR10 - by Neuron5 - 2025-02-15, 07:02 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-02-16, 12:52 AM
    RE: Converting Dolby Vision to HDR10 - by Neuron5 - 2025-02-16, 01:05 AM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-02-16, 01:27 AM
    RE: Converting Dolby Vision to HDR10 - by Neuron5 - 2025-02-16, 01:30 AM
    RE: Converting Dolby Vision to HDR10 - by gnattu - 2025-02-16, 01:52 AM
    RE: Converting Dolby Vision to HDR10 - by Neuron5 - 2025-02-16, 03:18 AM
    RE: Converting Dolby Vision to HDR10 - by Shawn Farley - 2025-02-16, 07:32 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-02-16, 07:38 PM
    RE: Converting Dolby Vision to HDR10 - by Shawn Farley - 2025-02-16, 08:33 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-02-16, 10:14 PM
    RE: Converting Dolby Vision to HDR10 - by Shawn Farley - 2025-02-16, 10:25 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-02-16, 10:30 PM
    RE: Converting Dolby Vision to HDR10 - by Shawn Farley - 2025-02-16, 10:55 PM
    RE: Converting Dolby Vision to HDR10 - by Shawn Farley - 2025-02-17, 12:10 AM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-02-17, 01:19 AM
    RE: Converting Dolby Vision to HDR10 - by Shawn Farley - 2025-02-17, 01:38 AM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-02-17, 03:05 PM
    RE: Converting Dolby Vision to HDR10 - by Shawn Farley - 2025-02-17, 03:19 PM
    RE: Converting Dolby Vision to HDR10 - by theguymadmax - 2025-02-17, 03:31 PM
    RE: Converting Dolby Vision to HDR10 - by Shawn Farley - 2025-02-17, 03:39 PM
    RE: Converting Dolby Vision to HDR10 - by theguymadmax - 2025-02-17, 04:20 PM
    RE: Converting Dolby Vision to HDR10 - by Shawn Farley - 2025-02-17, 04:31 PM
    RE: Converting Dolby Vision to HDR10 - by Shawn Farley - 2025-02-17, 04:44 PM
    RE: Converting Dolby Vision to HDR10 - by SquishySquash - 2025-02-18, 10:50 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-02-18, 10:58 PM
    RE: Converting Dolby Vision to HDR10 - by SquishySquash - 2025-02-18, 11:05 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-02-18, 11:16 PM
    RE: Converting Dolby Vision to HDR10 - by SquishySquash - 2025-02-19, 08:04 PM
    RE: Converting Dolby Vision to HDR10 - by gnattu - 2025-02-19, 04:50 AM
    RE: Converting Dolby Vision to HDR10 - by Majesticaveman - 2025-03-31, 01:55 PM
    RE: Converting Dolby Vision to HDR10 - by TheDreadPirate - 2025-03-31, 02:04 PM
    RE: installation Jellyfin on Synology - by fcs001fcs - 2024-12-18, 06:03 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode