add more video modes
This commit is contained in:
parent
dd860862be
commit
1df0ba3427
1 changed files with 20 additions and 0 deletions
|
@ -96,6 +96,12 @@ def video_cmd(video, target, profile, info):
|
|||
audioquality = 3
|
||||
audiobitrate = None
|
||||
audiochannels = 2
|
||||
elif profile == '432p':
|
||||
height = 432
|
||||
audiorate = 44100
|
||||
audioquality = 2
|
||||
audiobitrate = None
|
||||
audiochannels = 2
|
||||
elif profile == '360p':
|
||||
height = 360
|
||||
|
||||
|
@ -103,6 +109,13 @@ def video_cmd(video, target, profile, info):
|
|||
audioquality = 1
|
||||
audiobitrate = None
|
||||
audiochannels = 1
|
||||
elif profile == '288p':
|
||||
height = 288
|
||||
|
||||
audiorate = 44100
|
||||
audioquality = 0
|
||||
audiobitrate = None
|
||||
audiochannels = 1
|
||||
elif profile == '240p':
|
||||
height = 240
|
||||
|
||||
|
@ -110,6 +123,13 @@ def video_cmd(video, target, profile, info):
|
|||
audioquality = 0
|
||||
audiobitrate = None
|
||||
audiochannels = 1
|
||||
elif profile == '144p':
|
||||
height = 144
|
||||
|
||||
audiorate = 22050
|
||||
audioquality = -1
|
||||
audiobitrate = '22k'
|
||||
audiochannels = 1
|
||||
else:
|
||||
height = 96
|
||||
|
||||
|
|
Loading…
Reference in a new issue