Ascoware / get-iplayer-automator

The goal of Get iPlayer Automator is to allow iTunes and your Mac to become the hub for your British Television experience regardless of where in the world you are. Currently, Get iPlayer Automator allows you to download and watch BBC and ITV shows on your Mac. Series-Link/PVR functionality ensures you will never miss your favourite shows. Programmes are fully tagged and added to iTunes automatically upon completion. It is simple and easy to use, and runs on any machine running Mac OS X 10.7 or later. And since the shows are in iTunes, it is extremely easy to transfer them to your iPod, iPhone, or Apple TV allowing you to enjoy your shows on the go or on your television.
GNU General Public License v3.0
144 stars 27 forks source link

ITV max out at 504p #295

Closed KiaN2020 closed 3 years ago

KiaN2020 commented 3 years ago

ITV downloads seem to only download at 504p is there anyway to download the HD version or is this not possible due to ITV Hub using dash format for higher quality and the 504p are unprotected HLS formats?

Thank You.

skovatch commented 3 years ago

Here's what youtube-dl reports for the available formats:

$ youtube-dl https://www.itv.com/hub/dont-rock-the-boat/10a0461a0001 --list-format
[ITV] 10a0461a0001: Downloading webpage
[ITV] 10a0461a0001: Downloading XML
WARNING: Unable to download XML: HTTP Error 504: Gateway Time-out
[ITV] 10a0461a0001: Downloading JSON metadata
[ITV] 10a0461a0001: Downloading m3u8 information
[info] Available formats for 10a0461a0001:
format code  extension  resolution note
hls-136      mp4        audio only  136k , mp4a.40.2@128k
hls-633      mp4        512x288     633k , avc1.64001F@ 469k, 50.0fps, mp4a.40.2@128k
hls-834      mp4        512x288     834k , avc1.64001F@ 658k, 50.0fps, mp4a.40.2@128k
hls-1186     mp4        896x504    1186k , avc1.64001F@ 990k, 50.0fps, mp4a.40.2@128k
hls-1480     mp4        896x504    1480k , avc1.64001F@1268k, 50.0fps, mp4a.40.2@128k
hls-1777     mp4        896x504    1777k , avc1.64001F@1548k, 50.0fps, mp4a.40.2@128k (best)

So, the best we can get out of youtube-dl is 896x504. I don't know if there's any way to get higher resolutions. If someone has time to investigate and can provide a solution I can look into it further.

KiaN2020 commented 3 years ago

Thank you for the reply and would be great if there was a way to get the higher resolutions but I know that those are dash streams, I am assuming that the reason that youtube-dl can grab the 896x504 streams is due to them being hls streams.

JeremyCavanagh commented 3 years ago

Hi, I don't think HD downloads are possible from the ITV hub since the general broadcast programmes are not HD, those are only available via pay TV, i.e., Sky. Regards Jeremy

KiaN2020 commented 3 years ago

@ JeremyCavanagh that will explain it then.

Thank you

skovatch commented 3 years ago

Closing this, because even if they were available it's a youtube-dl feature anyway.