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