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