Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

get_video_info()

Parameters

ColumnTypeDefaultDescription
$file

Location

include/resource_functions.php lines 5885 to 5891

Definition

 
function get_video_info($file)
    {
    
$ffprobe_fullpath get_utility_path("ffprobe");
    
$ffprobe_output=run_command($ffprobe_fullpath " -v 0 " escapeshellarg($file) . " -show_streams -of json");
    
$ffprobe_array=json_decode($ffprobe_outputtrue);
    return (
$ffprobe_array);
    }

This article was last updated 12th July 2020 07:05 Europe/London time based on the source file dated 10th July 2020 16:06 Europe/London time.