Word :   Username :  
 
Bottom
Author
 Thread :

Adding Sequence BEFORE existing sequence

 
n°1282
Jinda2001
Posted on 10-16-2006 at 12:31:01 AM  profilanswer
 

Hey all
(me again!)
 
How do you add an image sequence BEFORE the one you already have.
 
Situation:
I have match moved a sequence - which turned out fine, and then I realized I needed to add the 200 frames prior to the ones I matchmoved
because the transition needs to be a bit sooner.
 
how do I do this? Help!
 
Its easy to add additional frames but how do I add Prior frames.
thanks for any help
 
Jinda

n°1284
niko
Posted on 10-19-2006 at 11:01:46 AM  profilanswer
 

Hi,
 
This is not a very easy process but you can use a script to do the trick:
- export your current 2D tracks in a .rz2 file
- file new
- load your new sequence
- import your .rz2 file
- shift your tracks using a script
 
Here is a short example with a Perl script that shift the first track (id=1) ten frames to the right:
 
# collect informations on 2D track
my @track2Dinfos = @{$mm->getTrack2D( 1)};
my %trackAttribs = %{$mm->getTrackAttribs( 1 )};
$label = $trackAttribs{label};
 
# delete current track
$mm->editDelete();
 
# create new empty track
my $trackId = $mm->createTrack( $label );
 
# fill track and shift time
foreach $t2Dinfo ( @track2Dinfos )  
{  
 my %hash = %{ $t2Dinfo };
 my $t = $hash{t};
 my $x = $hash{x};
 my $y = $hash{y};
 print "t=$t\tx=$x\ty=$y\n";
 $mm->setTrack2D( $trackId, $x, $y, $t+10 );
}
 
 
You have to loop the process on all your tracks, etc...
 
Hope it helps,
 
Niko

n°1285
Jinda2001
Posted on 10-19-2006 at 03:05:20 PM  profilanswer
 

Thanks Nico
looks a  bit scary for a newbie  - but I'll give it a try!
Jinda

n°1286
niko
Posted on 10-19-2006 at 06:20:23 PM  profilanswer
 

Hi,
 
I agree, it's a bit scary...
 
MatchMover doesn't know how to achieve this by itself,
so what i suggest is a workaround, but a little bit hard and tricky...
 
cheers,
 
Niko


Go to:
Add a reply