2024-12-19, 02:03 PM
(This post was last modified: 2024-12-19, 02:06 PM by TheDreadPirate. Edited 1 time in total.)
@lakinreid - Can you also try specifying the video stream in the bsf?
The change is
Adding :0 to the end ensures that the bitstream filter is only applied to the video and not the embedded image. This is assuming that the video is the first "video" stream. It usually is, but I've seen weirdly muxed files with the images as the first few streams.
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -y -hide_banner -stats -fflags +genpts+igndts -loglevel error -i "/path/to/your/video.mkv" -map 0 -bsf:v:0 hevc_metadata=remove_dovi=1 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled hdr10_video.mp4
The change is
Code:
-bsf:v:0
Adding :0 to the end ensures that the bitstream filter is only applied to the video and not the embedded image. This is assuming that the video is the first "video" stream. It usually is, but I've seen weirdly muxed files with the images as the first few streams.