selsta / hlsdl

C program to download VoD HLS (.m3u8) files
MIT License
633 stars 158 forks source link

Maximum download resolution? #50

Open kumaranjeya opened 5 years ago

kumaranjeya commented 5 years ago

1: Bandwidth: 1096, Resolution: unknown, Codecs: unknown 2: Bandwidth: 704, Resolution: unknown, Codecs: unknown Which Quality should be downloaded? 1

START media_playlist_get_links END media_playlist_get_links HLS Stream is AES-128 encrypted. Media Playlist parsed successfully.

I'm only getting highest resolution of only 720p for downloading. But, the website showing highest of 1080p. So, wondering how to achieve 1080p download resolution. Any suggestion and help is appreciated. Thank you.

selsta commented 5 years ago

Maybe you pasted the wrong link into hlsdl?

kumaranjeya commented 5 years ago

Hi, I'm downloading from "Chinese" website, could it be caused by unicode symbols? But, not sure too. Thank you and regards.

selsta commented 5 years ago

Possible. I don’t have a link to reproduce this so I can’t say with certainty.

kumaranjeya commented 5 years ago

Hi, I'm subscribing to this educational website. So, I can't post my id and password. But, do you have direct email address so that i can give you access to the website for you to experiment? Thank you and regards.

selsta commented 5 years ago

@kumaranjeya selsta [at] sent [.] at

but I won’t have time for a week or so.

kumaranjeya commented 5 years ago

Hi, sure not a problem. I understand. Only when you have free time. I have opened the M3U8 playlist file and contains following information:

EXTM3U

EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=704,NAME=标清

https://www.taikr.com/hls/13929/stream/sd/FwJtGWE3McxhVei3XwcGBRgypT3VZcWz.m3u8?protocol=https

EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1096,NAME=高清

https://www.taikr.com/hls/13929/stream/hd/m1oCYRFkFcuzgCNQADOzqtkqtQcUEIu0.m3u8?protocol=https

EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1628,NAME=超清

https://www.taikr.com/hls/13929/stream/shd/PPqIIAaDKw0mzoumujUVyd4xEH0zaz9m.m3u8?protocol=https

As such, I'm only getting BANDWIDTH=704 & 1096 and BANDWIDTH=1628 is missing via hlsdl. Also the link: https://www.taikr.com/hls/13929/playlist/sZY6cmGCdLAzhYZny1TLxsoCGWGIaHvF.m3u8

If any issue with the link, kindly let me know. Appreciate your help, Thank you and regards.

selsta commented 5 years ago

Can you post a fresh link of the master playlist again? https://www.taikr.com/hls/13929/playlist/sZY6cmGCdLAzhYZny1TLxsoCGWGIaHvF.m3u8 is now timing out. It’s probably related to the Chinese characters.

kumaranjeya commented 5 years ago

https://www.taikr.com/hls/13929/playlist/lpqpouAaKRH53Cjd2kEVcXNCYYnFmG9e.m3u8

selsta commented 5 years ago

ok ty I can reproduce this now

kumaranjeya commented 5 years ago

https://www.taikr.com/hls/13929/playlist/i9hgceJ5VL969gqu7RcP846VK6PLBFES.m3u8

selsta commented 5 years ago

Will fix this once I have time, I have a copy of the .m3u8 saved.

kumaranjeya commented 5 years ago

Hi, sure noted. Please keep me informed. Thank you and regards

liuhui19994 commented 5 years ago

1:带宽:1096,分辨率:未知,编解码器:未知 2:带宽:704,分辨率:未知,编解码器:未知 应该下载哪种质量?1个

START media_playlist_get_links END media_playlist_get_links HLS流经过AES-128加密。 媒体播放列表已成功解析。

我下载的分辨率仅为720p。但是,该网站显示的最高1080p。因此,想知道如何实现1080p下载分辨率。任何建议和帮助表示赞赏。谢谢。

大神,能留个联系方式吗?QQ,微信,都可以,有问题请教?