View Full Version : Repairing single frame of h264 MKV.. Possible?
shlap
27th May 2008, 02:28
I just finished encoding my Serenity HD-DVD and it looks great but there are two frames in different spots that go to hell. Is there a program I can use to replace these frames? Thanks!
[P]ako
27th May 2008, 02:59
No, there is not. You will have to reencode it.
you could also reencode only the part between the two idr frames around the errors
shlap
27th May 2008, 21:27
Thanks bond. Would you use trim() in avisynth to re-endcode the appropriate sections and then splice the video apart and back together with mkvtoolnix tools?
ajp_anton
27th May 2008, 21:44
First split the video so that the parts with the bad frames are as small as possible.
Then edit those bad parts with avisynth, encode (same settings!), and put all parts together again.
shlap
28th May 2008, 03:43
Makes sense to me, thanks!
If anyone's still reading, is there any software out there that can scan for bad frames automatically or do you have to watch the 2 hr movie and see for yourself?
foxyshadis
28th May 2008, 23:40
See this thread (https://forum.doom9.org/showthread.php?t=137924) for an avisynth based approach.
Unless mkvtoolnix has better split capabilities now, the simplest method I found was to split always on 1s boundaries (splits every gop mostly), replace the bad chunks, and append everything back together. A bit of a pain but at least it works.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.