You are here

public static function PHPVideoToolkit::canFormatBeDemuxed in Video 7

Same name and namespace in other branches
  1. 7.2 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::canFormatBeDemuxed()

* Checks to see if a given format can be demuxed by the current ffmpeg binary. * @access public *

Parameters

$codec string The shortcode for the codec to check for.: * @return boolean True if the codec can be decoded by ffmpeg, otherwise false.

File

libraries/phpvideotoolkit/phpvideotoolkit.php5.php, line 2873

Class

PHPVideoToolkit

Code

public static function canFormatBeDemuxed($format) {
  return self::validateFormat($format, 'demux');
}