Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > VirtualDub Filters and Filter Development > Combine Video Parts?


Posted by: Neon Mar 14 2003, 07:54 PM
I have two videos of about 1.5 minutes each. They both contain approxamently the same thing, except that they both have logos / text that flys in or appears in different places (eg. video 1 has text in center for 1st 15 seconds, video 2 has text on bottom for same duration, then positions change). What I want to do is take, say, the 'clean' logoless (top, bottom, etc) half of one of the videos and the 'clean' logoless (bottom, top, etc) half of the other, and combine them into one video made of these two halves. (that's probably a really odd explanation, sorry...) Is this possible to do? I've looked around on the internet for a filter that can do this, with no luck.

Posted by: Arctonyx Mar 15 2003, 09:46 PM
Short videos... then do your transformation on a frame-by-frame basis.
Export both clips to image sequences.
Maybe delete or add from/to one sequence to get them
exactly in sync. Then use your favourite photo editor
to do the manipulations, which may be cut and paste,
from what you say.

Use Macro-Express or some other macroing program to
automate your manipulations, and run it for as far as
you can until either you are finished or you need to tweek it.

Then import the sequence as an AVI.

Good luck.

Posted by: Neon Mar 16 2003, 02:09 AM
If I slice my movie(s) up into single frames, how much harddrive space is that going to take up? That seems like a lot of images...almost 5000 total (guestimate, im not on that computer right now).

Posted by: David.Bucci Mar 16 2003, 04:20 AM
QUOTE (Neon @ Mar 14 2003, 02:54 PM)
What I want to do is take, say, the 'clean' logoless (top, bottom, etc) half of one of the videos and the 'clean' logoless (bottom, top, etc) half of the other, and combine them into one video made of these two halves.

Hmm. I think you could accomplish this using Avisynth. I haven't done that in particular, but I think you could with a combination of Crop() and StackVertical() functions, possibly with Trim()s to select out the portions you need for particular subparts.

I mean something like (assuming 640x480 for this example):

a = AVISource("clip1.avi").CropBottom(240)
b= AVISource("clip2.avi").Crop(0,240,640,240)
return StackVertical( a, b )

http://www.videotools.net/doc/doc.htm for Avisynth.

Update: just tried it, works great!


Posted by: Neon Mar 17 2003, 12:12 AM
That sounds a lot easier than frame-by-frame editing.... Don't have time now, but I'll try it when I do! Thanks!!

Posted by: HairyTroll Mar 17 2003, 08:01 AM
QUOTE (Arctonyx @ Mar 15 2003, 03:46 PM)
Short videos... then do your transformation on a frame-by-frame basis.
Export both clips to image sequences.
Maybe delete or add from/to one sequence to get them
exactly in sync.  Then use your favourite photo editor
to do the manipulations, which may be cut and paste,
from what you say.

Phew... I wish to accomplish a similar task (explained in a seperate post), however I am working with a frame size of 1920x1088 (high definition video). Each frame is 6MB in size.


Posted by: Neon Mar 17 2003, 07:38 PM
wow...dont do frame-by-frame for that unless you have a 10TB harddrive.... biggrin.gif try avisynth, sounds like it will work to me. could you post a link to the other post?

Posted by: HairyTroll Mar 21 2003, 06:19 AM
QUOTE (Neon @ Mar 17 2003, 01:38 PM)
could you post a link to the other post?

http://virtualdub.everwicked.com/index.php?act=ST&f=7&t=2385&s=10cccc92300c90dbe40bda4fb728ff19

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)