PHP Classes

File: subtitle_time_adjust.php

Recommend this page to a friend!
  Classes of Luis Martinez Ulloa   Subtitle timestamp adjust   subtitle_time_adjust.php   Download  
File: subtitle_time_adjust.php
Role: Example script
Content type: text/plain
Description: test script
Class: Subtitle timestamp adjust
Adjust subtitle times for split movie files
Author: By
Last change:
Date: 15 years ago
Size: 227 bytes
 

Contents

Class file image Download
<?php

require_once 'xzysubtitletsadj.php';

$ruta = $_SERVER['argv'][1];
$salida = $_SERVER['argv'][2];


$ts = new xzy_movietsadj;
$ts->loadst($ruta);
$ts->tsajuste = $ts->string2ts('01:05:22,000');

$ts->savest($salida);

?>