public function PHPVideoToolkit::timecodeToSeconds in Video 7.2
Same name and namespace in other branches
- 7 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::timecodeToSeconds()
Translates a timecode to the number of seconds. NOTE: this is now a depreciated, use formatTimecode() instead.
@access public @uses PHPVideoToolkit::formatTimecode()
Parameters
integer $input_seconds The number of seconds you want to calculate the timecode for.:
Deprecated
Use formatTimecode() instead.
File
- libraries/
phpvideotoolkit/ phpvideotoolkit.php5.php, line 2349 - Libary to access FFmpeg
Class
Code
public function timecodeToSeconds($input_timecode = '00:00:00') {
return $this
->formatTimecode($input_timecode, '%hh:%mm:%ss', '%st');
}