• 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 2 3 4 5 … 11 Next »
     

     
    • 2 Vote(s) - 5 Average

    Converting Dolby Vision to HDR10

    Specifically profiles 7.6 and 8.1
    Host-in-the-Shell
    Offline

    Member

    Posts: 166
    Threads: 10
    Joined: 2023 Jun
    Reputation: 14
    #21
    2024-11-29, 08:27 PM
    I just noticed that the playback issues I was experiencing seem to come from Dolby TrueHD audio track, whenever I select Dolby Digital it plays back normally.
    Server specs => OS: Debian 12 | GPU: Arc A380 | CPU: Ryzen 5 5600X | 64GB RAM | 56TB
    NavicNick
    Offline

    Junior Member

    Posts: 10
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #22
    2024-11-30, 10:37 PM
    (2024-11-07, 10:06 PM)TheDreadPirate Wrote: This guide has been updated.  Jellyfin-ffmpeg 7.0.2-4 added a bitstream filter to remove Dolby Vision directly in ffmpeg.  dovi_tool is no longer needed at all.  And this still does not require any re-encoding AND can be done with a single ffmpeg command.

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

    Hey, sorry for getting back to you 2 months later, didn't get an email notification...

    But, this worked! Simplifies everything a lot and I don't have any problems. I didn't try any other command other than the single one in your update at the top of the post.
    It does use up a lot of RAM as someone else here mentioned, but not a huge deal for me.

    Thanks again for all your work!
    teddy101
    Offline

    Junior Member

    Posts: 4
    Threads: 0
    Joined: 2024 Dec
    Reputation: 0
    Country:Norway
    #23
    2024-12-16, 06:26 PM (This post was last modified: 2024-12-16, 06:32 PM by teddy101. Edited 1 time in total.)
    When i run this command: ffmpeg -y -hide_banner -stats -fflags +genpts+igndts -loglevel error -i "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 "hrd10-video.mkv"

    I get the following error:
    [out#0/matroska @ 0000016a23ce3540] Could not write header (incorrect codec parameters ?): Invalid data found when processing input

    What am i doing wrong?

    File information:

    Metadata:
    title :
    encoder : libebml v1.4.4 + libmatroska v1.7.9
    Duration: 03:24:26.53, start: 0.000000, bitrate: 19236 kb/s
    Chapters:
    Chapter #0:0: start 0.000000, end 11657.000000
    Metadata:
    title : Start
    Chapter #0:1: start 11657.000000, end 12266.528000
    Metadata:
    title : Credits
    Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(pc), 3840x2160 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 1k tbn (default) (dub)
    Metadata:
    title :
    Side data:
    DOVI configuration record: version: 1.0, profile: 5, level: 6, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 0, compression: 0
    Stream #0:1(eng): Audio: eac3 (Dolby Digital Plus + Dolby Atmos), 48000 Hz, 5.1(side), fltp, 768 kb/s (default) (original)
    Metadata:
    title :
    Stream #0:2(eng): Subtitle: subrip (srt) (dub)
    Metadata:
    title :
    Stream #0:3(chi): Subtitle: subrip (srt) (dub)
    Metadata:
    title : Simplified
    Stream #0:4(chi): Subtitle: subrip (srt) (dub)
    Metadata:
    title : Traditional
    Stream #0:5(eng): Subtitle: subrip (srt) (dub) (hearing impaired)
    Metadata:
    title : SDH
    teddy101
    Offline

    Junior Member

    Posts: 4
    Threads: 0
    Joined: 2024 Dec
    Reputation: 0
    Country:Norway
    #24
    2024-12-16, 08:14 PM
    Also do you have an example line showing how to convert it to av1?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #25
    2024-12-16, 10:48 PM (This post was last modified: 2024-12-17, 12:32 PM by TheDreadPirate. Edited 1 time in total.)
    This guide only applies to DV7 and DV8. Your video is DV5.

    DV7 and DV8 add "enhancement layers" to the high dynamic range BT2020 (HDR10) color space. DV5 is like HDR10 in that it is a native high dynamic range color space (IPTPQc2).

    Having said that, DV5 is also very compatible. Most devices should support it.

    I have no idea what would happen if you tried to convert it to AV1.
    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]
    lakinreid
    Offline

    Junior Member

    Posts: 24
    Threads: 6
    Joined: 2024 May
    Reputation: 0
    Country:United States
    #26
    2024-12-17, 02:17 AM
    So I'm attempting to use the updated line of code, but can't seem to get it working.. Am I running the powershell window in the wrong place? This is my first time dealing with FFMPEG and very much a novice at command line prompts, so please excuse my ignorance..


    Attached Files Thumbnail(s)
       
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,035
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #27
    2024-12-17, 02:42 AM
    (2024-12-17, 02:17 AM)lakinreid Wrote: So I'm attempting to use the updated line of code, but can't seem to get it working.. Am I running the powershell window in the wrong place? This is my first time dealing with FFMPEG and very much a novice at command line prompts, so please excuse my ignorance..

    You only typed the arguments for the program. You need to first call the executable, then pass the arguments. See the example below:

    Code:
    .\ffmpeg.exe -y -hide_banner -stats -fflags ............
    1
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #28
    2024-12-17, 12:33 PM
    What theguymadmax said.
    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]
    teddy101
    Offline

    Junior Member

    Posts: 4
    Threads: 0
    Joined: 2024 Dec
    Reputation: 0
    Country:Norway
    #29
    2024-12-17, 01:22 PM
    (2024-12-16, 10:48 PM)TheDreadPirate Wrote: This guide only applies to DV7 and DV8.  Your video is DV5.

    DV7 and DV8 add "enhancement layers" to the high dynamic range BT2020 (HDR10) color space.  DV5 is like HDR10 in that it is a native high dynamic range color space (IPTPQc2).

    Having said that, DV5 is also very compatible.  Most devices should support it.

    I have no idea what would happen if you tried to convert it to AV1.

    Thanks for your answer. Since the video is DV5. What should the command below look like to get it to convert the DV5 Video to HDR?

    ffmpeg -y -hide_banner -stats -fflags +genpts+igndts -loglevel error -i "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 "hrd10-video.mkv"
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #30
    2024-12-17, 03:04 PM (This post was last modified: 2024-12-17, 03:05 PM by TheDreadPirate. Edited 2 times in total.)
    No modification of the commands in this guide will make it work with DV5 since all the command does is remove the DV enhancement layer of DV 7 and 8, which doesn't exist with DV5.

    Converting DV5 to HDR10 is NOT a simple process as that would involve converting the color space from IPTPQc2 to BT2020. It would be slow and involve re-encoding.

    Also, I have not figure out what that command would even be.

    But, as I stated, DV5 is already highly compatible with most devices. HDR10 is NOT better than DV7 and DV8. But DV7 and DV8 have compatibility issues with some clients and THAT is the reason for this guide. HDR10 is highly compatible with many clients. But so is DV5.
    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 2 3 4 5 … 11 Next »
     

    « Next Oldest | Next Newest »

    Users browsing this thread: 4 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