diff --git a/stream/__init__.py b/stream/__init__.py index 09d72f1..eaa8256 100644 --- a/stream/__init__.py +++ b/stream/__init__.py @@ -164,62 +164,10 @@ class Plugin_OBJ(): def transcode_profiles(self, stream_args): ffmpeg_command = [] - - if not stream_args["transcode_quality"] or stream_args["transcode_quality"] == "heavy": - ffmpeg_command.extend([ - "-c:v", "libvpx", - "-c:a", "libvorbis", - "-f", "webm" - ]) - - elif stream_args["transcode_quality"] == "mobile": - ffmpeg_command.extend([ - "-c:v", "libvpx", - "-c:a", "libvorbis", - "-s", "1280X720", - "-b:v", "500k", - "-b:a", "128k", - "-f", "webm" - ]) - - elif stream_args["transcode_quality"] == "internet720": - ffmpeg_command.extend([ - "-c:v", "libvpx", - "-c:a", "libvorbis", - "-s", "1280X720", - "-b:v", "1000k", - "-b:a", "196k", - "-f", "webm" - ]) - - elif stream_args["transcode_quality"] == "internet480": - ffmpeg_command.extend([ - "-c:v", "libvpx", - "-c:a", "libvorbis", - "-s", "848X480", - "-b:v", "400k", - "-b:a", "128k", - "-f", "webm" - ]) - - elif stream_args["transcode_quality"] == "internet360": - ffmpeg_command.extend([ - "-c:v", "libvpx", - "-c:a", "libvorbis", - "-s", "640X360", - "-b:v", "250k", - "-b:a", "96k", - "-f", "webm" - ]) - - elif stream_args["transcode_quality"] == "internet240": - ffmpeg_command.extend([ - "-c:v", "libvpx", - "-c:a", "libvorbis", - "-s", "432X240", - "-b:v", "250k", - "-b:a", "96k", - "-f", "webm" - ]) + ffmpeg_command.extend([ + "-c:v", "libvpx", + "-c:a", "libvorbis", + "-f", "webm" + ]) return ffmpeg_command