2025-02-20, 08:26 PM
(2025-02-20, 12:12 PM)ph1go Wrote: The issue in this thread is absolutely a media issue (specifically a Dolby Vision issue) and not a TV/Jellyfin/etc issue.
The files have been encoded with bad DV RPU cropping values but it's fixable - it's not necessary to strip out the DV. There's a (Windows) tool called DDVT ( https://forum.doom9.org/showthread.php?t=183479 ) that does all the work for you. It uses dovi_tool ( https://github.com/quietvoid/dovi_tool ) under the hood but offers a more convenient way to fix this particular problem (and others).
After downloading the scripts and tools into the same directory (the tools into their own "tools" subdirectory), runDDVT_FILEINFO.cmd <path to bad DV file>
in an elevated command prompt. Then, select C to "CHECK RPU CROPPING VALUES" and then S when it inevitably comes back and says "CROPPING VALUES INCORRECT. Press [S] to fix them!".
Make sure there's 2-3x the original file of space on the drive where the bad file resides (it makes a temp dir next to it where it demuxes the video) and, a word of warning, the script outputs the files to the root of the drive from which the script is running so if you're looking in the original media folder, you'll think it hasn't done anything (especially confusing if the media's not on the same drive as the scripts). Then replace the original media, rescan with Jellyfin and voila, you have working DV with no translucent black borders over the video.
Thanks for sharing this fix! I've used the Dovi scripts before, but I hadn't checked them recently, so I didn't realize they had a fix for the cropping issue. I've been aware of this problem for a while, and it's not exclusive to Sony. In fact, a user posted about the same issue just last week, and they had a Sharp TV. I have a sample file, and removing the DV layer worked for me, but this solution is much better if you want to preserve the DV metadata.