I am trying to record a portion of the stream located here
http://www.livestream.com/wilsonjj.
I was using a tutorial from askubuntu.com
here as I am running ubuntu 14.04.
I installed rtmpdump from the ubuntu software center as the version compiled for ubuntu seems to be up to date (version 2.4).
rtmpsuck seems to work but it loops infinitely and will crash the terminal if I don't kill it quickly after it starts.
I redirected the rtmp traffic and used rtmpsuck to get the data below:
Code:
Processing connect
app: mogulus-edge/wilsonjj
flashVer: LNX 11,2,202,425
swfUrl: http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf?hideInfo=true&jsEnabled=false&showMoreVideos=false&hideChannelBranding=true&lschannel=true&allowchat=false&textLines=2&t=124446&browseMode=false&time=&mode=false&autoPlay=true
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!
tcUrl: rtmp://xwilsonjjx.e.channel.livestream.com/mogulus-edge/wilsonjj
pageUrl: http://www.livestream.com/embed/wilsonjj?showMoreVideos=false&hideInfo=true&autoPlay=true&lschannel=true&browseMode=false&textLines=2&hideChannelBranding=true&mode=false&allowchat=false&layout=4&t=124446
I then tried rtmpdump with the following parameters:
Code:
rtmpdump -V -r "rtmp://xwilsonjjx.e.channel.livestream.com/mogulus-edge/wilsonjj" -a "mogulus-edge/wilsonjj" -f "LNX 11,2,202,425" -W "http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf?" -p "http://www.livestream.com/embed/wilsonjj?" -o ~./savedstreams/test.flv
Below is the output:
Code:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host : xwilsonjjx.e.channel.livestream.com
DEBUG: Parsed app : mogulus-edge
DEBUG: Protocol : RTMP
DEBUG: Hostname : xwilsonjjx.e.channel.livestream.com
DEBUG: Port : 1935
DEBUG: Playpath : wilsonjj
DEBUG: tcUrl : rtmp://xwilsonjjx.e.channel.livestream.com:1935/mogulus-edge/wilsonjj
DEBUG: swfUrl : http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf?
DEBUG: pageUrl : http://www.livestream.com/embed/wilsonjj?
DEBUG: app : mogulus-edge/wilsonjj
DEBUG: flashVer : LNX 11,2,202,425
DEBUG: live : no
DEBUG: timeout : 30 sec
DEBUG: SWFSHA256:
DEBUG: 10 00 79 4e aa 2b 4e 55 52 54 a6 17 bd e6 ae ce
DEBUG: ac 78 85 39 a8 9a dd 15 5a ee a4 ea a1 16 a4 e7
DEBUG: SWFSize : 872168
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused)
DEBUG: Closing connection.
I feel like I'm almost there, but I could use some pointers if anyone has any. Thanks.