2024-12-23, 08:29 PM
(This post was last modified: 2024-12-23, 08:41 PM by error101. Edited 3 times in total.)
Hi All
Unfortunately I have tried the following code with limited success
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -y -hide_banner -stats -fflags +genpts+igndts -loglevel error -i "/path/to/dv_video.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
I used this with 3 different 4k movies remux files between 50GB -80GB, on movie 1 the results were perfect however on movie 2 and 3 while trying to play the movie it would be constantly blinking/flashing in and out of the video to a blank screen almost like your closing your eyes every second.
I however did find success using the method suggested by @NavicNick
using ubuntu server I downloaded and installed dovi tool, ran the following code to remove dolby vision and extract hevc,
code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -y -hide_banner -loglevel error -stats -i "/path/to/your/DV_video.mkv" -dn -c:v copy -bsf:v hevc_mp4toannexb -f hevc - | dovi_tool remove - -o "hdr10_video.hevc"
i then downloaded the tool MKVToolNix on my windows machine (is also available on linux but im using server edition without gui) added both the new .HEVC file generated and the Original MKV file as an input, untick the video from the Original MKV as we do not want this in the final file, and select the video from the .HEVC, while leaving everything else in the original MKV selected (Subtitles, Audio, Chapters) and then start multiplexing button.
As nick @NavicNick advised I then have a new flawless MKV file with the HDR10 video from the HEVC file, and the audio, subtitles, and chapters from the Original MKV file and will be the method I use going forward.
also my client of choice I use is Firestick 4k max 1st gen
Unfortunately I have tried the following code with limited success
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -y -hide_banner -stats -fflags +genpts+igndts -loglevel error -i "/path/to/dv_video.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
I used this with 3 different 4k movies remux files between 50GB -80GB, on movie 1 the results were perfect however on movie 2 and 3 while trying to play the movie it would be constantly blinking/flashing in and out of the video to a blank screen almost like your closing your eyes every second.
I however did find success using the method suggested by @NavicNick
using ubuntu server I downloaded and installed dovi tool, ran the following code to remove dolby vision and extract hevc,
code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -y -hide_banner -loglevel error -stats -i "/path/to/your/DV_video.mkv" -dn -c:v copy -bsf:v hevc_mp4toannexb -f hevc - | dovi_tool remove - -o "hdr10_video.hevc"
i then downloaded the tool MKVToolNix on my windows machine (is also available on linux but im using server edition without gui) added both the new .HEVC file generated and the Original MKV file as an input, untick the video from the Original MKV as we do not want this in the final file, and select the video from the .HEVC, while leaving everything else in the original MKV selected (Subtitles, Audio, Chapters) and then start multiplexing button.
As nick @NavicNick advised I then have a new flawless MKV file with the HDR10 video from the HEVC file, and the audio, subtitles, and chapters from the Original MKV file and will be the method I use going forward.
also my client of choice I use is Firestick 4k max 1st gen