diff --git a/lib/Controller/VideoController.php b/lib/Controller/VideoController.php index 66f14345..bf8d531f 100644 --- a/lib/Controller/VideoController.php +++ b/lib/Controller/VideoController.php @@ -90,6 +90,11 @@ class VideoController extends ApiBase return new JSONResponse(['message' => 'Transcoder not configured'], Http::STATUS_INTERNAL_SERVER_ERROR); } + // Make transcoder executable + if (!is_executable($transcoder)) { + chmod($transcoder, 0755); + } + // Check for environment variables $vaapi = $this->config->getSystemValue('memories.qsv', false); $env = '';