Assuming I can't do much to repair this video with hardware, I'm considering replacing all of the damaged frames with the frame before or after. Can anyone recommend any good software to do frame by frame cuts and pastes? Any free software?
Reference: https://forum.videohelp.com/topic374737.html
Thank you
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 20 of 20
Thread
-
-
Ok, I believe VirtualDup's mask frame does what I need it too. It would nice if I had a keyboard shortcut for that, since I have a good number to do. Is there any downside to doing this? I know the video will be somewhat jerky due to the duplicate frames.
Is there a better way?
Also since I'm using Vegas Movie Studio for most of my edits, is there a way to this sort of "masking" there? -
First you need a format that has every frame as a keyframe, so you can cut anywhere and on individual frames. DV can do that, or lossless codecs like HuffyUV or Lagarith may be better choices. Since you seem to use VD, as good as editor as any for this. I just cut out the bad frames. You can duplicate the frame before if you like. You can sometimes speed up finding problem frames with VD by using the 'Scene Scan' buttons. Then go back through frame by frame and see if you got them all. Use the arrow keys on the KB for this. This will be tedious, but it works.
VD has a filter, Frame Merger, that can help to blend frames together so there's not such a jump between different frames. Might be worth experimenting with.
Some VD filters here: http://www.thedeemon.com/VirtualDubFilters/ -
Thanks redwudz for your reply. Yes I'm working with DV here. I was thinking that masking the "bad" frames would preserve the sound but help with the video. I was afraid to just delete them. Testing both ways on a short segment show pretty much the same results--with deleting having a lot less keystrokes. Thanks for the suggesting this, but I guess it all depends on the segment in question and how much audio is involved.
Thanks for the practical advise. It helps a lot. -
Originally Posted by thomasj
FreezeFrame(1000,1001,1001)
That says to replace frame number 1001 with frame number 1002 (AviSynth numbering begins with zero):
http://avisynth.org/mediawiki/FreezeFrame -
-
Thank you manono and AlanHK, I've been playing around with Avisynth for while now. It's a great tool. I'll definitely take a look at these filters. It seems that it may be more work to enumerate a list of bad frames, but if it turns out better, then it may be worth the effort.
Thanks! -
Reporting back:
The BadFrames plug-in produced smoother results. It was actually pretty cool the way it blended fields. It does require a good amount of work to list on the bad frame though. I probably try it out on a larger scale.
Thanks again -
Originally Posted by thomasj
For this application I'd use its bookmarking (control-B) to mark all the bad frames, then save that as a list and paste it into the BadFrames call.
To do that, save this:
Code:filename = avsp.GetSaveFilename(title='Save bookmarks to text file') f = open(filename, 'w') for bm in avsp.GetBookmarkList(): f.write(str(bm)+'\n') f.close()
-
Originally Posted by AlanHK
-
Originally Posted by manono
Code:FreezeFrame(1000,1001,1001)
And if you were converting to counting frames from 1 instead of zero, maybe, but why do that when "frame number" always defined (every app I know anyway) to start from zero? That can only cause confusion. -
You were nitpicking before and you're nitpicking now. Start counting frames 1,2,3,4,5... until you get to the one being replaced. Which number will it be again? You knew from the beginning what I meant so why even bring it up, much less make an issue out of it? Feel free to have the last word.
Good going with the BadFrames suggestion, as it seems to suit thomasj's needs. -
Originally Posted by manono
Why confuse the subject by introducing a different numbering system, that no one actually uses in practice?
"Frame number" has a specific, unambiguous definition.
You might say "Frame number 1000 (the 1001st frame)" if you really wanted to. But I don't see the point.
Also, technically, your code replaced two frames, though one of them with a copy of itself.
The correct translation of your description "replace frame number 1001 with frame number 1002" is:
Code:FreezeFrame(1001,1001,1002)
-
Is there anything like "badframes", but that replaces the bad frame with a motion compensated / interpolated in-between frame, rather than a simple blend?
Cheers,
David. -
Originally Posted by 2Bdecided
-
MFlowInter is not a replacement for the "badframes" function. Nowhere near.
You'd have to write quite a script (or wrapper function) to get the functionality of "badframes" out of MVTools2. I was wondering if anyone had done this work.
Cheers,
David. -
Originally Posted by 2Bdecided
-
Originally Posted by 2Bdecided
http://forum.doom9.org/showpost.php?p=753779 -
Thanks everyone. Lots of great things to look into.
AlanHK, I have used AvsP a little, but I wasn't aware of the bookmarking. Great tip there.
As an update to the BadFrames filter, It seems to work best for a frame or so. Probably old news to everyone except for me. I tried it on a longer spot, 6-10 frames. It did a very artificial slow motion "slide" there. Kind of interesting to watch, but not something someone would want in their video.
Great discussion everyone, Thanks. -
Ah, I see - FillDrops is half way there, and quite elegantly simple.
Cheers,
David.
Similar Threads
-
Looking for software to view frame by frame video
By MePool in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 2Last Post: 13th Jan 2011, 16:39 -
Play an MTS file frame by frame, displaying timecode or frame number
By SeánB in forum Software PlayingReplies: 5Last Post: 5th Oct 2010, 16:26 -
Frame accurate WMV edits
By jbeezer in forum EditingReplies: 5Last Post: 5th Jul 2010, 14:41 -
Best software for Frame by Frame Video Edit?
By VEBouto in forum Newbie / General discussionsReplies: 5Last Post: 8th Feb 2010, 16:28 -
Editing unedited Wedding DVD + frame edits?
By OldCanon in forum EditingReplies: 2Last Post: 8th Mar 2008, 12:41