Mailinglist Archive: opensuse-multimedia-de (242 mails)

< Previous Next >
Re: [suse-multimedia] GUI frontend to zapcut
  • From: Timo Wirtz <timowirtz@xxxxxxxx>
  • Date: Mon, 8 Nov 2004 10:11:23 +0100
  • Message-id: <200411081011.23142.timowirtz@xxxxxxxx>
Am Sonntag, 7. November 2004 11:55 schrieb Wolfgang Grinfeld:
> After looking around for a GUI program to edit mpeg's quickly, freely and
> easily, I finally resorted to using cinelerra as a front-end to zapcut.
>
> steps involved are:
> - create index on mpeg using mpeg3toc (`mpeg3toc movie.mpg movie.toc`)
> - cut away unwanted pieces (`cinelerra movie.toc`)
> - save editing to movie.xml
> - run attached script (`cine2zap movie`)
> - send output into zapcut (`zapcut --cmd -` using cut and paste for the
> moment)
>
> Does anyone know how to record and play dolby digital movies from satellite
> on suse 9.1?

You can do this with the program "grab" in comand line.
Or programs like qbops or nlinuxgrab with a DBOX2 satellite-receiver connected
to your PC. It has a network card built in.
And by replacing the original firmware with Linux from the Linux-Neutrino
projekt, you can easily record movies on your PC by simply pressing the
"Record"-Button of the remote-control of the box. There's also the
possibility to program timer-recordings with the EPG on the box.

For more information on Linux on Digital-receivers, refer to www.dbox2.info.
You can buy these receivers readily programmed with Linux on Ebay. Its really
good value for money!

regards,
Timo
>
> regards
>
> w.g.
>
> cine2zap:
> #!/bin/bash
> cat $1.xml|xzapcutmap $1.mpg $1.x.mpg
> -----------------------------------------------------
> xzapcutmap:
> #!/bin/bash
> cat $1.xml|xzapcutmap $1.mpg $1.x.mpg
> linux:/home/bin # cat xzapcutmap
> #!/usr/bin/perl
> $magicnbr=1.19879878170277;
>
> @cuts=();
> $tlen=0;
> $length=0;
> $videomode=0;
> $index=0;
> $line="";
>
> while($line=<STDIN>)
> {
> if ($line =~ /^<VIDEO .* VIDEO_LENGTH=/)
> {
> $line =~ s/^<VIDEO .* VIDEO_LENGTH=(\d+) .*$/$1/;
> $tlen=$line;
> $length=$tlen * $magicnbr;
> next;
> }
>
> if($line =~ /^<TRACK .* TYPE=VIDEO.*>$/)
> {
> $videomode=1;
> }
>
> if($line =~ /^<\/TRACK>$/)
> {
> $videomode=0;
> next;
> }
>
> if($line =~ /^<EDIT .*>$/)
> {
> if($videomode==1)
> {
> $line =~
> s/^<EDIT\s+(\S*\s+)*STARTSOURCE=(\d+)\s+(\S*\s+)*LENGTH=(\d+).*>$/$2 $4/;
> @fields= split ' ',$line;
> $cuts[$index++] = $fields[0] * 100 / $length;
> $cuts[$index++] = ($fields[0] + $fields[1]) * 100 / $length;
> next;
> }
> }
> }
>
> print "load $ARGV[0]\n";
> print "edit @cuts -\n";
> print "save $ARGV[1]\n";
> print "exit\n";
>
> _________________________________________________________________
> Use MSN Messenger to send music and pics to your friends
> http://www.msn.co.uk/messenger

< Previous Next >
References