protected function extractInformation(Video $video)
{
$tmpFile = $this->temp->create($video->getContent());
$info = $this->reader->analyze($tmpFile->getPathname());
$tmpFile->destroy();
if (isset($info['audio']['streams'])) {
unset($info['audio']['streams']);
}
return [$info['audio'], $info['video'], $info['playtime_seconds'], $info['bitrate']];
}