drbuzz0
27th November 2010, 19:26
Hi -
I've got something of a problem with a video file that I'm trying to deal with in AVIsynth but haven't yet figured out.
I have a video file that is 480i which has apparently been improperly scaled or otherwise processed. The interlaced fields are badly damaged, but I think I've figured out a way to rebuild the fields such that it should be more or less correct. Once I do that I can (hopefully) deinterlace it.
Basically the fields are convoluted in the following manner
0 - EVEN - Correct
1 - ODD - Correct
2 - EVEN - Correct
3 - Combined even and odd fields - DAMAGED
4 - Combined even and odd fields - DAMAGED
5 - EVEN - field is fine, but in wrong order. should be even but is odd
6 - ODD - field is fine, but in wrong order. should be even but is odd
7 - EVEN - field is fine, but in wrong order. should be even but is odd
8 - Combined even and odd fields - DAMAGED
9 - Combined even and odd fields - DAMAGED
(now repeat)
So what I'm thinking I shoul do is delete every fourth field, thus shifting the field up and replace every fifth field with a new field interpolated field.
Either that, or I could maybe try combining the fourth and fifth field and seeing if that will give satisfactory results.
but... haven't figured out how exactly to do it as of yet
I'm pretty sure there's a way to do it in Avisynth
I've got something of a problem with a video file that I'm trying to deal with in AVIsynth but haven't yet figured out.
I have a video file that is 480i which has apparently been improperly scaled or otherwise processed. The interlaced fields are badly damaged, but I think I've figured out a way to rebuild the fields such that it should be more or less correct. Once I do that I can (hopefully) deinterlace it.
Basically the fields are convoluted in the following manner
0 - EVEN - Correct
1 - ODD - Correct
2 - EVEN - Correct
3 - Combined even and odd fields - DAMAGED
4 - Combined even and odd fields - DAMAGED
5 - EVEN - field is fine, but in wrong order. should be even but is odd
6 - ODD - field is fine, but in wrong order. should be even but is odd
7 - EVEN - field is fine, but in wrong order. should be even but is odd
8 - Combined even and odd fields - DAMAGED
9 - Combined even and odd fields - DAMAGED
(now repeat)
So what I'm thinking I shoul do is delete every fourth field, thus shifting the field up and replace every fifth field with a new field interpolated field.
Either that, or I could maybe try combining the fourth and fifth field and seeing if that will give satisfactory results.
but... haven't figured out how exactly to do it as of yet
I'm pretty sure there's a way to do it in Avisynth