Audio/video stream recording forums

Free Tutorials: How to Capture Streaming Video and Audio
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 > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 11-04-2009, 07:55 PM
roystonlodge roystonlodge is offline
Junior Member
 
Join Date: Nov 2009
Posts: 2
roystonlodge is on a distinguished road
Default

Batch file for controlling rtmpdump


Here is a very basic batch file I threw together for using rtmpdump. The main benefit is that it makes it a little easier to resume an interrupted download. It also allows you to change the URL if you entered it in wrong, change the output filename, and open the output folder.

Clearly, it can be improved upon to take advantage of more of rtmpdump's features. I put it together really, really quickly just to solve a couple of specific issues I was having. Please feel free to improve upon it if you would like, and post your improvements.

Quote:
@ECHO OFF

:ADDRESS

ECHO Enter address of rtmp stream

SET /P ADDRESS=

:OUTPUT

ECHO Enter name of output file

SET /P OUTPUT=

:RUN
CALL rtmpdump.exe -r %ADDRESS% -o %OUTPUT% --resume

:MENU

ECHO 1. Resume Interrupted Download
ECHO 2. Enter A Different URL
ECHO 3. Enter A Different Output Filename
ECHO 4. Open Download Folder
ECHO 5. Quit
ECHO.
ECHO Make your selection:
SET /P SELECTION=
ECHO.
IF %SELECTION% == 1 GOTO RUN
IF %SELECTION% == 2 GOTO ADDRESS
IF %SELECTION% == 3 GOTO OUTPUT
IF %SELECTION% == 4 GOTO FOLDER
IF %SELECTION% == 5 GOTO QUIT

GOTO MENU

:FOLDER

%SystemRoot%\explorer.exe .
ECHO.
GOTO MENU

:QUIT

CLS
EXIT
Reply With Quote
Reply Post New Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Akamai CDN: Getting RTMP URL From XML File any ANONYMOUS forum user Video stream recording 2 10-22-2009 11:07 AM
Unable to save RTMP stream in proper format!Does the file already exist in the storag any ANONYMOUS forum user Video stream recording 1 06-23-2009 10:49 PM
Can't uninstall or update Silverlight 1 GDR 3 because silverlight.msi file is missing any ANONYMOUS forum user Media players and codecs 1 06-02-2009 11:00 PM
Audio-Video synchronization error in recorded .mov file bobby_yan Repairing, splitting and merging media files 0 11-02-2007 10:30 AM
Problem saving and playing Real Audio file download Audio stream recording 7 02-24-2007 01:11 AM


All times are GMT -6. The time now is 09:13 AM.


Powered by All-streaming-media.com; 2006-2009