10 Nov
2004
10 Nov
'04
20:48
cine2zap, a filter that allows cinelerra to be used as a GUI editing frontend to zapcvt / zapcut has been updated. For a given <filename>.mpg, there needs to be a <filename>.xml (created by cinelerra) Then, on the commandline: cine2zap <filename> The edited output will go in <filename>.x.mpg Please find herewith the code: cine2zap: #!/bin/bash zapcvt `cat $1.xml|xzapcutmap $1.mpg` -o $1.x.mpg $1.mpg -------------------------------------------------------------------------------- xzapcutmap: #!/usr/bin/perl $magicnbr=1.19879878170277; @cutstarts=(); @cutends=(); $tlen=0; $length=0; $videomode=0; $index=0; $line=""; while($line=<STDIN>) { if ($line =~ /^