RTMPDump Batch Download ScriptHey Everyone,
My situation is I'm trying to grab a large number of video files from a server (250+) and don't want to have to do it manually. I have all of the commands including the unique video URL's stored in a text file ready to be paste into the Command Prompt to download the video. Would it be possible to create a script that will download 1-3 streams at the same time, wait for those to finish and continue down the list until complete? I know a little about batch scripts, but not enough to create and figure this out. Thanks. |
Re: RTMPDump Batch Download ScriptDownload.bat
Code:
FOR /F "tokens=1,2* delims=," %%G IN (Download.txt) DO %%G Code:
rtmpdump -r "rtmp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov" -o "Video1.mp4" |
Re: RTMPDump Batch Download ScriptThanks.. that was quick! I'm going to go try it out..
EDIT: unfortunately, it doesn't work. The command window appears for a fraction of a second and closes. |
Re: RTMPDump Batch Download ScriptQuote:
|
Re: RTMPDump Batch Download ScriptCode:
rtmpdump -r "rtmpe://website.com:1935/vod_paid" -a "vod_paid" -f "WIN 22,0,0,209" -W "http://website.com/flash/title_player.swf" -u "xxxxxxxxxxxxxxx" -p "http://website.com" -y "mp4:path/to/video1" -o "D:\video1" |
Re: RTMPDump Batch Download ScriptDoes it work when you remove:
Code:
-f "WIN 22,0,0,209" Code:
rtmpdump -r "rtmpe://website.com:1935/vod_paid" -a "vod_paid" -W "http://website.com/flash/title_player.swf" -u "xxxxxxxxxxxxxxx" -p "http://website.com" -y "mp4:path/to/video1" -o "video1" |
Re: RTMPDump Batch Download ScriptNope, removing that doesn't work either. I think it's probably something with the batch script itself, since the command windows flashes open for a fraction of a second and then closes.
|
Re: RTMPDump Batch Download ScriptQuote:
Download: Code:
http://www.mediafire.com/download/fx8t0xx97spvn0a/RTMPDump.rar |
Re: RTMPDump Batch Download ScriptSorry, I made a stupid mistake. I had the text file saved as "downloads.txt" not "download.txt"
I'm an idiot, haha. Thanks again, this is working perfectly! Much appreciated. :) |
All times are GMT -6. The time now is 11:40 PM. |