View Single Post
  #2  
Old 07-23-2016, 03:40 AM
-D3n1s- -D3n1s- is offline
Member
 
Join Date: Feb 2015
Location: http://futur3design3r.wixsite.com/d3n1s
Posts: 74
-D3n1s- is on a distinguished road
Default

Re: Rtmpdump in loop for


Code:
@echo off

set firstchannel=1
set lastchannel=30

:loop

echo.
echo Downloading Stream ^#%firstchannel%
echo.

rtmpdump -r "rtmp://5.10.77.106/hls-vod/links" -a "vod" -W "http://www.website.com/flowplayer-3.2.12.swf" -p "http://www.website.com/" -y "mp4:/links/number%firstchannel%.mp4" -o "Video%firstchannel%"

set /a firstchannel=%firstchannel%+1

cls

if not #%firstchannel%#==#%lastchannel%# goto loop

goto end

:end

exit
Reply With Quote