Coldplay - Radio 2 home page - how to d/l it?

Nigel Taylor njtaylor at asterisk.demon.co.uk
Sat Dec 17 11:49:27 EST 2011


On 12/17/11 15:53, Clive wrote:
> On 17/12/11 15:32, bat guano wrote:
>>
>>
>>
>> -where do I get the
>>> information from please.
>>
>> No need to use RTMPDump method.
>>
>> As dinkypumpkin suggested, download it from this page instead ---> 
>> http://www.bbc.co.uk/programmes/p00mlvcy
>> get_iplayer --get --pid=p00mlvcy --type=tv
>>
>>
> Yes, I understand that, but I was curious as to how you find such a
> seemingly complex command.
> 
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer
> 
Hi,

Most likely to be using rtmpsrv on something running linux - 
this is done by having iptables redirect traffic...

Covered in the man pages for rtmpsrv... run this to
set up iptables...

sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner rtmp \
 -j REDIRECT

(use -L to list -F to flush table)
$ sudo iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
REDIRECT   tcp  --  anywhere             anywhere            tcp dpt:1935 ! owner UID match rtmp 

Start rtmpsrv running under account rtmp, and on another session, start 
browser and go to the video to watch, rtmpsrv will start rtmpdump running 
with the correct parameters, example below is for channel 4 won't be
of much use as ip address/time are used in authentication string ...

$ rtmpsrv
RTMP Server 2.4-git-20111014
(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/?ovpfv=1.1&e=1324139406&ip=xx.xxx.xxx.xxx&h=03644ad62b52a045e52351b1dc1d4502" -a "a4174/e1/?ovpfv=1.1&e=1324139406&ip=xx.xxx.xx.xxx&h=03644ad62b52a045e52351b1dc1d4502" -f "LNX 11,1,102,55" -W "http://www.channel4.com/static/programmes/asset/flash/swf/4odplayer-11.8.5.swf" -p "http://www.channel4.com/programmes/black-mirror/4od" -C Z: -y "mp4:xcuassets/CH4_08_02_900_49114002001002_001.mp4?e=1324139406&ip=xx.xxx.xx.xxx&h=03644ad62b52a045e52351b1dc1d4502" -o CH4_08_02_900_49114002001002_001.flv

Closing connection... done!

WARNING: Trying different position for client digest!
ERROR: WriteN, RTMP send error 32 (1536 bytes)
ERROR: Handshake failed
Closing connection... done!

WARNING: Trying different position for client digest!
ERROR: Handshake failed
Closing connection... done!

WARNING: Trying different position for client digest!
ERROR: Handshake failed
Closing connection... done!

WARNING: Trying different position for client digest!
ERROR: Handshake failed
Closing connection... done!

RTMPDump 2.4-git-20111014
(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              3713.11
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                92825000.00
INFO:   timescale             25000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                89114624.00
INFO:   timescale             24000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
20968.254 kB / 192.72 sec (5.1%)

Nigel



More information about the get_iplayer mailing list