2024-08-24, 09:17 PM
(This post was last modified: 2024-08-24, 09:18 PM by TheDreadPirate. Edited 1 time in total.)
This is going to sound stupid. The solution is to remux the remux.
I will investigate if there is something I've missed, but this works for now.
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.