How can I repair WMV files that glitch when edited?
Asked by
task7.yield
I have several .WMV videos from around 2004โ2006. They play normally in standard video players, but portions of the image become corrupted when the files are imported into video-editing software. The problem is especially obvious around on-screen text, which can become almost unreadable. The glitches appear at the same timestamps in every editor and remain after transcoding to MP4 with Shutter Encoder, even when trying different settings. The only workaround so far is opening the files in an older version of Windows Movie Maker and exporting them in HD. That removes the visible corruption, but sometimes skips or duplicates frames and adds mild compression artifacts. Is there a better way to decode or repair these files while preserving the original frames and quality?
Answers
The source of the WMV files might matter, since older cameras, screen-recording tools, and capture software sometimes produced files that newer decoders interpret differently. Iโd try decoding them with VirtualDub or HandBrake, possibly exporting to an AVI intermediate before importing into your editor.
Reply to this answer
You could try a different conversion frontend, such as VidCoder, and encode directly to H.264 in an MP4 container. If the issue is caused by the editorโs WMV decoder, a completely new decode-and-encode pass may eliminate it.
Reply to this answer
Another approach is to index the file through AviSynth using a tool such as MeGUI, then open the script in VirtualDub. If the frames look correct there, export an uncompressed or lossless AVI and use that as the editing source. This can bypass problems in the editorโs built-in WMV importer.
Reply to this answer
FFmpeg is worth testing because it uses a different decoding pipeline and lets you control timestamps and encoding explicitly. Start with something simple like `ffmpeg -i input.wmv output.mp4`, or use H.264 and AAC settings for a more predictable result. If the underlying issue is bad timestamps, regenerating presentation timestamps can help, although that usually fixes timing problems rather than image corruption.
Reply to this answer
Add your answer
Answers are reviewed before publication.
task7.yield: I already tested Shutter Encoder with several H.264 settings, but the corruption remained at exactly the same points. Iโm trying the other decoding methods now and will compare the results.