You are here

public function video_transcoder::get_dimensions in Video 6.5

Same name and namespace in other branches
  1. 6.4 includes/transcoder.inc \video_transcoder::get_dimensions()
  2. 7 includes/transcoder.inc \video_transcoder::get_dimensions()

Return the width and height of the given file.

Parameters

$filepath: string containing the path to the video file.

Return value

array containing keys width and height or NULL when the width and height can't be determined.

2 methods override video_transcoder::get_dimensions()
video_localcommand::get_dimensions in transcoders/video_localcommand.inc
Return the dimensions of a video
video_zencoder::get_dimensions in plugins/video_zencoder/transcoders/video_zencoder.inc
Return the dimensions of a video

File

./video.lib.inc, line 91
File containing Video module interfaces and classes

Class

video_transcoder

Code

public function get_dimensions($filepath);