php trim.php "input video.flv"
<?php $handle = fopen($argv[1], 'rb'); $data = fread($handle, 10 * 1024 * 1024); file_put_contents("$argv[1]" . ".trim", $data); ?>