Elerosse-Cuthalion / get-flash-videos

Automatically exported from code.google.com/p/get-flash-videos
0 stars 0 forks source link

Channel4 sometimes gives: "rtmpdump: ERROR: Closing connection: NetStream.Failed" #498

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Some 4 on demand videos do not download, though some do. Some videos seem to 
work only sometimes (only seen this once, so maybe I'm just wrong about that).
For example:

get_flash_videos 
"http://www.channel4.com/programmes/grand-designs-abroad/4od#2920279"
Using method 'channel4' plugin version 0.04 for 
http://www.channel4.com/programmes/grand-designs-abroad/4od#2920279
Downloading http://www.channel4.com/programmes/grand-designs-abroad/4od#2920279
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
rtmpdump: ERROR: Closing connection: NetStream.Failed
Download failed, no valid file downloaded
Couldn't download any videos.

I ran with debugging, and got: http://pastebin.ca/2375246

Original issue reported on code.google.com by paranoid...@gmail.com on 7 May 2013 at 2:15

GoogleCodeExporter commented 8 years ago
If I use a browser the flash displays a sign-on request as programme is over 30 
days old.

When attempted with a recent programme...

$ get_flash_videos http://www.channel4.com/programmes/revenge/4od#3515603
Using method 'channel4' plugin version 0.04 for 
http://www.channel4.com/programmes/revenge/4od#3515603
Downloading http://www.channel4.com/programmes/revenge/4od#3515603
Looking for programmeId 54914/018
Revenge - Masquerade Series 2 Episode 18 ProgrammeId 54914/018 Url 
http://ais.channel4.com/asset/3515604
Found mp4 stream url http://ais.channel4.com/asset/3515604 siteSectionId 
ps3.channel4.com/4od
RTMPDump 2.4pl2
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:

This worked. It might be possible to implement the sign-on process for older 
programmes.

Original comment by njtaylor...@gmail.com on 7 May 2013 at 8:52

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
It doesn't seem to be a problem with the sign in thing. This program, for 
example: http://www.channel4.com/programmes/the-plane-crash/4od#3441274 works, 
even though it needs to be signed in.

tyvm

Original comment by paranoid...@gmail.com on 7 May 2013 at 8:26

GoogleCodeExporter commented 8 years ago
Note that revenge is a US show, and Channel 4 are likely to more careful about 
ensuring they meet any viewing restrictions. The show you quote is a channel 4 
production. It'might be restriction is only set for PC's not PS3, and 
"the-play-crash" still downloads and over 30days.

Original comment by njtaylor...@gmail.com on 9 Jun 2013 at 7:55

GoogleCodeExporter commented 8 years ago
If you're trying to watch Revenge, you should use Hulu instead. (You might need 
to proxy through a US IP depending on where you're based.) They have HD (720p) 
streams if you have a Hulu Plus account.

Original comment by zakflash...@gmail.com on 12 Jun 2013 at 8:04

GoogleCodeExporter commented 8 years ago
Re Channel 4 being more careful with US shows: the problem varies even with 
different episodes of the same show. For instance, for me
http://www.channel4.com/programmes/the-returned/4od#3529530
downloads fine but
http://www.channel4.com/programmes/the-returned/4od#3537962
doesn't.

Original comment by dwhelan...@gmail.com on 26 Jun 2013 at 9:15

GoogleCodeExporter commented 8 years ago
Looks like it might be a Channel 4 either mistake or change. Instead try to 
download using 
http://www.channel4.com/programmes/the-returned/4od#3537959
I had the same problem, when 3537962 is used it exacts information to match the 
show, if Channel 4 get it slightly different it doesn't find the PS3 version, I 
will need to check in detail, but for now the download using 3537959.

Original comment by njtaylor...@gmail.com on 26 Jun 2013 at 9:43

GoogleCodeExporter commented 8 years ago
Got that wrong, it a different show, will have to check seems same New Girl 
show for PS3 is there twice looks like a possible Channel 4 mix up between the 
two shows.

Original comment by njtaylor...@gmail.com on 26 Jun 2013 at 10:08

GoogleCodeExporter commented 8 years ago
new ps3 site seems to be causing problems. channel4 plugin v0.04 not working. 
output below for latest episode of "the returned". Script seems to try all 
asset IDs but then process terminates without a download. using perl on win7 

C:\Users\netbook\Desktop>perl "c:\program files\get_flash_videos\get_flash_video
s" --debug http://www.channel4.com/programmes/the-returned/4od#3548212  1>log.tx
t
~N~o~ ~p~l~u~g~i~n~s~ ~i~n~s~t~a~l~l~e~d~
~Subroutine FlashVideo::Utils::GetACP redefined at (eval 41) line 2.
Subroutine FlashVideo::Utils::GetACP redefined at (eval 43) line 2.
Trying to open plugin C:\Users\netbook\AppData\Roaming/get_flash_videos/plugins/
Www.pm
Trying to open plugin C:\Users\netbook\AppData\Roaming/get_flash_videos/plugins/
Channel4.pm
Using method 'channel4' plugin version 0.04 for http://www.channel4.com/programm
es/the-returned/4od#3548212
Downloading http://www.channel4.com/programmes/the-returned/4od#3548212
-> GET http://www.channel4.com/programmes/the-returned/4od#3548212
<- 200 text/html; charset=UTF-8 (91988): UTF8 on, ASCII, 91988 characters 91988
bytes
-> GET http://ais.channel4.com/asset/3548212
<- 200 text/xml; charset=UTF-8 (3328): UTF8 on, ASCII, 3328 characters 3328 byte
s
-> GET http://ps3.channel4.com/pmlsd/the-returned/4od.json?platform=ps3&uid=1373
969327389
<- 404 text/html; charset=utf-8 (350): UTF8 on, ASCII, 350 characters 350 bytes
-> GET http://ais.channel4.com/asset/3548213
<- 200 text/xml; charset=UTF-8 (3283): UTF8 on, ASCII, 3283 characters 3283 byte
s
-> GET http://ais.channel4.com/asset/3548211
<- 200 text/xml; charset=UTF-8 (3194): UTF8 on, ASCII, 3194 characters 3194 byte
s
Found mp4 stream asset id 3548211 siteSectionId m.channel4.com/4od
-> GET http://ais.channel4.com/asset/3548214
<- 200 text/xml; charset=UTF-8 (3023): UTF8 on, ASCII, 3023 characters 3023 byte
s
-> GET http://ais.channel4.com/asset/3548210
<- 200 text/xml; charset=UTF-8 (3260): UTF8 on, ASCII, 3260 characters 3260 byte
s
-> GET http://ais.channel4.com/asset/3548215
<- 200 text/xml; charset=UTF-8 (3234): UTF8 on, ASCII, 3234 characters 3234 byte
s
-> GET http://ais.channel4.com/asset/3548209
<- 404 text/xml; charset=UTF-8 (302): UTF8 on, ASCII, 302 characters 302 bytes
-> GET http://ais.channel4.com/asset/3548216
<- 200 text/xml; charset=UTF-8 (3389): UTF8 on, ASCII, 3389 characters 3389 byte
s
-> GET http://ais.channel4.com/asset/3548208
<- 404 text/xml; charset=UTF-8 (302): UTF8 on, ASCII, 302 characters 302 bytes
-> GET http://ais.channel4.com/asset/3548217
<- 404 text/xml; charset=UTF-8 (302): UTF8 on, ASCII, 302 characters 302 bytes
-> GET http://ais.channel4.com/asset/3548207
<- 404 text/xml; charset=UTF-8 (302): UTF8 on, ASCII, 302 characters 302 bytes
-> GET http://ais.channel4.com/asset/3548218
<- 404 text/xml; charset=UTF-8 (302): UTF8 on, ASCII, 302 characters 302 bytes
-> GET http://ais.channel4.com/asset/3548206
<- 404 text/xml; charset=UTF-8 (302): UTF8 on, ASCII, 302 characters 302 bytes
-> GET http://ais.channel4.com/asset/3548219
<- 404 text/xml; charset=UTF-8 (302): UTF8 on, ASCII, 302 characters 302 bytes
-> GET http://ais.channel4.com/asset/3548205
<- 404 text/xml; charset=UTF-8 (302): UTF8 on, ASCII, 302 characters 302 bytes
-> GET http://ais.channel4.com/asset/3548220
<- 200 text/xml; charset=UTF-8 (3390): UTF8 on, ASCII, 3390 characters 3390 byte
s
-> GET http://ais.channel4.com/asset/3548204
<- 404 text/xml; charset=UTF-8 (302): UTF8 on, ASCII, 302 characters 302 bytes
-> GET http://ais.channel4.com/asset/3548221
<- 404 text/xml; charset=UTF-8 (302): UTF8 on, ASCII, 302 characters 302 bytes
-> GET http://ais.channel4.com/asset/3548203
<- 404 text/xml; charset=UTF-8 (302): UTF8 on, ASCII, 302 characters 302 bytes
Exists on http://www.channel4.com/static/programmes/asset/flash/swf/4odplayer-11
.42.swf: 200
Subroutine FlashVideo::Utils::GetACP redefined at (eval 54) line 2.
~:RTMPDownloader=HASH(0x2cb6ae4)

Original comment by mathew.h...@gmail.com on 16 Jul 2013 at 10:13

GoogleCodeExporter commented 8 years ago
http://www.channel4.com/programmes/grand-designs-abroad/4od#2920279

-r 
"rtmpe://ll.securestream.channel4.com/a4174/e1/?as=adobe-hmac-sha256&av=1&te=con
nect&st=1384380696&et=1384384296&mp=xcuassets/CH4_08_02_16_35938001001001_002.mp
4&fmta-token=243f424ce12e0eedbd79ce24ade1e1c69099d3e0f5b4217072e72e0d293b43cf"
-y "mp4:xcuassets/CH4_08_02_16_35938001001001_002.mp4" -a 
"a4174/e1/?as=adobe-hmac-sha256&av=1&te=connect&st=1384380696&et=1384384296&mp=x
cuassets/CH4_08_02_16_35938001001001_002.mp4&fmta-token=243f424ce12e0eedbd79ce24
ade1e1c69099d3e0f5b4217072e72e0d293b43cf"

Original comment by denobisi...@gmail.com on 13 Nov 2013 at 10:15