Script file generated from LiVES |1.7 desub 4 Marco de la Cruz & Salsaman| Remove subtitles|Removing subtitles from|1|1| desub.py python convert identify mogrify composite height|_Height of subtitles (%) |num0|0|0|100| heights|Height of subtitles (_pixels)|num0|0|0|10000| top|Subtitles are at the _top i.e. they're surtitles (only if using the above methods)|bool|0| crop|_Crop|bool|1|1| repl|_Replace with section from keyframe|num0|1|1|10000000| geom|Subtitle _geometry (WxH+X+Y)|string||40| b1|use _percent|bool|1|2| b2|use _absolute|bool|0|2| b3|use _geometry|bool|0|2| b4|replace|bool|0|1| layout|p6|p0| layout|p7|p1| layout|p2| layout|p8|p5| layout|hseparator| layout|"Removal method (select keyframe if specifying geometry)"| layout|p3| layout|p9|p4| 0x0001 0xF0
$top="";
if ($p2) {
    $top="-t";
}
if (!$p3) {
    $newname=&mkname($p4);
    if ($p8) {
        $method="-o -g $p5 -k $newname$img_ext";
    }
    else {
        $method="-r -k $newname$img_ext";
    }
}
else {
    $method="-c";
}
$sh="";
if ($p6) {
    $sh="-s '$p0%'";
}
elsif ($p7) {
    $sh="-s $p1";
}
system("desub.py -q $method $sh $top -p c -x -e ".substr($out_ext,1)." $in"); init|$p1_max=$height; init|$p4_max=$last;$p4=$start-1;if (!$p4) {$p4=$end+1; if ($p4>$last) {$p4=1;}}