src/BoomCMS/FileInfo/Drivers/Mpeg.php
public function readMetadata(): array
    {
        try {
            $ffprobe = FFProbe::create();

            return $ffprobe
                ->format($this->file->getPathname())
                ->all();
        } catch (ExecutableNotFoundException $e) {
            return [];
        }
    }
public function readMetadata(): array
    {
        try {
            $ffprobe = FFProbe::create();

            return $ffprobe
                ->format($this->file->getPathname())
                ->all();
        } catch (ExecutableNotFoundException $e) {
            return [];
        }
    }
public function readMetadata ( ) : array { try { $ ffprobe = FFProbe :: create ( ) ; return $ ffprobe -> format ( $ this -> file -> getPathname ( ) ) -> all ( ) ; } catch ( ExecutableNotFoundException $ e ) { return [ ] ; } }
Extracts metadata via FFProbe.

@return array
Extracts metadata via FFProbe .