![]() |
Converting Dolby Vision to HDR10 - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Guides, Walkthroughs & Tutorials (https://forum.jellyfin.org/f-guides-walkthroughs-tutorials) +--- Thread: Converting Dolby Vision to HDR10 (/t-converting-dolby-vision-to-hdr10) |
RE: Converting Dolby Vision to HDR10 - gnattu - 2025-02-19 The one-liner is known to work bad with the mkv muxer of ffmpeg because ffmpeg's own mkv muxer tries to do too many smart things during stream coping and it will fail the process when the dolby vision metadata is removed for some videos. You have to remux to a better implemented muxer like mp4, and then from that mp4 to remux back to mkv. RE: Converting Dolby Vision to HDR10 - SquishySquash - 2025-02-19 (2025-02-18, 11:16 PM)TheDreadPirate Wrote: 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. Yes, you are right. And I gave up ![]() I figure its because DV5 is using properitary colorspace and not many tools are capable of reading it and doing anything about it. I even read that owners of Dolby Vision standard have IP patent on the method of converting DV5 to HDR and thats why there are no tools to do it avaliable to public. RE: Converting Dolby Vision to HDR10 - Majesticaveman - 2025-03-31 (2024-08-06, 09:25 PM)TheDreadPirate Wrote: ****This guide has been updated**** I followed this guide using the new command and it seems like I'm getting an Out of memory issue. I thought it worked at first, however the file is 25GB smaller and the end of the video (which isn't the end of the movie) seems to be corrupted. Is there something wrong with what I'm doing? I've attached a .txt with the logs and command. Information about my system. OS: Windows 10 CPU: 9700k Memory: 32GB Graphics: Integrated Hard Drive: 1 x 8tb WD blue. RE: Converting Dolby Vision to HDR10 - TheDreadPirate - 2025-03-31 The parameter "-max_interleave_delta 0" can cause OOM issues if the original file is muxed in such a way that the various tracks are on "opposite sides" of the file instead of interleaved in short segments. ffmpeg will keep reading the file, storing it in memory, until it encounters other tracks. This parameter is optional and can be left out. RE: Converting Dolby Vision to HDR10 - Andy Brown - 2025-09-27 I'm looking into doing this to my media due to Firestick 4K Max's having the issue where some files result in a purple or blank screen. But I am wondering if there is a way to use the command to batch process my media rather than me having to go 1 by 1 through every media file I have? RE: Converting Dolby Vision to HDR10 - Ravn73 - 2025-09-29 (2025-09-27, 12:26 AM)Andy Brown Wrote: I'm looking into doing this to my media due to Firestick 4K Max's having the issue where some files result in a purple or blank screen. But I am wondering if there is a way to use the command to batch process my media rather than me having to go 1 by 1 through every media file I have? This is what is happening to me! I dont know how to code or use ffmpeg. All what i found out is that the ffmpeg version doesnt work. Chatgpt (sorry like i said, i dont know how to do all this - just a dumb win11 user). I had to get dovi_tool, and put it in the ffmpeg folder. Then Chatgpt gave me new codes. The movie stutters now and does not run smoothly. But the colors are right and the screen doesnt tun black now. Probably someone can help with some "fine tuning". Extract the HEVC stream Code: ffmpeg -y -hide_banner -loglevel error -stats -i "/path/to/dv_video.mkv" -dn -c:v copy -bsf:v hevc_mp4toannexb -f hevc "/path/to/output_video.hevc"
Code: dovi_tool remove "/path/to/output_video.hevc" -o "/path/to/output_hdr10.hevc"
Pack into an MP4 container Code: ffmpeg -hide_banner -loglevel error -stats -y -fflags +genpts -i "/path/to/output_hdr10.hevc" -c:v copy "/path/to/output_hdr10.mp4"
Remux with original audio/subtitles into a new MKV Code: ffmpeg -hide_banner -loglevel error -stats -y -fflags +genpts+igndts -i "/path/to/output_hdr10.mp4" -i "/path/to/dv_video.mkv" -map_chapters 1 -map 0:v -map 1:a -map 1:s -c:v copy -c:a copy -c:s copy -max_muxing_queue_size 2048 -avoid_negative_ts disabled -max_interleave_delta 0 "/path/to/final_hdr10_video.mkv"
|