You can use this script to stop RtmpDump after certain period of time, without using "--stop"
github.com/svnpenn/a/blob/master/rtmp-stop.sh
Code:
rtmp-stop.sh 10 rtmpdump -r "rtmp://cp126784.live.edgefcs.net/live/en
levko@73167/enlevko@73167" -o "enlevko@73167.flv" -v
RTMPDump v2.4-81-g2872601
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license
: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: author En Lefko 87.7
INFO: presetname Custom
INFO: creationdate Fri Nov 30 16:10:26 2012
INFO: audiodevice Rear Line In (Conexant HD Audio
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: audioinputvolume 94.00
INFO: audiocodecid mp4a
INFO: audiodatarate 64.00
86.005 kB / 10.01 sec