2025-02-20, 12:12 PM
(2024-10-29, 06:58 AM)firas1 Wrote: Hey folks,
I have this strange issue on my Bravia 9 (Android TV), that some 4k movies have "dark bars" inside the movie.
When watching the exact same file on my AppleTV 4K it does not show them.
I think this issue is somehow created on the internal app, because watching the file on the PC does also not show this bars.
(2024-11-27, 02:30 PM)TheDreadPirate Wrote: I believe this is the issue.The issue in this thread is absolutely a media issue (specifically a Dolby Vision issue) and not a TV/Jellyfin/etc issue.
https://github.com/google/ExoPlayer/issues/8803
My understanding is that the issue is how the UI is rendered when the Dolby Vision video is not 3840x2160. All the Dolby Vision movies I've encountered were still 3840x2160 canvases even though the actual movie was a narrower aspect ratio. If your movie's canvas is 3840x1600, the Dolby Vision metadata is still 3840x2160 most of the time but the black bars on the bottom and top are baked into the DV metadata. Whatever Sony is doing does not render the black bars as part of the video and thus compresses the DV metadata vertically, resulting in uneven brightness.
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), run
DDVT_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.