Add GPU transcoding for NVIDIA (fix #194)
parent
c7c42df19e
commit
15997dc793
|
@ -108,6 +108,12 @@ class VideoController extends ApiBase
|
|||
$env .= 'VAAPI=1 ';
|
||||
}
|
||||
|
||||
// NVENC
|
||||
$nvenc = $this->config->getSystemValue('memories.nvenc', false);
|
||||
if ($nvenc) {
|
||||
$env .= 'NVENC=1 ';
|
||||
}
|
||||
|
||||
// Paths
|
||||
$ffmpegPath = $this->config->getSystemValue('memories.ffmpeg_path', 'ffmpeg');
|
||||
$ffprobePath = $this->config->getSystemValue('memories.ffprobe_path', 'ffprobe');
|
||||
|
|
|
@ -20,7 +20,7 @@ mv "exiftool-$exifver" exiftool
|
|||
rm -rf *.zip exiftool/t exiftool/html
|
||||
chmod 755 exiftool/exiftool
|
||||
|
||||
govod="0.0.19"
|
||||
govod="0.0.20"
|
||||
echo "Getting go-vod $govod"
|
||||
wget -q "https://github.com/pulsejet/go-vod/releases/download/$govod/go-vod-amd64"
|
||||
wget -q "https://github.com/pulsejet/go-vod/releases/download/$govod/go-vod-aarch64"
|
||||
|
|
Loading…
Reference in New Issue