Tools/FLVRecorder

FLV Recorder Tool

 http://red5.electroteque.org/dev/recorder/FLVRecorder.tar.gz

FLVRecorder is a RTMPClient example of requesting a FLV file via RTMP and recording the file locally.

Usage:

ant build - will compile the FLVRecorder application.
ant start - will start the recording process after entering in the arguments. 

There is multiple arguments which can be configured:

- p - the port number to connect with.
- h - the hostname to connect with.
- a - the server application name.
- f - the file to request and stream.
- o - the output filename.
- d - the directory to save the streams to.
- t - the duration to playback and record the stream (defaults to -2 which is no duration limit).
- s - the start time in seconds (default is 0)
- e - the object encoding (0 or 3, defaults to 0)
- swfurl - the name of the intended calling swf page
- pageurl - the name of the intended calling page

Example directly running the tool in java:

java org.red5.server.recorder.FLVRecorder -p 1935 -h localhost -a oflaDemo -f videofile.flv -o videofile.flv -d streams -e 0 --swfurl something.swf --pageurl something.html