video = WBClass::create('WBVFS_Mime_Video'); } public function parse($in) { echo "
" . print_r($in, true) . "\n"; if (!is_array($in)) { $in = explode("\n", $in); } $info = $this->video->parseFfprobe($in); echo "
" . print_r($info, true) . "\n"; echo "
" . print_r(serialize($info), true) . "\n"; return $info; } } $ig = new InfoGetter(); $in = <<