I recently put together a video with WMM, and I've noticed some problems with a couple (well, actually quite a few) of the scene transitions, and I was wondering if there is a program that will allow me to go through a video frame by frame and replace the ones that were unplanned.
Sorry if this was mentioned already in the guides, I really did look.
Replacing Frames
-
ithaqua
- Joined: Thu May 22, 2003 10:37 pm
- Location: Prince George, BC, Canada
- Contact:
- Tab.
- Joined: Tue May 13, 2003 10:36 pm
- Status: SLP
- Location: gayville
Well, depends on what you mean by replace. Avisynth has deleteframe() and duplicateframe() functions if you just need to copy and/or get rid of frames, though inserting frames from a different source is a bit more tricky. You'd need something like
#loads wmv into vid1 variable:
vid1 = directshowsource("C:\crappywmv.wmv",fps=29.97)
#loads avi to insert frames from:
vid2 = avisource("D:\awesomebetteravi.avi")
#returns the first 120 frames of vid1 plus frame 120 from vid2
#plus frames 121 to the end of vid1:
return vid1.trim(0,120) + vid2.trim(120,120) + vid1.trim(121,0)
That'll replace frame 120 in the wmv. Actually, I'm not sure if that will return the right frames, trim() is kind of funky, but you can mess around with it.
#loads wmv into vid1 variable:
vid1 = directshowsource("C:\crappywmv.wmv",fps=29.97)
#loads avi to insert frames from:
vid2 = avisource("D:\awesomebetteravi.avi")
#returns the first 120 frames of vid1 plus frame 120 from vid2
#plus frames 121 to the end of vid1:
return vid1.trim(0,120) + vid2.trim(120,120) + vid1.trim(121,0)
That'll replace frame 120 in the wmv. Actually, I'm not sure if that will return the right frames, trim() is kind of funky, but you can mess around with it.
-
ithaqua
- Joined: Thu May 22, 2003 10:37 pm
- Location: Prince George, BC, Canada
- Contact: