View Single Post
  #7  
Old 01-08-2013, 10:49 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Help with better syntax for audio stream dump


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
Reply With Quote