mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-09 22:57:16 +08:00
[soundcloud] Handle alternate preset descriptor for AAC streams
This commit is contained in:
parent
8c59456191
commit
898b30f51e
@ -227,10 +227,13 @@ class SoundcloudIE(InfoExtractor):
|
||||
acodec = 'opus'
|
||||
ext = 'ogg'
|
||||
abr = 64
|
||||
elif stream['preset'] == 'aac_1_0':
|
||||
elif stream['preset'] in ('aac_1_0', 'aac_hq'):
|
||||
acodec = 'aac'
|
||||
ext = 'm4a'
|
||||
abr = 256
|
||||
else:
|
||||
self.to_screen('Stream type %s not recognised' % stream['preset'])
|
||||
continue
|
||||
|
||||
format_id = ('%s-%s-%s' % (stream['format']['protocol'], acodec, abr))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user