 |
 |
» » Jinda2001 | 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 |
niko | 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 |
Jinda2001 | Thanks Nico
looks a bit scary for a newbie - but I'll give it a try!
Jinda |
niko | 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 |
» »
|
 |
 |
|