public function video_conversion::process in Video 6.4
Same name and namespace in other branches
- 7 includes/conversion.inc \video_conversion::process()
Process the video through ffmpeg.
Parameters
$video: This can either be the file object or the file id (fid)
Return value
TRUE of FALSE if video was converted successfully.
1 call to video_conversion::process()
- video_conversion::run_queue in includes/
conversion.inc - Our main function to call when converting queued up jobs.
File
- includes/
conversion.inc, line 59
Class
Code
public function process($video) {
if (is_object($video) && isset($video->fid)) {
$return = $this
->render($video);
}
else {
$video_object = $this
->load_job($video);
$return = $this
->render($video_object);
}
return $return;
}