View Single Post
  #148  
Old 08-25-2013, 09:22 PM
marktr marktr is offline
Junior Member
 
Join Date: Mar 2012
Posts: 11
marktr is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by jonaruto View Post
I am looking for an rtmpdump that doesn't record, but only connects (That it won't need -o).
rtmpdump provides this functionality out of the box; a new patch is not required. If you don't specify an output file (don't use -o) it will write to the stdout stream, and since you don't need this output you can redirect it to a null file. On windows you can use NUL and on unix-like systems you can use /dev/null.

rtmpdump's informational messages are fed to stderr. Depending on the tools at your disposal, you can consume this output in a stream-like fashion, or save a predefined amount of text to a file, to be processed later. If you need the latter, your command line would look like:

Code:
Windows: rtmpdump ... > NUL 2>data.txt

Unix: rtmpdump ... > /dev/null 2>data.txt
If you need more detailed diagnostics to go in your captured file, consult the rtmpdump man page for verbosity switches.
Reply With Quote