| 1 |
<?php |
<?php |
| 2 |
//$Id: video_ffmpeg_helper.module,v 1.8.2.1 2009/05/27 01:48:28 heshanmw Exp $ |
//$Id: video_ffmpeg_helper.module,v 1.8.2.2 2009/06/01 01:10:32 heshanmw Exp $ |
| 3 |
/** |
/** |
| 4 |
* @file |
* @file |
| 5 |
* Provide some api for use ffmpeg. Simplify video nodes creation. |
* Provide some api for use ffmpeg. Simplify video nodes creation. |
| 360 |
return $ffmpeg_info[$fileobj->filename]; |
return $ffmpeg_info[$fileobj->filename]; |
| 361 |
} |
} |
| 362 |
|
|
|
|
|
| 363 |
// escape file name for safety |
// escape file name for safety |
| 364 |
$file = escapeshellarg($fileobj->filepath); |
$file = escapeshellarg($fileobj->filepath); |
| 365 |
// create the full command to execute |
// create the full command to execute |