ffmpeg -i corrupted.mkv -codec copy -map 0 fixed.mkv
untrunc -s reference.mp4 corrupted.mp4 If your file resembles heal20171080pwebdldd51h264rkethd and is smaller than expected (e.g., 200MB instead of 4GB), it’s likely incomplete. heal20171080pwebdldd51h264rkethd
If no source exists, you can attempt to play the partial file using VLC with “Keep broken/incomplete files” enabled (Preferences > Input/Codecs). Sometimes the video track is fine, but the DD5.1 audio header is corrupt. Use FFmpeg to extract streams individually: ffmpeg -i corrupted
ffmpeg -i input.mkv -map 0:v -c copy video.h264 ffmpeg -i input.mkv -map 0:a -c copy audio.ac3 Then, remux them into a new container: 200MB instead of 4GB)