Use rtmp-host.sh
Code:
RTMP Server v2.4-34-g30cf8a8
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL
Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Closing connection... done!
rtmpdump -r "rtmp://ajsfreelivefs.fplive.net/ajsfreelive-live/?nvb=2012060123402
8&nva=20120601234558&token=0aad3e84e094777159284" -a "ajsfreelive-live/?nvb=2012
0601234028&nva=20120601234558&token=0aad3e84e094777159284" -f "WIN 11,1,102,55"
-W "http://www.ar.aljazeerasport.tv/ptvFlash/unifiedplayer/authorized/UnifiedPla
yer-Tokenized.swf" -p "http://www.ar.aljazeerasport.tv/" --live -y "ajs_ar_ch350
_2400?reportingKey=eventId-736389_partnerId-2146" -o ajs_ar_ch350_2400.flv
RTMPDump v2.4-34-g30cf8a8
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: WriteN, RTMP send error 10054 (42 bytes)
Closing connection... done!
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
q
Exiting
Duplicate request, skipping.
dos2unix: converting file capture.sh to Unix format ...
RTMPDump v2.4-34-g30cf8a8
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: width 1280.00
INFO: height 720.00
INFO: framerate 25.00
INFO: videodatarate 2336.00
INFO: videocodecid avc1
INFO: audiodatarate 64.00
INFO: audiocodecid mp4a
10112.260 kB / 30.60 sec