The video file that I'm trying to convert has had the even and odd frames switched. See my example below for a better understanding of it:
Normal Video:
0 1 2 3 4 5 6 7 8 9 10 11
Corrupted Video Example #1:
1 0 3 2 5 4 7 6 9 8 11 10
Corrupted Video Example #2:
0 2 1 4 3 6 5 8 7 10 9 12 11
I'm not sure which way the video is. I would preferably like to change this with an avisynth script, but I'll use any method that anyone can provide. Thanks in Advance.
+ Reply to Thread
Results 1 to 5 of 5
-
-
Was it interlaced to begin with ? If so, why not load it in, and then reverse the fields as you write it out ? Most editors will allow you to specify the field order when writing the video to disk.
-
No, the video was not interlaced and I have tried to swap the fields but it never renders a good video. I've also tried the field bo and a motion blur. The motion blur renders a better video than the original, but still not good. The problem is in the frame order. I've went through it frame by frame and discovered this.
-
Experiment with the SelectEvery() command. As long as there's a recurring pattern, SelectEvery can rearrange the frames in the correct order.
For example: SelectEvery(2,1,0) swaps each pair of frames and should fix example #1.
Trim(1,0).SelectEvery(2,1,0) would remove the first frame and swap each remaining pair of frames, which should fix example #2 but you would lose the first frame. You can avoid losing the first frame if it's important, but first you should familiarize yourself with the SelectEvery command.
A random example: SelectEvery(4,2,1,0,3) rearranges every four frames (0,1,2,3) like this: 2,1,0,3. -
Awesome! Thanks man, that worked like a dream. I can finally watch this video the way it's supposed to be seen. Once again, Thank you so very much for that. You have no idea how grateful i am for your help.
Similar Threads
-
Virtualdub VCR capture no dropped frames but 5400 inserted frames in 1 hour
By suloku in forum Capturing and VCRReplies: 12Last Post: 17th Aug 2011, 22:33 -
Decimate odd patterned duplicate frames in video
By raphaelt in forum Video ConversionReplies: 2Last Post: 2nd Feb 2011, 22:57 -
mencoder: seeking to frames (or cropping start frames)
By manchurian_candidate in forum LinuxReplies: 3Last Post: 13th Dec 2010, 08:53 -
display problem switch from pc to tv, can't switch back
By samiam5156 in forum ComputerReplies: 1Last Post: 11th Oct 2007, 09:23 -
inserted frames without dropped frames in VirtualDub capturing VHS
By whschlebaum in forum Capturing and VCRReplies: 0Last Post: 23rd Aug 2007, 20:59