2025-03-14, 08:59 PM
Code:
docker exec -it jellyfin bash
/usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts+igndts -i "/path/to/problem/video.mkv" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv
This will open a bash shell into the Jellyfin container. Then we are using ffmpeg from within the container to remux. The path for the video will be from the container's reference frame.