public function PHPVideoToolkit::canFormatBeDemuxed in Video 7.2
Same name and namespace in other branches
- 7 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 value
boolean True if the codec can be decoded by ffmpeg, otherwise FALSE.
File
- libraries/
phpvideotoolkit/ phpvideotoolkit.php5.php, line 2646 - Libary to access FFmpeg
Class
Code
public function canFormatBeDemuxed($format) {
return $this
->validateFormat($format, 'demux');
}