test
This commit is contained in:
parent
2792decf31
commit
7089180e01
@ -164,8 +164,16 @@ 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([
|
||||
"-c:v", "libvpx",
|
||||
"-hwaccel", "cuda",
|
||||
"-c:v", "h264_nvenc",
|
||||
"-c:a", "libvorbis",
|
||||
"-f", "webm"
|
||||
])
|
||||
else:
|
||||
ffmpeg_command.extend([
|
||||
"-c:v", "copy",
|
||||
"-c:a", "libvorbis",
|
||||
"-f", "webm"
|
||||
])
|
||||
|
||||
@ -4,6 +4,11 @@
|
||||
"value": "none",
|
||||
"config_file": true,
|
||||
"config_web": true
|
||||
},
|
||||
"ffmpeg_transcode":{
|
||||
"value": "none",
|
||||
"config_file": true,
|
||||
"config_web": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user