Commit 33323d79 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 2b3deb41
...@@ -472,6 +472,9 @@ class Media { ...@@ -472,6 +472,9 @@ class Media {
case "General": case "General":
$array["vcodec"] = str_replace("Matroska", "mkv", $value["Format"]); $array["vcodec"] = str_replace("Matroska", "mkv", $value["Format"]);
$array["duration"] = $this->getRunTime($value["Duration"]); $array["duration"] = $this->getRunTime($value["Duration"]);
echo $value["Duration"];
exit;
$array["totalbitrate"] = round(trim(str_replace(" ", "",str_replace("Mbps", "", $value["Overall_bit_rate"])))*1024,0); $array["totalbitrate"] = round(trim(str_replace(" ", "",str_replace("Mbps", "", $value["Overall_bit_rate"])))*1024,0);
break; break;
case "Video": case "Video":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment