• 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 Off Topic General Discussion Convert Dolby Vision to MKV

    Pages (3): 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    Convert Dolby Vision to MKV

    How to convert DV to MKV with ffmpeg
    alan
    Offline

    Junior Member

    Posts: 21
    Threads: 7
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #1
    2023-07-23, 09:56 PM
    My LG TV doesn't like DV movies in JF (no problem streaming them).
    How can I convert a DV to MKV likely using ffmpeg (open to other options)?
    Linux Mint (main) & Win 11
    JF latest on both
    Intel i7 on both
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-07-23, 10:04 PM
    Did you enable transcoding and tone mapping?
    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]
    alan
    Offline

    Junior Member

    Posts: 21
    Threads: 7
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #3
    2023-07-23, 10:25 PM (This post was last modified: 2023-07-23, 10:26 PM by alan. Edited 1 time in total.)
    It's a 4K TV with JF client usually so doesn't need to transcode though it is enabled. Where's tonemapping located? Still hunting for it.
    The gotcha is the DV container doesn't play well with the LG G3 hence the re-encode. Running on Win 10.
    Linux Mint (main) & Win 11
    JF latest on both
    Intel i7 on both
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-07-23, 11:46 PM
    Same location as the transcoding settings. Settings > Dashboard > Playback. About halfway down the page. "Enable Tone Mapping", a bit further down from "Enable VPP Tone Mapping".
    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]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2023-07-23, 11:53 PM
    Also, what kind of hardware does your server have?
    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]
    alan
    Offline

    Junior Member

    Posts: 21
    Threads: 7
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #6
    2023-07-24, 06:25 AM
    Do not see "Enable Tone Mapping" under Dashboard > Playback. This is 10.8.10 on Windows 10 x64. No hardware accceleration is enabled. CPU is i7-6700 (Skylake), 16GB RAM, over 20TB disk. How would tone mapping resolve DV?
    Linux Mint (main) & Win 11
    JF latest on both
    Intel i7 on both
    bitmap
    Offline

    Community Moderator

    Posts: 776
    Threads: 9
    Joined: 2023 Jul
    Reputation: 24
    #7
    2023-08-08, 08:06 AM
    So....two things. First off, there's not really enough info to diagnose the issue here. Are you experiencing green or purple hues? That indicates a DV metadata reading issue, which could be related to a few issues, but likely one in particular -- to the point that MP4 is coming back into vogue for DV fanatics. Or is it a playback error? In that case, it's time for a good old-fashioned log hunt and you probably want to post your logs or a snippet after you recreate the issue.

    Second, wondering if this has to do with the DV profile issues that have been plaguing folks for forever? I don't believe the most recent server update resolved any of them. The fix? Use DV in MP4 containers or have media with HDR/HDR10 fallback metadata.

    Okay, maybe three things. Depending on your version of ffmpeg, most current releases aren't capable of transferring DolbyVision metadata during encoding. I'm not sure about 6+ or custom-built versions, but the docs don't seem to have anything and all the help I've been able to find has wild, circuitous workarounds just like it always has.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    alan
    Offline

    Junior Member

    Posts: 21
    Threads: 7
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #8
    2023-08-08, 09:07 PM
    The issue is Dolby Vision videos playing in green hues. I understand it's a container issue but it's not quite as simple as converting to an MP4. There are tools out there, I've not had luck with any conversions though. My TV streams DV fine - just DV videos (files) causing this. Be great if JF could re-encode DV but doubt it's a priority.

    https://forum.doom9.org/showthread.php?t=183479

    and
    https://mega.nz/folder/E5MjzAYD#xz9bKC8fnuQmOMo_ncjniQ

    and the DDVT_MKVTOMP4 script:
    ffmpeg -y -i file.mkv -strict experimental -loglevel error -stats -map 0:v? -map 0:a? -dn -map_chapters -1 -movflags +faststart -c:v copy -c:a copy -strict -2 file.mp4
    Linux Mint (main) & Win 11
    JF latest on both
    Intel i7 on both
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2023-08-08, 09:28 PM
    When you say it "streams DV fine", what do you mean by that? From Netflix or Disney+ or another streaming service?

    Do you know what DV profile your file is in? Streaming services will use profile 5 or 8. Blurays are typically profile 7. Most devices smart TVs that can playback DV natively will usually only support profile 5 or 8. The bluray players will do all the work for profile 7.

    Profile 5 should be in a mp4 container. Something about detecting it better. Profile 7 and 8 can be in either mp4 or mkv.
    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]
    alan
    Offline

    Junior Member

    Posts: 21
    Threads: 7
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #10
    2023-08-08, 09:58 PM
    I can see the profile (DVHE or "Dolby Vision High Efficiency Video Codec") with Mediainfo.
    HDR format Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
    So just converting a profile 5 like the above to an MP4? Will try with Handbrake.
    Linux Mint (main) & Win 11
    JF latest on both
    Intel i7 on both
    Pages (3): 1 2 3 Next »

    « Next Oldest | Next Newest »

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