Skip to content

Commit

Permalink
Add some ultra low quality itags
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge committed Nov 18, 2024
1 parent 67ee169 commit b8986ee
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions resources/lib/youtube_plugin/youtube/helper/stream_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ class StreamInfo(YouTubeRequestClient):
'video': {'height': 1080, 'codec': 'h.264'},
'audio': {'bitrate': 128, 'codec': 'aac'}},
# === DASH (video only)
'597': {'container': 'mp4',
'dash/video': True,
'fps': 12,
'video': {'height': 144, 'codec': 'h.264'}},
'133': {'container': 'mp4',
'dash/video': True,
'video': {'height': 240, 'codec': 'h.264'}},
Expand Down Expand Up @@ -274,6 +278,10 @@ class StreamInfo(YouTubeRequestClient):
'dash/video': True,
'fps': 60,
'video': {'height': 4320, 'codec': 'vp9'}},
'598': {'container': 'webm',
'dash/video': True,
'fps': 12,
'video': {'height': 144, 'codec': 'vp9'}},
'278': {'container': 'webm',
'dash/video': True,
'video': {'height': 144, 'codec': 'vp9'}},
Expand Down Expand Up @@ -430,6 +438,10 @@ class StreamInfo(YouTubeRequestClient):
'hdr': True,
'video': {'height': 4320, 'codec': 'av1'}},
# === Dash (audio only)
'599': {'container': 'mp4',
'title': 'he-aac@32',
'dash/audio': True,
'audio': {'bitrate': 32, 'codec': 'aac'}},
'139': {'container': 'mp4',
'title': 'he-aac@48',
'dash/audio': True,
Expand Down Expand Up @@ -470,6 +482,10 @@ class StreamInfo(YouTubeRequestClient):
'title': 'vorbis@192',
'dash/audio': True,
'audio': {'bitrate': 192, 'codec': 'vorbis'}},
'600': {'container': 'webm',
'title': 'opus@40',
'dash/audio': True,
'audio': {'bitrate': 40, 'codec': 'opus'}},
'249': {'container': 'webm',
'title': 'opus@50',
'dash/audio': True,
Expand Down

0 comments on commit b8986ee

Please sign in to comment.