Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

get_video_info()

Parameters

ColumnTypeDefaultDescription
$file

Location

include/resource_functions.php lines 6420 to 6426

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 15th June 2021 13:35 Europe/London time based on the source file dated 4th June 2021 11:55 Europe/London time.