AviUser
29th October 2013, 03:01
Hello,
[Similar topic with no solution] (http://forum.videohelp.com/threads/329131-Advanced-Restoration-Removing-tracking-lines-from-Video?p=2039766#post2039766)
So I have a video sourced from VHS tape recorded in a TV studio. Every minute or so, for 1-5 frames, horizontal white lines appear on the clip and distort the image in those places.
What I have been doing is DeleteFrame() on each of these, until I realized that this does not sync audio, so I defined:
function DeleteFrame2(clip clp, int framenumber) {
return clp.trim(0,framenumber-1) + clp.trim(framenumber+1,0)
}
However, this causes gaps in the audio.
I was thinking it would be ideal if I could somehow repair these with a ReplaceFrameAvg() function, which takes the average of the frame before and the frame after.
Any ideas?
[Similar topic with no solution] (http://forum.videohelp.com/threads/329131-Advanced-Restoration-Removing-tracking-lines-from-Video?p=2039766#post2039766)
So I have a video sourced from VHS tape recorded in a TV studio. Every minute or so, for 1-5 frames, horizontal white lines appear on the clip and distort the image in those places.
What I have been doing is DeleteFrame() on each of these, until I realized that this does not sync audio, so I defined:
function DeleteFrame2(clip clp, int framenumber) {
return clp.trim(0,framenumber-1) + clp.trim(framenumber+1,0)
}
However, this causes gaps in the audio.
I was thinking it would be ideal if I could somehow repair these with a ReplaceFrameAvg() function, which takes the average of the frame before and the frame after.
Any ideas?