I use RTMPDump to download a large number of videos with batch commands. When a download fails, the batch file continues with the next command and I'm left with an incomplete download. How can I force RTMPDump to automatically retry failed downloads? (Win7)
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 6 of 6
			
		- 
	
- 
	use the --resume option 
 
 Resume an incomplete RTMP download
 
 --resume
 
 or
 
 -e
 
 
 
 put that at the end of the command like this
 
 orCode:rtmpdump -r "rtmp://host/dir/file.flv" -o "filename.flv" --resume 
 
 Code:rtmpdump -r "rtmp://host/dir/file.flv" -o "filename.flv" -e 
 bering in mind you can't resume a live streamLast edited by bobit; 9th Jul 2016 at 17:20. 
- 
	Last edited by bobit; 11th Jul 2016 at 12:51. 
- 
	I'm not sure you understand the question. 
 
 Like I said, I'm using batch commands to download a large number of videos. Looks kinda like this:
 Now when the download of a file fails for whatever reason, I want RTMPDump to immediately repeat (or resume, I don't care) that download rather than jump to the next file. The -e instruction does not do this.Code:rtmpdump -r "rtmp://host/dir/file0001.flv" -o "file0001.flv" rtmpdump -r "rtmp://host/dir/file0002.flv" -o "file0002.flv" rtmpdump -r "rtmp://host/dir/file0003.flv" -o "file0003.flv" rtmpdump -r "rtmp://host/dir/file0004.flv" -o "file0004.flv" . . . rtmpdump -r "rtmp://host/dir/file0738.flv" -o "file0738.flv" rtmpdump -r "rtmp://host/dir/file0739.flv" -o "file0739.flv" rtmpdump -r "rtmp://host/dir/file0740.flv" -o "file0740.flv" rtmpdump -r "rtmp://host/dir/file0741.flv" -o "file0741.flv" . . . rtmpdump -r "rtmp://host/dir/file4092.flv" -o "file4092.flv" rtmpdump -r "rtmp://host/dir/file4094.flv" -o "file4094.flv" rtmpdump -r "rtmp://host/dir/file4095.flv" -o "file4095.flv" rtmpdump -r "rtmp://host/dir/file4096.flv" -o "file4096.flv" 
 
 I don't want to set the timeout higher since this is functionally different from restarting/resuming a download.
 
 What are my options?
- 
	resume is the only option on rtmp files 
 there is no other option
 
 also take note
 resume does not work on live rtmp streams
 
 −−live −v
 Specify that the media is a live stream. No resuming or seeking in live streams is possible
Similar Threads
- 
  Can someone help? rtmpdumpBy erhan_1498 in forum Video Streaming DownloadingReplies: 3Last Post: 23rd Oct 2014, 22:54
- 
  Can someone help? rtmpdumpBy erhan_1498 in forum Video Streaming DownloadingReplies: 10Last Post: 13th May 2014, 15:51
- 
  RTMPdump QT 5.1By braders2 in forum ProgrammingReplies: 7Last Post: 6th Jan 2014, 17:41
- 
  Audio auto-muting & video player auto-stoppingBy Godsninja in forum AudioReplies: 3Last Post: 26th Aug 2013, 16:11
- 
  echo cancellation, auto volume, auto gainBy pror0ck in forum AudioReplies: 1Last Post: 10th Sep 2011, 07:01


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote
