Audio/video stream recording forums 
 | 
| Attention Visitor: | 
You may have to register or log in before you can post: 
  | 
		
			
  | 	
	
	
		
		|||||||
     
		  
 
	
	
 | 
| 
		 | 
	Thread Tools | Display Modes | 
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Rtmpdump in loop forHello guys 
		
	
		
		
		
		
		
	
		
		
	
	
	Suppose I know that the following rtmpdump command works : 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/number12.mp4 -o %fileName% Now what I want to do to use loop for to find the working playlist like this : Code: 
	FOR /L %%A IN (1,1,20) DO ( 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%%A.mp4 -o %fileName% ) I noticed when the counter reach number 12 , it doesnt start downloading why ?? please help me . I want look for correct playlist with loop for Cheers  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: Rtmpdump in loop forCode: 
	@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  | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: Rtmpdump in loop forThank you sir ! I found the solution with the command FOR /L %%A IN (1,1,20) DO ( 
		
	
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 | 
		
	
| Tags: rtmpdump loop | 
| Thread Tools | |
| Display Modes | |
		
  | 
	
		
  |