src/Detectives/ffmpegDetective.php
private function ffprobeHasVideo()
	{
		if (isset($this->metadata['streams']))
		{
			foreach ($this->metadata['streams'] as $streamIndex => $stream)
			{
				if (isset($stream['codec_type']) && $stream['codec_type'] === "video" && $stream['disposition']['attached_pic'] !== 1)
				{
					return $streamIndex;
				}
			}
		}

		return false;
	}
private function ffprobeHasVideo()
	{
		if (isset($this->metadata['streams']))
		{
			foreach ($this->metadata['streams'] as $streamIndex => $stream)
			{
				if (isset($stream['codec_type']) && $stream['codec_type'] === "video" && $stream['disposition']['attached_pic'] !== 1)
				{
					return $streamIndex;
				}
			}
		}

		return false;
	}
private function ffprobeHasVideo ( ) { if ( isset ( $ this -> metadata [ 'streams' ] ) ) { foreach ( $ this -> metadata [ 'streams' ] as $ streamIndex => $ stream ) { if ( isset ( $ stream [ 'codec_type' ] ) && $ stream [ 'codec_type' ] === "video" && $ stream [ 'disposition' ] [ 'attached_pic' ] !== 1 ) { return $ streamIndex ; } } } return false ; }
Check our metadata for a video stream.

@return boolean|int  Int if video stream index found (CAN BE 0), false if none
Check our metadata for a video stream .