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

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

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

e0nblue 02-17-2010 07:32 AM

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 :)

e0nblue 02-17-2010 10:08 AM

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


 
Now that I've discovered rcmpdump's debug option, I can understand a bit more clearly what's going on.

Here's the latest command that I've tried:

Code:

rtmpdump
-z -n medias-flash.tou.tv -c 80 -l 3
-y /mp4:002/MOV/HR/2010-02-09_TRAUMA_0006_hr.mov
-W http://static.tou.tv/lib/ThePlatform/4.1.2/swf/flvPlayer.swf
-s http://static.tou.tv/lib/ThePlatform/4.1.2/swf/flvPlayer.swf
-p rtmpdump -z -n medias-flash.tou.tv -c 80 -l 3

-y /mp4:002/MOV/HR/2010-02-09_TRAUMA_0006_hr.mov
-W http://static.tou.tv/lib/ThePlatform/4.1.2/swf/flvPlayer.swf
-s http://static.tou.tv/lib/ThePlatform/4.1.2/swf/flvPlayer.swf
-p http://www.tou.tv/trauma/S01E06
-a ondemand/?auth=daEarbDcvdvdYdNdVbBbZcvahcZdidMcEb8-blFaYu-T-9rwAvmDrxDE&&aifp=v0001&&slist=002/MOV/HR/2010-02-09_TRAUMA_0006_hr;002/MOV/MR/2010-02-09_TRAUMA_0006_mr;002/MOV/BR/2010-02-09_TRAUMA_0006_br
-t rtmp://medias-flash.tou.tv:80/ondemand/?auth=daEarbDcvdvdYdNdVbBbZcvahcZdidMcEb8-blFaYu-T-9rwAvmDrxDE&&aifp=v0001&&slist=002/MOV/HR/2010-02-09_TRAUMA_0006_hr;002/MOV/MR/2010-02-09_TRAUMA_0006_mr;002/MOV/BR/2010-02-09_TRAUMA_0006_br
-a ondemand/?auth=daEarbDcvdvdYdNdVbBbZcvahcZdidMcEb8-blFaYu-T-9rwAvmDrxDE&&aifp=v0001&&slist=002/MOV/HR/2010-02-09_TRAUMA_0006_hr;002/MOV/MR/2010-02-09_TRAUMA_0006_mr;002/MOV/BR/2010-02-09_TRAUMA_0006_br
-t rtmp://medias-flash.tou.tv:80/ondemand/?auth=daEarbDcvdvdYdNdVbBbZcvahcZdidMcEb8-blFaYu-T-9rwAvmDrxDE&&aifp=v0001&&slist=002/MOV/HR/2010-02-09_TRAUMA_0006_hr;002/MOV/MR/2010-02-09_TRAUMA_0006_mr;002/MOV/BR/2010-02-09_TRAUMA_0006_br


Unfortunately, I still get an error - the server's response is "Access denied!"

I've noticed that rtmpdump strips ampersands (&) from the tcUrl and app strings. Could this be the cause of my problem?


Any hint from RTMPE experts would be greatly appreciated !!!

msills 03-04-2010 09:31 AM

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


 
Hi,

I juste created an XBMC plugin for Tou.tv.
You can download it here : http://xbmctoutv.blogspot.com/

Feel free to ask any question you have about it.

hyc 03-04-2010 03:44 PM

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


 
Quote:

Originally Posted by e0nblue (Post 16672)
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).

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

Can anybody tell me what I did wrong? Any hints would be greatly appreciated :)

Port 443 is for https, that is, HTTP over SSL. This URL indicates that you should be using RTMPS to access the stream (RTMP tunneled over https). The rtmpdump code does not support any of the RTMP-tunneled-over-HTTP protocols.

e0nblue 03-05-2010 06:34 AM

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


 
msills: Merci!! I had pretty much given up on the idea :) The plugin works flawlessly on my 2 XBMC installs.

hyc: thanks for pointing that out, I can't believe I missed that!

Stavr0 03-31-2010 07:51 PM

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


 
Check the following site for details on how to form a rtmpdump command line:
http://store-it.appspot.com/tou/tou.html

Stavr0 04-05-2010 04:16 PM

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


 
TOU.TV is now supported by get-flash-videos. Just go download the latest version

elch 04-21-2010 03:13 PM

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


 
Quote:

Originally Posted by Stavr0 (Post 17790)
Check the following site for details on how to form a rtmpdump command line:
http://store-it.appspot.com/tou/tou.html

If you're use a Canadian proxy such as getby.us for the XML page, you can even download the geo-blocked movies if you're outside Canada.

cybergus 04-22-2010 11:20 PM

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


 
Hello!

I just joined this site to ask a question concerning get-flash-videos' support of Tou.tv.

I have Windows 7 x32. I downloaded Perl, get-flash-videos and rtmpdump. I can successfully download clips from YouTube and etc, but I cannot get Tou.tv to work. I know I need to use rtmpdump somehow, but I'm no expert in this field.. There seems to be a package written to support Tou.tv: http://code.google.com/p/get-flash-v...e/Tou.pm?r=364

Any help for what I need to do next would be greatly appreciated!

Thank you :)

elch 04-23-2010 09:36 AM

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


 
Is your IP geoblocked?


All times are GMT -6. The time now is 05:25 AM.