public function getVideoInfo($src) {
    $lines = array();
    if (!is_readable($src)) {
      throw new \Exception("Source file '$src' is not readable");
    }
    $this->Process->run($this->config['ffmpeg.bin'], array('-i', $src), $lines);
    if (count($lines)) {
      return $this->parseInfo($lines);
    }
    return false;
  }
public function getVideoInfo($src) {
    $lines = array();
    if (!is_readable($src)) {
      throw new \Exception("Source file '$src' is not readable");
    }
    $this->Process->run($this->config['ffmpeg.bin'], array('-i', $src), $lines);
    if (count($lines)) {
      return $this->parseInfo($lines);
    }
    return false;
  }
public function getVideoInfo ( $ src ) { $ lines = array ( ) ; if ( ! is_readable ( $ src ) ) { throw new \ Exception ( "Source file '$src' is not readable" ) ; } $ this -> Process -> run ( $ this -> config [ 'ffmpeg.bin' ] , array ( '-i' , $ src ) , $ lines ) ; if ( count ( $ lines ) ) { return $ this -> parseInfo ( $ lines ) ; } return false ; }
Get information about a video file

@param string $src Video filename
@return mixed False on error
Get information about a video file