• 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

    Pages (11): « Previous 1 … 7 8 9 10 11 Next »
     

     
    • 2 Vote(s) - 5 Average

    Converting Dolby Vision to HDR10

    Specifically profiles 7.6 and 8.1
    Shawn Farley
    Offline

    Junior Member

    Posts: 10
    Threads: 0
    Joined: 2025 Feb
    Reputation: 0
    #91
    2025-02-17, 03:19 PM
    What new File? I copied the original file to a test folder and ran the program. It doesn't created a new file though and doesn't look like it modified the original file either.
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,117
    Threads: 0
    Joined: 2024 Jun
    Reputation: 59
    #92
    2025-02-17, 03:31 PM
    (2025-02-17, 03:19 PM)Shawn Farley Wrote: What new File? I copied the original file to a test folder and ran the program. It doesn't created a new file though and doesn't look like it modified the original file either.

    when you run this command:
    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -y -hide_banner -stats -fflags +genpts+igndts -loglevel error -i "/data/temp/Test/Alien.1979.Directors.Cut.HYBRID.2160p.BluRay.REMUX.HEVC.DV.DTS-HD.MA.5.1-Flights.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

    The original file remains unmodified. The command generates a new file, which in this case you've named "hdr10_video.mkv."
    Shawn Farley
    Offline

    Junior Member

    Posts: 10
    Threads: 0
    Joined: 2025 Feb
    Reputation: 0
    #93
    2025-02-17, 03:39 PM (This post was last modified: 2025-02-17, 03:43 PM by Shawn Farley.)
    I don't see a new file is it suppose to save in the same folder.

    The only thing I see happen is the disk utilization goes up to 95% for a few hours and that's it.
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,117
    Threads: 0
    Joined: 2024 Jun
    Reputation: 59
    #94
    2025-02-17, 04:20 PM
    You can search your filesystem for the file. Or specify the file path you want to save the file /path/to/file/hdr10_video.mkv in your command.
    Shawn Farley
    Offline

    Junior Member

    Posts: 10
    Threads: 0
    Joined: 2025 Feb
    Reputation: 0
    #95
    2025-02-17, 04:31 PM
    ohh I see a file now.
    Shawn Farley
    Offline

    Junior Member

    Posts: 10
    Threads: 0
    Joined: 2025 Feb
    Reputation: 0
    #96
    2025-02-17, 04:44 PM
    Looks like it worked thnx so much for the help guys.
    SquishySquash
    Offline

    Junior Member

    Posts: 18
    Threads: 7
    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: 32)
    .txt   hdr10_video.mkv.MediaInfo.txt (Size: 12.92 KB / Downloads: 36)
    .txt   original.MediaInfo.txt (Size: 12.92 KB / Downloads: 34)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #98
    2025-02-18, 10:58 PM
    This process is explicitly for DV 7 and 8. I don't have any DV5 content to test with nor have I tried to figure out that process.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    SquishySquash
    Offline

    Junior Member

    Posts: 18
    Threads: 7
    Joined: 2024 Dec
    Reputation: 0
    Country:Poland
    #99
    2025-02-18, 11:05 PM
    Yes thats why my second attempt was with DV8 file (HDR format: Dolby Vision, Version 1.0, Profile 8.2, dvhe.08.06, BL+RPU, no metadata compression, SDR compatible) and it produced wrong results.

    (2025-02-18, 10:58 PM)TheDreadPirate Wrote: This process is explicitly for DV 7 and 8.  I don't have any DV5 content to test with nor have I tried to figure out that process.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #100
    2025-02-18, 11:16 PM
    But the 8.2 was converted from the DV5 source, correct? I'll eventually get around to getting a DV5 test file and experiment with using dovi_tool to convert it to HDR10. Mostly for the lulz.

    Personally, I wouldn't bother converting DV5 videos to HDR10. Some Android TV devices use mediatek SoCs, and some of those models have driver bugs that break Dolby Vision 7 and 8. And one of my devices also has a mediatek chipset.

    That is in addition to my re-encoding all my media to AV1, which doesn't support DV 7 or 8.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (11): « Previous 1 … 7 8 9 10 11 Next »
     

    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • 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