protected function resolveOptions(array $options)
	{
		$options += [
			'ffmpeg.path'    => 'ffmpeg',
			'ffmpeg.threads' => 0,
			'timeout'        => 0
		];
		
		if ( ! file_exists($options['ffmpeg.path']) || ! is_executable($options['ffmpeg.path']))
		{
			$options['ffmpeg.path'] = (new ExecutableFinder())->find('ffmpeg', false);
			
			if ( ! $options['ffmpeg.path'])
			{
				throw new ExecutableNotFoundException('Executable not found, proposed ffmpeg', 'ffmpeg');
			}
		}
		
		return $options;
	}