2024-12-09, 04:44 AM
VLC is not a good player to compare against since VLC will often play to some degree straight up corrupt files.
Your video is likely corrupt or malformed in some way. We can try remuxing the file to regenerate the container, which is often enough to fix this issue.
Your video is likely corrupt or malformed in some way. We can try remuxing the file to regenerate the container, which is often enough to fix this issue.
Code:
ffmpeg -fflags +genpts+igndts -i "/path/to/video.mkv" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv