'Ffmpeg', 'Id' => 5)) === true); check('zmcStatus matches a local monitor', zmcStatus(array('Type' => 'Local', 'Device' => '/dev/video0', 'Id' => 7)) === true); exit($fail ? 1 : 0);