Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for channel4.com OnDemand #2050

Open
canavan opened this issue Dec 27, 2013 · 21 comments
Open

Support for channel4.com OnDemand #2050

canavan opened this issue Dec 27, 2013 · 21 comments

Comments

@canavan
Copy link

@canavan canavan commented Dec 27, 2013

Please add support for channel 4 OnDemand, e.g. http://www.channel4.com/programmes/the-it-crowd/4od

There's already a separate tool (in ruby, uses rtmpdump) that supports downloading from that service: https://github.com/robwatkins/4od-dl

youtube-dl --verbose http://www.channel4.com/programmes/the-it-crowd/4od
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.channel4.com/programmes/the-it-crowd/4od']
[debug] Encodings: locale 'ISO8859-1', fs 'ISO8859-1', out 'ISO8859-1', pref: 'ISO8859-1'
[debug] youtube-dl version 2013.12.26
[debug] Python version 2.7.3 - IRIX64-6.5-IP35-mips-n32bit-ELF
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
[generic] 4od: Downloading webpage
[generic] 4od: Extracting information
ERROR: Unsupported URL: http://www.channel4.com/programmes/the-it-crowd/4od; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 484, in extract_info
ie_result = ie.extract(url)
File "/usr/nekoware/bin/youtube-dl/youtube_dl/extractor/common.py", line 149, in extract
return self._real_extract(url)
File "/usr/nekoware/bin/youtube-dl/youtube_dl/extractor/generic.py", line 330, in _real_extract
raise ExtractorError(u'Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.channel4.com/programmes/the-it-crowd/4od; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

@fstirlitz
Copy link
Contributor

@fstirlitz fstirlitz commented Jan 17, 2015

Downloading itself seems easy; the stream is a regular f4m, and finding the stream's URL is not difficult. The only problem is that the stream is encrypted by Flash Access DRM.

Some resources:

@jleclanche
Copy link

@jleclanche jleclanche commented Feb 7, 2016

@fstirlitz isn't that what AdobeHDS.php implements?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 7, 2016

@jleclanche it does not support DRM.

@jleclanche
Copy link

@jleclanche jleclanche commented Feb 7, 2016

Ah fair enough

@ppsspp213
Copy link

@ppsspp213 ppsspp213 commented Sep 5, 2016

Any insight with thiis???

http://www.channel4.com/programmes/formula-1/on-demand/63760-055

[code]
http://ll.abrstream.channel4.com/CH4_08_02_24_63760055001001_001_1500000_.f4m

streamUri>http://ll.abrstream.channel4.com/CH4_08_02_24_63760055001001_001_1500000_.f4m

token>jZGfXUrmGGW2uXKUQFIjgBlHc4hA0t9QZqvEDPwjNrnzUrUVVvKcgXEWG6eSiP1cEKIpqTL4J6o1
+dMCZOQpZkUWedsnyeGjSFYY4SarrsS1yICL2gkjbzdP/C4kBf22cmmN7cux+RwmjWuA5jKEtpUXGn3Ec3Ey6MM5qQMQH7wc2VnB/Erp4oC94gTHNLb

e>1473046553
transcodeId>1587713
brand4oDAtomUrl>https://pmlsc.channel4.com/pmlsd/formula-1/4od.atom

programmeId>63760/055

GET /CH4_08_02_24_63760055001001_001_1500000_.f4m HTTP/1.1
Host: ll.abrstream.channel4.com
User-Agent: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MMB29V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36

OPR/36.0.2126.101812
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Referer: http://www.channel4.com/all4fplayer/1.0.160/4odplayer_bips_r.swf
Cookie: c4_cookie_policy=A;

C4_Identity="eyJkaXNwbGF5TmFtZSI6IkNoYXJsZXMiLCJnZW5kZXIiOiJGRU1BTEUiLCJhZ2UiOiI2NCIsInVzZXJJZCI6IjdmN2M4MzEzLWMwMDctNDQ3Mi05NGY2LWExN2I2YzI0O

TUxYyIsInR5cGUiOiJDNCIsInJlbWVtYmVyTWUiOiJ0cnVlIiwiY3JlYXRlZCI6IjE0NzMwMzk1NzE4ODYiLCJoYXNoIjoiTUhnZUFMWWRfWjR1aU1qdFBkdE1aUSIsImFkZHJlc3NDYXB

0dXJlZCI6InRydWUifQ=="; s_fid=50051E692397AF16-176ED4E71FF0A632; s_vnum=1475631616357%26vn%3D1; s_vi=[CS]v1|2BE666720531251D-60000109A000A811

[CE];

4nav_Identity=eyJkaXNwbGF5TmFtZSI6IkNoYXJsZXMiLCJnZW5kZXIiOiJGRU1BTEUiLCJhZ2UiOiI2NCIsInVzZXJJZCI6IjdmN2M4MzEzLWMwMDctNDQ3Mi05NGY2LWExN2I2YzI0

OTUxYyIsInR5cGUiOiJDNCIsInJlbWVtYmVyTWUiOiJ0cnVlIiwiY3JlYXRlZCI6IjE0NzMwMzk1NzE4ODYiLCJoYXNoIjoiTUhnZUFMWWRfWjR1aU1qdFBkdE1aUSIsImFkZHJlc3NDYX

B0dXJlZCI6InRydWUifQ%3D%3D; ADRUM=s=1473042976492&r=http%3A%2F%2Fwww.channel4.com%2Fprogrammes%2Fformula-1%2Fon-demand%2F63760-055%3F0;

omn_intcmp=categories_sport_popular
Connection: keep-alive
[/code]

@remitamine remitamine added the DRM label Sep 9, 2016
@suntong
Copy link

@suntong suntong commented Nov 8, 2016

@ppsspp213 May I know how you get above pls? Thx.

@mtbc mtbc mentioned this issue Sep 22, 2017
4 of 4 tasks complete
@Oshawk
Copy link

@Oshawk Oshawk commented Jan 7, 2018

Hello,

I may have some, all be it a small amount of progress on this via the android download method. I will attach a .saz file with a few captures that I managed to get, one appears to be programme info, another subtitles and there are also some which seem to be audio only versions of the programme although unfortunately, I can't seem to get them to play.

Can any of you progress with this? (Note, I removed most of the data from the capture file but I think I included most useful stuff.)

channel4.zip

@ppsspp213
Copy link

@ppsspp213 ppsspp213 commented Jan 7, 2018

@Oshawk
Copy link

@Oshawk Oshawk commented Jan 7, 2018

@ppsspp213 Okay, I still have confidence that the download method may get us somewhere, I will try and capture a full one and see what happens.

@lozbrown
Copy link

@lozbrown lozbrown commented Apr 2, 2018

+1 is there any hope for f4m drm?

@darthhaggis
Copy link

@darthhaggis darthhaggis commented Aug 15, 2018

Has there been any updates or support added for this request?

@CollinChaffin CollinChaffin mentioned this issue Dec 1, 2018
5 of 9 tasks complete
@codingHahn
Copy link

@codingHahn codingHahn commented Jan 10, 2019

Updates @Oshawk ?

@BMD4E
Copy link

@BMD4E BMD4E commented May 1, 2019

It no longer uses flash, now using html5
Is it possible to make it support?

@superclarkk
Copy link

@superclarkk superclarkk commented Jul 25, 2019

An answer to @BMD4E 's question would be awesome

@lozbrown
Copy link

@lozbrown lozbrown commented Jul 25, 2019

Really ?
image

@superclarkk
Copy link

@superclarkk superclarkk commented Jul 27, 2019

The source is this article. I just phoned Channel4, and they confirmed they're migrating to HTML5 but, because they have such a large back catalogue, it's taking a while and they don't have a completion date.

@ppsspp213
Copy link

@ppsspp213 ppsspp213 commented Jul 27, 2019

@superclarkk
Copy link

@superclarkk superclarkk commented Jul 27, 2019

They were pretty cagey, so the above was all the info I could get.

@ppsspp213
Copy link

@ppsspp213 ppsspp213 commented Jul 27, 2019

@Vangelis66
Copy link

@Vangelis66 Vangelis66 commented Jul 27, 2019

They're still going to use

strong DRM based content protection across the feature set

in their migration to the HTML5-based All4 web player, so I don't quite understand the latent excitement here over that change...

The selection of Primetime allows us to look at alignment
with the other Adobe products that we currently use

https://theblog.adobe.com/transition-to-html5/

The title of this long-standing issue is "Support for channel4.com OnDemand", surest bet is that won't arrive with the web player format overhaul... 😞 Just my 2p, ofc...

@ppsspp213
Copy link

@ppsspp213 ppsspp213 commented Jul 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
You can’t perform that action at this time.