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) Pages:
1
2
|
RE: Converting Dolby Vision to HDR10 - TheDreadPirate - 2024-08-24 This is going to sound stupid. The solution is to remux the remux. Code: /usr/lib/jellyfin-ffmpeg/ffmpeg -hide_banner -loglevel error -stats -y -fflags +genpts+igndts -i "new_hdr10_video.mkv" -map 0 -c:v copy -c:a copy -c:s copy -max_muxing_queue_size 2048 -avoid_negative_ts make_zero -max_interleave_delta 0 "new_new_hdr10_video.mkv" I will investigate if there is something I've missed, but this works for now. RE: Converting Dolby Vision to HDR10 - NavicNick - 2024-08-25 Unfortunately that didn't work for me. I did come across a program called MKVToolNix, and by using it's Multiplexer mode, I was able to select the video stream from the final file (before the second remux, so "new_HDR10_video.mkv") and the audio and subtitle files from the original MKV and remux them into a new file, and this file plays perfectly smooth everywhere with no transcoding needed. Not sure why Jellyfin doesn't seem to like the files coming from FFMPEG, or why the second remux worked for you but not for me. RE: Converting Dolby Vision to HDR10 - NavicNick - 2024-08-25 Just adding some more info on this program, because I found a way to fix my problem while also removing some steps from your process, but it does require another program. Basically, I use your first command to make the .HEVC file for the video. Then, I use MKVToolNix and the Multiplexer mode to add both the new .HEVC file and the Original MKV file as an input. From there, I deselect the video from the Original MKV, and select the video from the .HEVC, while leaving everything else in the original MKV selected (Subtitles, Audio, Chapters). Finally, I click the "start multiplexing button" and once that is done I have a new MKV file with the HDR10 video from the HEVC file, and the audio, subtitles, and chapters from the Original MKV file. This is what everything looks like in the MKVToolNix GUI. I left everything else default, didn't touch anything in the Output tab as it didn't seem to do anything for what I needed. This gets rid of the Dolby Vision layers and solves my stuttering video problem, while removing a step from your guide (moving the .HEVC file into the MP4 container) and replacing the final remuxing step (ignoring the remux the remux step) with the Multiplexer in MKVToolNix. RE: Converting Dolby Vision to HDR10 - TheDreadPirate - 2024-09-28 @NavicNick - Can you try the slightly tweaked commands in the opening post? I changed avoid_negative_ts to disabled and that appears to have resolved the issues with needing to mux twice originally. RE: Converting Dolby Vision to HDR10 - TheDreadPirate - 2024-11-07 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. RE: Converting Dolby Vision to HDR10 - Host-in-the-Shell - 2024-11-09 Just wanted to add my thanks for this command, as I had problems streaming on my LG TV some 4K HDR films and had no idea why; turns out they had DV 8.1 profile and as soon as I converted them over, all problems were gone. This really had me banging my head for a while so much appreciated. RE: Converting Dolby Vision to HDR10 - Dunning Kruger - 2024-11-10 I'm trying to convert a few files using the newest command and it keeps running out of memory. Is there anything I can add to the command to let this run in under 8 Gigs of ram? RE: Converting Dolby Vision to HDR10 - TheDreadPirate - 2024-11-10 (2024-11-10, 09:05 PM)Dunning Kruger Wrote: I'm trying to convert a few files using the newest command and it keeps running out of memory. Is there anything I can add to the command to let this run in under 8 Gigs of ram? Remove -max_interleave_delta 0. That should reduce the memory usage a lot. That option can help deal with some edge cases where video's are encoded weirdly. But it is optional and shouldn't be a problem to leave out in 99% of cases. I've encountered one set of discs from the same box set that having this option enabled was needed. |