This commit is contained in:
deathbybandaid 2021-02-04 10:54:35 -05:00
parent 0836188819
commit 349e38f840
2 changed files with 8 additions and 0 deletions

View File

@ -164,6 +164,9 @@ class Plugin_OBJ():
def transcode_profiles(self, stream_args):
ffmpeg_command = []
if not self.plugin_utils.config.dict["webwatch"]["ffmpeg_transcode"] == "nvenc":
ffmpeg_command.extend(["-hwaccel", "cuda"])
ffmpeg_command.extend([
"-c:v", "libvpx",
"-c:a", "libvorbis",

View File

@ -4,6 +4,11 @@
"value": "none",
"config_file": true,
"config_web": true
},
"ffmpeg_transcode":{
"value": "none",
"config_file": true,
"config_web": true
}
}
}