Skip to content

Instantly share code, notes, and snippets.

@sidneys
Created January 20, 2018 11:12
Show Gist options
  • Save sidneys/7095afe4da4ae58694d128b1034e01e2 to your computer and use it in GitHub Desktop.
Save sidneys/7095afe4da4ae58694d128b1034e01e2 to your computer and use it in GitHub Desktop.
YouTube video stream format codes itags

YouTube video stream format codes

Comprehensive list of YouTube format code itags

itag Code Container Content Resolution Bitrate Range VR / 3D
5 flv audio/video 240p - - -
6 flv audio/video 270p - - -
17 3gp audio/video 144p - - -
18 mp4 audio/video 360p - - -
22 mp4 audio/video 720p - - -
34 flv audio/video 360p - - -
35 flv audio/video 480p - - -
36 3gp audio/video 180p - - -
37 mp4 audio/video 1080p - - -
38 mp4 audio/video 3072p - - -
43 webm audio/video 360p - - -
44 webm audio/video 480p - - -
45 webm audio/video 720p - - -
46 webm audio/video 1080p - - -
82 mp4 audio/video 360p - - 3D
83 mp4 audio/video 480p - - 3D
84 mp4 audio/video 720p - - 3D
85 mp4 audio/video 1080p - - 3D
92 hls audio/video 240p - - 3D
93 hls audio/video 360p - - 3D
94 hls audio/video 480p - - 3D
95 hls audio/video 720p - - 3D
96 hls audio/video 1080p - - -
100 webm audio/video 360p - - 3D
101 webm audio/video 480p - - 3D
102 webm audio/video 720p - - 3D
132 hls audio/video 240p - -
133 mp4 video 240p - -
134 mp4 video 360p - -
135 mp4 video 480p - -
136 mp4 video 720p - -
137 mp4 video 1080p - -
138 mp4 video 2160p60 - -
139 m4a audio - 48k -
140 m4a audio - 128k -
141 m4a audio - 256k -
151 hls audio/video 72p - -
160 mp4 video 144p - -
167 webm video 360p - -
168 webm video 480p - -
169 webm video 1080p - -
171 webm audio - 128k -
218 webm video 480p - -
219 webm video 144p - -
242 webm video 240p - -
243 webm video 360p - -
244 webm video 480p - -
245 webm video 480p - -
246 webm video 480p - -
247 webm video 720p - -
248 webm video 1080p - -
249 webm audio - 50k -
250 webm audio - 70k -
251 webm audio - 160k -
264 mp4 video 1440p - -
266 mp4 video 2160p60 - -
271 webm video 1440p - -
272 webm video 4320p - -
278 webm video 144p - -
298 mp4 video 720p60 - -
299 mp4 video 1080p60 - -
302 webm video 720p60 - -
303 webm video 1080p60 - -
308 webm video 1440p60 - -
313 webm video 2160p - -
315 webm video 2160p60 - -
330 webm video 144p60 - hdr
331 webm video 240p60 - hdr
332 webm video 360p60 - hdr
333 webm video 480p60 - hdr
334 webm video 720p60 - hdr
335 webm video 1080p60 - hdr
336 webm video 1440p60 - hdr
337 webm video 2160p60 - hdr
@AlexTeplov45
Copy link

571: mp4 video 3840p
702: mp4 video 3840p

@SilSinn9801
Copy link

SilSinn9801 commented Nov 22, 2021

571: mp4 video 3840p 702: mp4 video 3840p

What’s the difference between both 571 & 702? Frame rate? HDR status? Codec?

@jericjan
Copy link

I found a format code: 91. But it's missing here. It's for 144p hls.

@Raprodent
Copy link

Does anyone have working Mp4 (with audio) for 4K?
And did anyone save that RESOLVER.py that was linked?

@Mathias8405
Copy link

Does anyone know the itag code(s) for audio only MP3?

@LBSiUK
Copy link

LBSiUK commented Mar 18, 2022

Does anyone know the itag code(s) for audio only MP3?

YouTube doesn't make MP3 versions of any of its videos. Those 'YouTube to MP3' services will simply download f140 or f251 and transcode that to MP3 (that's also why they usually sound kinda bad).

@LBSiUK
Copy link

LBSiUK commented Mar 18, 2022

Does anyone have working Mp4 (with audio) for 4K? And did anyone save that RESOLVER.py that was linked?

YouTube doesn't make a 4K AVC encode anymore, excluding some 360 VR ones. And those are video only.

@Mathias8405
Copy link

Does anyone know the itag code(s) for audio only MP3?

YouTube doesn't make MP3 versions of any of its videos. Those 'YouTube to MP3' services will simply download f140 or f251 and transcode that to MP3 (that's also why they usually sound kinda bad).

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment