ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
130.19k stars 9.82k forks source link

SonyLIV videos with original bitrate #16938

Closed theincognito-inc closed 6 years ago

theincognito-inc commented 6 years ago

What is the purpose of your issue?


Description of your issue, suggested solution and other information

Hi,

Earlier there was an issue with SonyLIV free to play videos not able to download via youtube-dl. This was fixed by @remitamine in this commit.

Now, I found something interesting. After this commit, for the videos with fairplay encryption, I could download the "source" video(See the commit mentioned above for more details). This is a huge development(atleast in my eyes 🥇 ) since the SonyLIV bitrates are abysmal (1199 kb/s at 720p -that's their maximum quality) and the source video was having ~5000 kb/s at 1080p.

I tried editing the brightcove.py using the commit mentioned earlier, by copying the relevant portion just outside the "if not formats:" line. This resulted in some more videos having the formats we normally get, along with "source" formats. However, it's not working for all videos. I am a python noob, so I dunno much. I am a paid member of that site and is willing to share my login details, if required.

Sample URLs getting source video:

  1. In the current commit - https://www.sonyliv.com/details/highlights/5806567196001/

  2. After the my edit to brightcove.py - https://www.sonyliv.com/details/highlights/5806741959001/

  3. Still not getting source video - https://www.sonyliv.com/details/clips/5804733675001/

Note, I am getting regular video formats for all videos without any hassles. I know this is an enhancement and if this is not possible, please let me know and close this ticket.

Thanks and Regards!

theincognito-inc commented 6 years ago

@dstftw @remitamine

dstftw commented 6 years ago

No source URLs available for these videos.