blob: ac72a144f482d8bada6b1c633ba0137c02f207f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/usr/bin/perl
require "/usr/local/bin/my/schnittcommon.pli";
if (!open (INDEX,"index.vdr"))
{
exit 1;
}
$index = $ARGV[0];
&nextI;
$offset1 = $offset;
&readnext;
$off = $offset - $offset1;
close (FI);
$fi = sprintf ("%03d.vdr",$file);
open (FI,$fi);
open (FO,">bild");
sysseek (FI,$offset1,0);
sysread (FI,$temp,200000);
syswrite (FO,$temp,200000);
close (FI);
close (FO);
`cat bild | /usr/local/bin/avpes2mpeg > avpes`;
`/usr/local/bin/my/dumpframe avpes 1`;
#`/usr/local/bin/pes2av_pes bild | /usr/local/bin/pvademux /x2/temp bild`;
print "$index\n";
|