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)

cybergus 04-23-2010 12:30 PM

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


 
No, it's not.

I'm wondering what command I need to write in the command prompt so I can download Tou.Tv's videos. I get an error if I use the same type of command for downloading videos from YouTube, for example. Since it's RMTP, do I need to do something different?

Thanks again!

elch 04-24-2010 04:22 AM

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


 
Personally, I don't use get-flash-videos but http://store-it.appspot.com/tou/tou.html works perfectly fine for me.

As described on the page, create a script toutv.sh containing:

Quote:

#! /bin/sh
RTMP="`echo $* | sed 's/<break>.*$//'`"
APP="`echo ${RTMP} | sed 's/^.*\/\(ondemand\/\?\)/\1/'`"
PLAYPATH="`echo $* | sed 's/^.*<break>//'`"
AUTH="`echo $* | sed 's/^.*auth=//;s/&.*$//'`"

set -x
exec rtmpdump --app ${APP} \
--flashVer 'WIN 10,0,22,87' \
--swfVfy 'http://static.tou.tv/lib/ThePlatform/4.1.2/swf/flvPlayer.swf' \
--auth "${AUTH}" \
--tcUrl "${RTMP}" --rtmp "${RTMP}" \
--playpath "${PLAYPATH}" \
-o out.flv --verbose
chmod +x toutv.sh

Then request hxxp://release.theplatform.com/content.select?pid=PROGRAM_ID in your browser. Change PROGRAM_ID to its proper value.

There will be a value between an <url>...</url> that starts with "rtmp".

Copy it and use the script as follows:

./toutv.sh "RTMP_URL"

cybergus 04-28-2010 05:13 PM

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


 
Thank you for your help, elch.

Since I'm running on Windows 7, I tried your method by installing Cygwin on my machine, but I seem to be getting an error when i'm running the script. I suppose it's cygwin's / "my lack of skills with it" fault. Where/how should I install rtmpdump somewhere beforehand?

Here's a screenshot of what I'm getting:

elch 04-29-2010 11:23 AM

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


 
You need to escape the URL, i.e. surround the parameter with quotes.


All times are GMT -6. The time now is 07:57 PM.