Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

www.channel4.com: Any way to capture video from the new 4OD service?

(http://stream-recorder.com/forum/showthread.php?t=4297)

bat999 02-01-2012 03:32 AM

Re: www.channel4.com: Any way to capture video from the new 4OD service?


 
Quote:

Originally Posted by shantiq (Post 38477)
will try again at some other time

Hi
ITV is a very busy website.
Test your method with something easy.:cool:
Such as this video here ---> ___http://video.nytimes.com/video/2011/12/12/movies/100000001216842/critics-picks-pulp-fiction-.html

PS
Sometimes it's necessary to re-boot the modem if things go wrong.

shantiq 02-01-2012 03:43 AM

Re: www.channel4.com: Any way to capture video from the new 4OD service?


 
Quote:

Originally Posted by bat999 (Post 38478)
Hi
ITV is a very busy website.
Test your method with something easy.:cool:
Such as this video here ---> ___http://video.nytimes.com/video/2011/12/12/movies/100000001216842/critics-picks-pulp-fiction-.html

PS
Sometimes it's necessary to re-boot the modem if things go wrong.



arrrgggg:) :) ney not for me right now

Quote:

sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT && rtmpsrv
[sudo] password for shantiq:
RTMP Server v2.4-n25-git60218d0-ppa5~oneiric
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!

rtmpdump -r "rtmp://video2.nytimes.com:1935/nytimes/flash?videoId=1318679146001&lineUpId=&pubId=174933 9200&playerId=1847322191&affiliateId=" -a "nytimes/flash?videoId=1318679146001&lineUpId=&pubId=174933 9200&playerId=1847322191&affiliateId=" -f "LNX 11,1,102,55" -W "http://admin.brightcove.com/viewer/us20120127.1119/federatedVideoUI/BrightcovePlayer.swf?uid=328092741315" -p "http://video.nytimes.com/video/2011/12/12/movies/100000001216842/critics-picks-pulp-fiction-.html" -y "video/2011/12/12/14418_1_pulpfiction_wg_16x9_l_bb?videoId=131867914 6001&lineUpId=&pubId=1749339200&playerId=184732219 1&affiliateId=" -o 14418_1_pulpfiction_wg_16x9_l_bb.flv

Closing connection... done!

RTMPDump v2.4-n25-git60218d0-ppa5~oneiric
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Duplicate request, skipping.
Closing connection... done!

Caught signal: 13, cleaning up, just a second...
ERROR: WriteN, RTMP send error 32 (42 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
^CCaught signal: 2, cleaning up, just a second...
shantiq@shantiq-00000000000000000000000:~$ sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
shantiq@shantiq-00000000000000000000000:~$ rtmpdump -r "rtmp://video2.nytimes.com:1935/nytimes/flash?videoId=1318679146001&lineUpId=&pubId=174933 9200&playerId=1847322191&affiliateId=" -a "nytimes/flash?videoId=1318679146001&lineUpId=&pubId=174933 9200&playerId=1847322191&affiliateId=" -f "LNX 11,1,102,55" -W "http://admin.brightcove.com/viewer/us20120127.1119/federatedVideoUI/BrightcovePlayer.swf?uid=328092741315" -p "http://video.nytimes.com/video/2011/12/12/movies/100000001216842/critics-picks-pulp-fiction-.html" -y "video/2011/12/12/14418_1_pulpfiction_wg_16x9_l_bb?videoId=131867914 6001&lineUpId=&pubId=1749339200&playerId=184732219 1&affiliateId=" -o 14418_1_pulpfiction_wg_16x9_l_bb.flv
RTMPDump v2.4-n25-git60218d0-ppa5~oneiric
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused)


bat999 02-01-2012 03:59 AM

Re: www.channel4.com: Any way to capture video from the new 4OD service?


 
shantiq@shantiq-00000000000000000000000:~$ sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT

This is the wrong command to stop the server.
Look again at Ubuntuforum post.

shantiq 02-01-2012 04:01 AM

Re: www.channel4.com: Any way to capture video from the new 4OD service?


 
yes you are right D not A but it breaks down for me before that stage unless i am doing something wrong will try later in the day and report:)

Bahman 02-01-2012 04:36 AM

Re: www.channel4.com: Any way to capture video from the new 4OD service?


 
shantiq,
You can't use bat999's rtmpdump script!! because the rtmpe link has "auth" string and cannot be used 5min after is generated!! You should get a new auth string for your self!!
Code:

rtmpdump -r "rtmpe://ak.securestream.channel4.com:1935/4oD?auth=da_dpasa_bDdfcKbObAahcJbAbjdhbWaicC-bpkhp9-eS-ixU-
m7tYpeq7j7q0r7o9q1shqcsWs3
&aifp=v002&slist=assets" -a "4oD?auth=da_dpasa_bDdfcKbObAahcJbAbjdhbWaicC-bpkhp9-eS-ixU-m7tYpeq7j7q0r7o9q1shqcsWs3&aifp=v002&
slist=assets" -f "LNX 11,1,102,55" -W "http://www.channel4.com/static/programmes/asset/flash/swf/4odplayer-11.21.2.swf" -p "http://www.channel4.com/programmes/unreported-world/4od#3268163" -C O:1 -C O:0 -y
"mp4:assets/CH4_08_02_900_51044015001001_002.mp4" -o CH4_08_02_900_51044015001001_002.flv


shantiq 02-01-2012 04:59 AM

Re: www.channel4.com: Any way to capture video from the new 4OD service?


 
and thank you so much cat999 on fifth or sixth time of trying yazoo

i am quite special needs you know always takes me a while to do anything && thank you for your help and patience here:)



Quote:

sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT && rtmpsrv
[sudo] password for shantiq:
RTMP Server v2.4-n25-git60218d0-ppa5~oneiric
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935

rtmpdump -r "rtmpe://ll.securestream.channel4.com:1935/a4174/e1" -a "a4174/e1" -f "LNX 11,1,102,55" -W "http://www.channel4.com/static/programmes/asset/flash/swf/4odplayer-11.21.2.swf" -p "http://www.channel4.com/programmes/unreported-world/4od#3268163" -C O:1 -C O:0 -y "mp4:xcuassets/CH4_08_02_900_51044015001001_002.mp4?e=1328097457& ip=81.110.154.200&h=41aca7b4361beee667698e6cd32f87 c5" -o CH4_08_02_900_51044015001001_002.flv

Closing connection... done!

RTMPDump v2.4-n25-git60218d0-ppa5~oneiric
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 8
INFO: Connected...
Duplicate request, skipping.
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!

^CCaught signal: 2, cleaning up, just a second...
shantiq@shantiq-00000000000000000000000:~$ sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT
shantiq@shantiq-00000000000000000000000:~$ rtmpdump -r "rtmpe://ll.securestream.channel4.com:1935/a4174/e1" -a "a4174/e1" -f "LNX 11,1,102,55" -W "http://www.channel4.com/static/programmes/asset/flash/swf/4odplayer-11.21.2.swf" -p "http://www.channel4.com/programmes/unreported-world/4od#3268163" -C O:1 -C O:0 -y "mp4:xcuassets/CH4_08_02_900_51044015001001_002.mp4?e=1328097457& ip=81.110.154.200&h=41aca7b4361beee667698e6cd32f87 c5" -o CH4_08_02_900_51044015001001_002.flv
RTMPDump v2.4-n25-git60218d0-ppa5~oneiric
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 1408.09
INFO: moovPosition 28.00
INFO: width 640.00
INFO: height 360.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 77.00
INFO: avclevel 30.00
INFO: aacaot 2.00
INFO: videoframerate 25.00
INFO: audiosamplerate 24000.00
INFO: audiochannels 2.00
INFO: trackinfo:
INFO: length 35200000.00
INFO: timescale 25000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 33794048.00
INFO: timescale 24000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype mp4a
146629.407 kB / 1408.04 sec (99.9%)
Download complete

Chug a Bug 09-02-2012 02:30 PM

Re: www.channel4.com: Any way to capture video from the new 4OD service?


 
4OD is is puzzling me too: http://www.channel4.com/programmes/g...se/4od#3376664

Using the HOSTS redirection method in Windows to RTMPSRV gives me this error:



Using the REDIRECT method in Ubuntu to RTMPSRV gives the same result:



but if I use RTMPDumpHelper it works:



The only differences I can see is the server handshake, anyone have a clue why one program works and the recommended methods don't?

chap 09-02-2012 04:08 PM

Re: www.channel4.com: Any way to capture video from the new 4OD service?


 
Quote:

Originally Posted by Chug a Bug (Post 53689)
4OD is is puzzling me too: http://www.channel4.com/programmes/g...se/4od#3376664

Using the HOSTS redirection method in Windows to RTMPSRV gives me this error:



The only differences I can see is the server handshake, anyone have a clue why one program works and the recommended methods don't?

tru use
https://github.com/downloads/K-S-V/S...mpdump-2.4.zip
https://github.com/downloads/svnpenn...56c5-master.7z

Chug a Bug 09-02-2012 05:37 PM

Re: www.channel4.com: Any way to capture video from the new 4OD service?


 
Thanks! I figured it out.

Also does anyone know how these -y playlist strings are being generated? Theres nothing obvious on the XML page: http://ais.channel4.com/asset/3376664?1346634890 , unless I'm missing something?

sebus 08-13-2013 01:30 PM

Re: www.channel4.com: Any way to capture video from the new 4OD service?


 
Any new ways to capture ie this:

http://www.channel4.com/programmes/d...om-the-cockpit


All times are GMT -6. The time now is 08:00 PM.