is there a way to fix badframes with Avisynth?You see the picture break up, even for an instant, and you are able to see some individual pixels actually appear on the screen, often for only parts of the image.
You see the picture break up, even for an instant, and you are able to see larger "groups" or "groupings" of pixels actually appear on the screen, often for only parts of the image.
I read on a forum that they call it macroblocking,the blocks are of different colors
+ Reply to Thread
Results 1 to 7 of 7
-
-
In what way ?
AVIsynth is a frameserver that opens a video using system codecs, and passes an uncompressed version of that video to a host program, applying any filters or effects you have programmed into your script along the way. It can therefore only pass through what it can open and process.
AVISynth cannot be used to repair indexes or perform other fixes that some programs such as Divfix or virtualdub can do.
Often, bad data causes bad frames, and there is little anything can do to fix the frames themselves. If you are lucky, you might be able to open the stream and use trim() to remove the offending frames, however this would mean re-encoding the rest of the videoRead my blog here.
-
ok if i use how to remove all bad frames at once?an what filters to use?and some sample scripts would be useful
-
There are no filters to fix your particular problem. AVIsynth filters are image processing filters - noise removal, colour adjustment etc. Too many to mention.
Trim() trims a range of frames. You use it like this
Trim(0,500) supplies the first 501 frames (0 through to 500). Trim(2500,3000) provides frames 2500 - 3000.
If you need multiple ranges then you add them together
Trim(0,500) + Trim(502,504) + Trim(507,2000) etc
However this assumes avisynth can load the video and scroll through it.Read my blog here.
-
Virtualdub has a scan for bad frames feature. Also, sometimes just writing a new version using Direct Stream Copy can bring things back together correctly.
Read my blog here.
Similar Threads
-
Fixing [D] Frames?
By Startropic1 in forum Video ConversionReplies: 1Last Post: 9th May 2010, 11:03 -
TV that needs fixing....
By SE14man in forum Newbie / General discussionsReplies: 5Last Post: 3rd Nov 2008, 16:00 -
Fixing Camcoder DVD
By EdwRom in forum Newbie / General discussionsReplies: 17Last Post: 6th Sep 2008, 07:36 -
Fixing some videos
By Broka in forum RestorationReplies: 22Last Post: 21st Dec 2007, 21:14 -
Fixing bad tracking
By J C in forum RestorationReplies: 11Last Post: 7th Sep 2007, 07:11