youtube-downloader icon indicating copy to clipboard operation
youtube-downloader copied to clipboard

720p Format with Audio issue

Open cclegend90 opened this issue 3 years ago • 3 comments

Hi, I know youtube separate audio of most 720p videos. But I've come across a site that downloads in 720p with audio and they do it without converting and storing it on their server which means direct URL to "googlevideo.com". Even the SaveForm doesn't give the 720p with an audio option.

The direct URL has this "itag=22" which means video+audio. But if we check all formats, there's no "itag=22" in the HTML source code. But somehow they're generating it. I'll leave all links here, thanks!

Website Link: https://www.y2meta.com/youtube/6abApmfFuT8 Video Link: https://www.youtube.com/watch?v=6abApmfFuT8 Here's the direct URL to download: https://redirector.googlevideo.com/videoplayback?expire=1639409986&ei=4hS3YeK-DOyM6dsPgoy_0A8&ip=94.130.69.32&id=o-AHwUEpLhqsegXreuKfurhDwYOzYK69B44a6wsdO6uowG&itag=22&source=youtube&requiressl=yes&mh=PO&mm=31%2C26&mn=sn-4g5edn6k%2Csn-f5f7kn7z&ms=au%2Conr&mv=m&mvi=4&pl=22&initcwndbps=676250&vprv=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=9013.614&lmt=1639369933945092&mt=1639387979&fvip=4&fexp=24001373%2C24007246&c=ANDROID&txp=6311224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAK3ZPD1eVP1NR1DuegeVIL04J_H4OOhS4VVgitC10ZHHAiAPHXMUS3RLfk1RlSJIA5hcPM3yJtknymo6f9vcNRUKlA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgYe7PWoEPPoY6bzghkL5sqLoX5OkptXltcWqcRpPfKSICIAnE6kMN86WMdZ_hSM2lwU7Qo22koxabTlMbZgCXKV3e&host=r4---sn-4g5edn6k.googlevideo.com&title=y2meta.com%20-%20Relaxing%20Blues%20Music%20%7C%20Top%20Blues%20Music%20Of%20All%20Time%20%7C%20Best%20Of%20Slow%20Blues

cclegend90 avatar Dec 13 '21 10:12 cclegend90

YouTube normally provides 720p with audio, the issue is with qualities more than 720p which need muxing

a-adly avatar Dec 13 '21 10:12 a-adly

YouTube normally provides 720p with audio, the issue is with qualities more than 720p which need muxing

Correct but for this specific URL not even 720p with audio is available. No 22 iTag is available in HTML source code. That means conversion is required. But y2meta is providing it without converting and giving out a direct URL to "googlevideo.com".

cclegend90 avatar Dec 13 '21 10:12 cclegend90

Hello @cclegend90, have a look at this PR: https://github.com/Athlon1600/youtube-downloader/pull/151 It is probably doing what you want.

AgentSmith0 avatar Dec 16 '21 14:12 AgentSmith0