Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #11  
Old 04-23-2010, 01:30 PM
cybergus cybergus is offline
Junior Member
 
Join Date: Apr 2010
Posts: 3
cybergus is on a distinguished road
Default

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!
Reply With Quote
  #12  
Old 04-24-2010, 05:22 AM
elch elch is offline
Member
 
Join Date: Mar 2010
Posts: 78
elch is on a distinguished road
Default

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"
Reply With Quote
  #13  
Old 04-28-2010, 06:13 PM
cybergus cybergus is offline
Junior Member
 
Join Date: Apr 2010
Posts: 3
cybergus is on a distinguished road
Default

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:
Reply With Quote
  #14  
Old 04-29-2010, 12:23 PM
elch elch is offline
Member
 
Join Date: Mar 2010
Posts: 78
elch is on a distinguished road
Default

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.
Reply With Quote
Reply Post New Thread
Tags: , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 08:20 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons