forked from 0x2620/pandora
add 0p for audio only profile
This commit is contained in:
parent
20b3831862
commit
7f31998254
1 changed files with 7 additions and 0 deletions
|
@ -145,6 +145,13 @@ def stream(video, target, profile, info, audio_track=0, flags={}):
|
|||
audioquality = -1
|
||||
audiobitrate = '22k'
|
||||
audiochannels = 1
|
||||
elif profile == '0p':
|
||||
info['video'] = []
|
||||
audiorate = 48000
|
||||
audioquality = 6
|
||||
audiobitrate = None
|
||||
audiochannels = None
|
||||
audio_codec = 'libopus'
|
||||
else:
|
||||
height = 96
|
||||
|
||||
|
|
Loading…
Reference in a new issue