public function video_ffmpeg_php::get_dimensions in Video 7
Return the dimensions of a video
Overrides video_ffmpeg::get_dimensions
File
- transcoders/
video_ffmpeg_php.inc, line 103
Class
Code
public function get_dimensions($video) {
$movie = new ffmpeg_movie($video);
$res['width'] = $movie
->getFrameWidth();
$res['height'] = $movie
->getFrameHeight();
return $res;
}