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
  #1  
Old 01-04-2011, 11:37 AM
GrampaD GrampaD is offline
Junior Member
 
Join Date: Jul 2010
Posts: 4
GrampaD is on a distinguished road
Thumbs up

scctv.net: Download RTMP streams with RTMPdump


noob2001204! LOL my saviour!

I'm in an online class, I had to watch some SCCTV.NET videos for an exam but they were too choppy to view online and I had to figure out a way to download them and view them locally, thanx for helping me get an A dude!

noob's solution will work with *SCCTV.NET* streams, too!

You can get the latest version of RTMPDUMP from here:

rtmpdump

Here's an example RTMPDUMP command line to get the "out of eden" video from Films On Demand:

Code:
rtmpdump -r "rtmp://fms.scctv.net/fmg_700/40760_700.flv" -s "http://digital.films.com.ezproxy1.lib.asu.edu/SimpleFlashPlayer.swf" -p "http://digital.films.com.ezproxy1.lib.asu.edu/PortalViewVideo.aspx?xtid=40760" -o c:\video.flv
Because RTMPDUMP is a command-line utility, it can be scripted. I've written a script to download a set of videos, as many as you want, for windows VBScript, but if you're a *nix geek you can easily convert this into a SED, AWK, Perl, or shell script:
Code:
' This VBScript can download any number of RTMP streaming flash videos that video capture utilities 
' cannot normally process. This technique might even work for ClearChannel content and 
' exploits a trick at the following URLs:

' http://68.106.14.62:26359/Shrine/Tech/Capturing_SCCTVdotNET_StreamingVideo_ForRetards.htm
' http://stream-recorder.com/forum/www-learner-org-need-help-rtmp-t6121.html

' This VBScript requires the use of the RTMPDUMP command-line utility, currently found at:
' http://www.videohelp.com/tools/RTMPDump

' Each SCCTV.net XTID is an individual file containing content.

Set objShell = Wscript.CreateObject("Wscript.Shell")

' The AID, whatever that is; it's usually static
strAID = "1850"

' The XTID array

Dim strXTIDs()

lngXTIDcount = 3
ReDim strXTIDs(3)

strXTIDs(0) = "40760"
strXTIDs(1) = "41977"
strXTIDs(2) = "40372"
strXTIDs(3) = "35135"
'ReDim Preserve sArray(3)

' Command line buildup parameters

strOutputPath = "c:\"

strRTMPDUMPpath = "rtmpdump.exe "

strRealSourceBase = "-r rtmp://fms.scctv.net/fmg_700/"
strRealSourceTail = "_700.flv "

strFlashVideoClient = "-s http://digital.films.com.ezproxy1.lib.asu.edu/SimpleFlashPlayer.swf"

strFakeSourceBase = "-p http://digital.films.com.ezproxy1.lib.asu.edu/PortalPlaylists.aspx?aid=" & strAID & "&xtid="
strFakeSourceTail = " "

strOutputFileBase = "-o "
strOutputFileTail = ".flv"

strBuildup = ""

' RTMPDUMP execution loop
For lngLoop = 1 To lngXTIDcount
  strBuildup = strBuildup & strRTMPDUMPpath & _
               strRealSourceBase & strXTIDs(lngLoop) & _
               strRealSourceTail & _
               strFlashVideoClient & _
               strFakeSourceBase & strXTIDs(lngLoop) & _
               strFakeSourceTail & _
               strOutputFileBase & strOutputPath & strXTIDs(lngLoop) & strOutputFileTail & vbCrLf
  objShell.Exec strBuildup
Next

' Cleanup and exit
Set objShell = Nothing
varToUser = MsgBox(lngLoop & " streaming videos processed", VBInformation, "RTMPDUMP Batch VBScript")
Again, thanx noob2001204! [[]]
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 11:55 PM.


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