This commit is contained in:
deathbybandaid 2021-02-04 10:44:06 -05:00
parent d5c570175f
commit 2ae87897f5
2 changed files with 2 additions and 15 deletions

View File

@ -164,17 +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",
"-c:v", "h264_nvenc",
"-c:a", "copy",
"-f", "mp4"
])
else:
ffmpeg_command.extend([
"-c:v", "copy",
"-c:a", "libvorbis",
"-c:a", "copy",
"-f", "webm"
])

View File

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