Function __global->get_video_details_from_file

Definitions

sources/galleries2.php

  • Get width,height,length of a video file. Note: unfortunately mpeg is not possible without huge amounts of code.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$file_path PATH required parameter N/A N/A The path to the video file
$filename ?string required parameter N/A N/A The original filename of the video file (so we can find the file type from the file extension) (null: derive from $file_path)
$delay_errors boolean False N/A N/A Whether to skip over errored files instead of dying. We don't currently make use of this as our readers aren't sophisticated enough to properly spot erroneous situations.

Return

  • The triplet of width/height/length (possibly containing nulls for when we can't detect properties) (false: error)
  • Type: ~array
  • Set: N/A
  • Range: N/A