View Single Post
  #1  
Old 02-17-2010, 07:32 AM
e0nblue e0nblue is offline
Junior Member
 
Join Date: Feb 2010
Posts: 3
e0nblue is on a distinguished road
Default

Unable to play RTMP files off Tou.TV. Are they RTMPE?


Hello everyone,

I'm trying to write a plugin to view streams off the french-canadian site www.tou.tv for the XBMC software (a popular HTPC frontend).

I'ved used GetFLV to extract the RTMP links but cannot get those links to play in ANY software (FLV Player, XBMC, VLC). Replay Media Catcher can record the stream no problem, but Orbit/Grab++ can't even detect it.

Judging from what I read, I though that the tou.tv stream might be RTMPE (I'm not sure how to tell if it's RTMP or RTMPE), but I haven't been able to get rtmpdump to download them.

Here's an example video:

Code:
http://www.tou.tv/les-parent/S02E19
Once the main video starts (after the preroll video), GetFLV detects the following stream:

rtmp://medias-flash.tou.tv:443/ondemand/?auth=daEdrd3cTbycId7dDbiafbpdtbvbNcucrci-blE_Lu-T-9tsAzkGqBDE&aifp=v0001&slist=002/MOV/HR/2010-02-15_PARENT_0043_hr;002/MOV/MR/2010-02-15_PARENT_0043_mr;002/MOV/BR/2010-02-15_PARENT_0043_brmp4:002/MOV/HR/2010-02-15_PARENT_0043_hr.mov

Here's what I get when trying to load the stream with rtmpdump:

Code:
rtmpdump -r "rtmp://medias-flash.tou.tv:443/ondemand/?auth=daEdrd3cTbycId7dDbiafbpdtbvbNcucrci-blE_Lu-T-9tsAzkGqBDE&aifp=v0001&slist=002/MOV/HR/2010-02-15_PARENT_0043_hr;002/MOV/MR/2010-02-15_PARENT_0043_mr;002/MOV/BR/2010-02-15_PARENT_0043_brmp4:002/MOV/HR/2010-02-15_PARENT_0043_hr.mov"

RTMPDump v2.1c
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
I've followed the SWF Verification steps for rtmpdump in the following post...

http://stream-recorder.com/forum/sho...03&postcount=3

...and tried to do the following:

- Download SWF player from :

Code:
http://static.tou.tv/lib/ThePlatform/4.1.2/swf/flvPlayer.swf
- Decompress the SWF:

Code:
flasm.exe -x flvPlayer.swf

flvPlayer.swf successfully decompressed, 518751 bytes
- Generate the hash:

Code:
openssl sha -sha256 -hmac "Genuine Adobe Flash Player001" flvPlayer.swf

HMAC-SHA256(flvPlayer.swf)= f7f959181a9797b75eb12ee5cdf817accd4454a8b04d99f82405e120f340d1e3
- Run rtmpdump:

Code:
rtmpdump -r "rtmp://medias-flash.tou.tv:443/ondemand/?auth=daEdrd3cTbycId7dDbiafbpdtbvbNcucrci-blE_Lu-T-9tsAzkGqBDE&aifp=v0001&slist=002/MOV/HR/2010-02-15_PARENT_0043_hr;002/MOV/MR/2010-02-15_PARENT_0043_mr;002/MOV/BR/2010-02-15_PARENT_0043_brmp4:002/MOV/HR/2010-02-15_PARENT_0043_hr.mov" --swfhash "f7f959181a9797b75eb12ee5cdf817accd4454a8b04d99f82405e120f340d1e3" --swfsize 518751

...and I still get the same error:

Code:
RTMPDump v2.1c
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: rtmp server sent error
ERROR: rtmp server requested close


Can anybody tell me what I did wrong? Any hints would be greatly appreciated
Reply With Quote