trim_functions.php
Table of Contents
Functions
- generate_video_trim() : void
- Trim video as requested from pages/trim.php
Functions
generate_video_trim()
Trim video as requested from pages/trim.php
generate_video_trim(string $target, string $source_video_file, int $resource_ref, string $ffmpeg_start_time, string $ffmpeg_duration_time) : void
Parameters
- $target : string
-
Path to the target file. This is the output location for the trim.
- $source_video_file : string
-
Path to the source video file. This file will be the input for the trim.
- $resource_ref : int
-
Ref of the resource to be trimmed.
- $ffmpeg_start_time : string
-
Start of trim - formatted with gmdate()
- $ffmpeg_duration_time : string
-
Duration of trim - formatted with gmdate()