video = WBClass::create('WBVFS_Mime_Video'); } public function parse($in) { echo "

Parse

\n"; echo "
Input
\n"; echo "
" . print_r($in, true) . "
\n"; if (!is_array($in)) { $in = explode("\n", $in); } $info = $this->video->parseFfprobe($in); echo "
Output
\n"; echo "
" . print_r($info, true) . "
\n"; echo "
" . print_r(serialize($info), true) . "
\n"; return $info; } } $ig = new InfoGetter(); $in = <<parse($in); $in = <<parse($in); $in= <<parse($in); $in= <<parse($in);