if($ext =~ /UNKNOWN/) { die "-E- Unable to determine the file type/extension to use for the output videos. Specify it with the -e <ext> option.\n"; }
$dstfile = $opt_o . ".c" . sprintf("%03d",$chapter) . "." . $ext;
print "-> Exporting $chapter to $dstfile:\n";
if($ext =~ /UNKNOWN/) { die "-E- Unable to determine the file type/extension to use for the output videos. Specify it with the -e <ext> option.\n"; }
$dstfile = $opt_o . ".c" . sprintf("%03d",$chapter) . "." . $ext;
print "-> Exporting $chapter to $dstfile:\n";