Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Continual resume in cmd

(http://stream-recorder.com/forum/showthread.php?t=22351)

NightKid 09-02-2016 01:11 AM

Continual resume in cmd


 
This may be more of a command prompt question than anything, but I am using rtmpdump to download a file and the connection keeps getting lost every now and then. It's a pain to keep copy/pasting the line into cmd and monitor my download. I want to be able to leave my computer on on overnight without the download stopping.

Is there a way that I can make it so that my rtmpdump line is input into cmd when it stops? This is what I'm inputting FWIW:

rtmpdump -r -a -f -W -p -y -o --realtime --resume --buffer 72000000

ihryjfbd 09-02-2016 08:27 PM

Re: Continual resume in cmd


 
:loop
rtmpdump -r -a -f -W -p -y -o --realtime --resume --buffer 72000000
goto loop

NightKid 09-02-2016 09:49 PM

Re: Continual resume in cmd


 
Cool! Thanks!

Any way to stop the looping once the file is finished downloading? Is it some kind of echo command? I'm not too good with cmd so any help would appreciated again. Thank you.


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