video-setup: improve docs

pull/221/head
Varun Patil 2022-11-11 18:24:37 -08:00
parent 2ed0182a77
commit b93d613fab
1 changed files with 4 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class VideoSetup extends Command
$this->config->setSystemValue('memories.transcoder', $goVodPath); $this->config->setSystemValue('memories.transcoder', $goVodPath);
$this->config->setSystemValue('memories.no_transcode', false); $this->config->setSystemValue('memories.no_transcode', false);
$output->writeln('Transcoding and HLS are now enabled!'); $output->writeln('Transcoding and HLS are now enabled! Monitor the output at /tmp/go-vod.log for any errors');
// Check for VAAPI // Check for VAAPI
$output->writeln("\nChecking for QSV (/dev/dri/renderD128)"); $output->writeln("\nChecking for QSV (/dev/dri/renderD128)");
@ -139,6 +139,9 @@ class VideoSetup extends Command
$this->config->setSystemValue('memories.qsv', false); $this->config->setSystemValue('memories.qsv', false);
$output->writeln('QSV is now disabled'); $output->writeln('QSV is now disabled');
} else { } else {
$output->writeln("\nQSV is now enabled. You may still need to install the Intel Media Driver");
$output->writeln("and ensure proper permissions for /dev/dri/renderD128.");
$output->writeln('See the documentation for more details.');
$this->config->setSystemValue('memories.qsv', true); $this->config->setSystemValue('memories.qsv', true);
} }
} else { } else {