2025-02-17, 03:19 PM
What new File? I copied the original file to a test folder and ran the program. It doesn't created a new file though and doesn't look like it modified the original file either.
2025-02-17, 03:19 PM
What new File? I copied the original file to a test folder and ran the program. It doesn't created a new file though and doesn't look like it modified the original file either.
2025-02-17, 03:31 PM
(2025-02-17, 03:19 PM)Shawn Farley Wrote: What new File? I copied the original file to a test folder and ran the program. It doesn't created a new file though and doesn't look like it modified the original file either. when you run this command: Code: /usr/lib/jellyfin-ffmpeg/ffmpeg -y -hide_banner -stats -fflags +genpts+igndts -loglevel error -i "/data/temp/Test/Alien.1979.Directors.Cut.HYBRID.2160p.BluRay.REMUX.HEVC.DV.DTS-HD.MA.5.1-Flights.mkv" -map 0 -bsf:v hevc_metadata=remove_dovi=1 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled hdr10_video.mkv The original file remains unmodified. The command generates a new file, which in this case you've named "hdr10_video.mkv."
2025-02-17, 03:39 PM
(This post was last modified: 2025-02-17, 03:43 PM by Shawn Farley.)
I don't see a new file is it suppose to save in the same folder.
The only thing I see happen is the disk utilization goes up to 95% for a few hours and that's it.
2025-02-17, 04:20 PM
You can search your filesystem for the file. Or specify the file path you want to save the file /path/to/file/hdr10_video.mkv in your command.
2025-02-17, 04:31 PM
ohh I see a file now.
2025-02-17, 04:44 PM
Looks like it worked thnx so much for the help guys.
2025-02-18, 10:50 PM
(This post was last modified: 2025-02-18, 10:54 PM by SquishySquash. Edited 2 times in total.)
Hello, I tried using the one-liner from updated guide on my file that contains Dolby Vision metadata Dolby Vision, Version 1.0, Profile 5, dvhe.05.06, BL+RPU, no metadata compression. I wanted to do it because this file does not play correctly on my devices that do not have Dolby Vision capable screen. On these devices when playing this file it displays wrong colors, everything is purple-greenish, like on my PC using VLC media player. Of course file plays correctly on my TV which is DV capable.
So first I downloaded Jellyfin FFMPEG from here https://github.com/jellyfin/jellyfin-ffm...g/v7.0.2-9 The Windows version. Then I used your command pointing it to my MKV file: Code: ffmpeg -y -hide_banner -stats -fflags +genpts+igndts -loglevel error -i "D:\StarWars.mkv" -map 0 -bsf:v hevc_metadata=remove_dovi=1 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled hdr10_video.mkv but it kept erroring out despite path to file being correct Code: [out#0/matroska @ 000001f8d79b9b00] Could not write header (incorrect codec parameters ?): Invalid data found when processing input Now I figured it may be because of DV profile 5. You mentioned that the guide is focusing on Dolby Vision profile 7 and 8 files so using dovi tools I converted the file to 8.1 profile first extracting HEVC file from MKV then executing dovi tools with Code: D:\>dovi_tool -m 3 convert starwars.hevc command 3 " Converts profile 5 to 8.1. " and then remuxing new HEVC file back into MKV. This produced a new entry in MediaInfo: Dolby Vision, Version 1.0, Profile 8.2, dvhe.08.06, BL+RPU, no metadata compression, SDR compatible The converted file still produced wrong colors when played it so I ran ffmpeg with same command as above and now it ran. The problem is that once its done MediaInfo on the HDR10 file reports that there is no HDR data at all in the file. Jellyfin also recognizes the file as SDR. But now it plays in wrong color everywhere, even on my TV where it worked all right before all the conversions. What did go wrong? I'm attaching mediainfo on original, after dovitool and after ffmpeg. (2024-08-06, 09:25 PM)TheDreadPirate Wrote: ****This guide has been updated****
2025-02-18, 10:58 PM
This process is explicitly for DV 7 and 8. I don't have any DV5 content to test with nor have I tried to figure out that process.
2025-02-18, 11:05 PM
Yes thats why my second attempt was with DV8 file (HDR format: Dolby Vision, Version 1.0, Profile 8.2, dvhe.08.06, BL+RPU, no metadata compression, SDR compatible) and it produced wrong results.
(2025-02-18, 10:58 PM)TheDreadPirate Wrote: This process is explicitly for DV 7 and 8. I don't have any DV5 content to test with nor have I tried to figure out that process.
2025-02-18, 11:16 PM
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.
Personally, I wouldn't bother converting DV5 videos to HDR10. Some Android TV devices use mediatek SoCs, and some of those models have driver bugs that break Dolby Vision 7 and 8. And one of my devices also has a mediatek chipset. That is in addition to my re-encoding all my media to AV1, which doesn't support DV 7 or 8. |
|
|