Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

get_video_info()

Parameters

ColumnTypeDefaultDescription
$file

Location

include/resource_functions.php lines 6778 to 6783

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");
    return 
json_decode($ffprobe_outputtrue);
    }

This article was last updated 19th March 2024 10:35 Europe/London time based on the source file dated 11th March 2024 14:25 Europe/London time.