Audio/video stream recording forums 
 | 
| Attention Visitor: | 
You may have to register or log in before you can post: 
  | 
		
			
  | 	
	
	
		
		|||||||
     
		  
 
	
	
 | 
| 
		 | 
	Thread Tools | Display Modes | 
| 
	 | 
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Killing RTMPsrv/RTMPdump inside WindowsI have successfully created a batch file to open RTMPDumpHelper and browser. 
		
	
		
		
		
		
		
	
		
		
	
	
	The problem I have is I tried to use taskkill and Cygwin tools to kill rtmpsrv and rtmpdump. The problem is it apparently only kills rtmpsrv but not the rtmpdump that is started. I randomly use rtmpdump in other batch files around same time so I can't just try killing any rtmpdump. Anybody know if there is a way to watch for the exact PID or something, cause only way so far is kill it when I get a chance causing unnecessary extra recording.  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: Killing RTMPsrv/RTMPdump inside WindowsIf you get my build of RtmpSrv, you can use the "--printonly" option. 
		
	
		
		
		
		
		
	
		
		
	
	
	Code: 
	$ rtmpsrv --help This is just a stub for an RTMP server. It doesn't do anything beyond obtaining the connection parameters from the client. -h, --help Prints this help screen. -c, --port port Overrides the port in the rtmp url -i, --printonly Print RtmpDump command and exit -z, --debug Debug level command output. -N, --version Print version information and exit  | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: Killing RTMPsrv/RTMPdump inside WindowsI see how your rtmpsrv works but I'm not quite sure how I can still kill it afterwards. 
		
	
		
		
		
		
		
	
		
		
	
	
	I mean I still think I would have to find some way to find out exactly which rtmpdump is running for my recording and kill only that one.  | 
| 
		 
			 
			#4  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: Killing RTMPsrv/RTMPdump inside WindowsIt is clear you have misunderstood the "--printonly" option. It does not invoke RtmpDump. Running RtmpSrv with the printonly option merely prints the first RtmpDump command detected and exits. 
		
	
		
		
		
		
		
	
		
		
	
	
	 | 
| 
		 
			 
			#5  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: Killing RTMPsrv/RTMPdump inside WindowsWell I understand that part but I was temporarily confused on how to kill the rtmpdump I start afterwards with the output. 
		
	
		
		
		
		
		
	
		
		
	
	
	 | 
| 
		 
			 
			#6  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: Killing RTMPsrv/RTMPdump inside WindowsQuote: 
	
 Quote: 
	
  | 
 
 
 | 
		
	
| Tags: rtmpdump, rtmpdumphelper, rtmpsrv | 
| Thread Tools | |
| Display Modes | |
		
  | 
	
		
  |