Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Help with livestream.com

(http://stream-recorder.com/forum/showthread.php?t=15975)

mapmot 03-28-2013 01:28 PM

Help with livestream.com


 
Hi,

I need help with the following stream: http://www.banskoski.com/bg/livecam/video

With the help of Wireshark, XBMC forums and Google I was able to piece the following information:

Code:

<item>
<title>Bansko Live</title>
<link>rtmp://212-111.livestream.com/mogulus-stream-edge/bansko app=mogulus-stream-edge/bansko swfUrl=http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf pageUrl=http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf?width=700&autoPlay=true&jsEnabled=false&height=500&channel=bansko&hideChannelBranding=true playpath=rtmp://212-96.livestream.com/affiliateStream/bansko/6c69766572657065617465723a72746d703a2f2f3231322d39362e6c69766573747265616d2e636f​6d2f6d6f67756c75732f62616e736b6f2f73746f703030303032303133303332372d303434353430​5f343436</link>
<thumbnail>http://www.bulgariatransport.com/images/bansko-logo.jpg</thumbnail>
</item>

However, rtmpdump yelds the following:

Code:

rtmpdump -r rtmp://212-111.livestream.com/mogulus-stream-edge/bansko -a mogulus-stream-edge/bansko -s 'http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf' -p 'http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf?width=700&autoPlay=true&jsEnabled=false&height=500&channel=bansko&hideChannelBranding=true' -y 'rtmp://212-173.livestream.com/affiliateStream/bansko/6c69766572657065617465723a72746d703a2f2f3231322d3137332e6c69766573747265616d2e63​6f6d2f6d6f67756c75732f62616e736b6f2f73746f703030303032303133303332362d3034343531​355f343436' -V
DEBUG: sending ctrl. type: 0x0007
DEBUG: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 11 (Resource temporarily unavailable)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.

I didn't have any luck with rtmpsrv either. Any suggestions?

karlo2105 03-28-2013 02:21 PM

Re: Help with livestream.com


 
Code:

rtmpdump -r "rtmp://212-109.livestream.com:80/mogulus-stream-edge/bansko" -a "mogulus-stream-edge/bansko" -f "WIN 11,6,602,180" -W
 "http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf" -p "http://cdn.livestream.com/embed/bansko?layout=4&autoplay=false&height=500&width=700" -y "rtm
p://212-91.livestream.com/affiliateStream/bansko/6c69766572657065617465723a72746
d703a2f2f3231322d39312e6c69766573747265616d2e636f6d2f6d6f67756c75732f62616e736b6
f2f73746f703030303132303133303332382d3034343535355f343436" | vlc -
RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  author                  stop
INFO:  copyright              Procaster 20.3.0
INFO:  broadcasting_app        Procaster 20.3.0
INFO:  operation_system        Windows 7 Ultimate Edition Service Pack 1 (build
 7601), 32-bit
INFO:  presetname              Custom
INFO:  creationdate            2013.03.28-09:49:40
INFO:  audiocodecid            mp4a
INFO:  audiosamplerate        44100.00
INFO:  audiochannels          2.00
INFO:  audiodatarate          96.00
INFO:  videocodecid            avc1
INFO:  avcprofile              66.00
INFO:  avclevel                0.00
INFO:  width                  512.00
INFO:  height                  288.00
INFO:  videodatarate          350.00
INFO:  keywords
INFO:  rating
INFO:  title                  Procaster stream
INFO:  videodevice            Procaster Video
INFO:  framerate              25.00
INFO:  videokeyframe_frequency 2.40
INFO:  audiodevice            Procaster Audio
INFO:  audioinputvolume        100.00
INFO:  streamIdentifier        76EA03
INFO:  lsChannelName          bansko
336.290 kB / 6.01 sec
ERROR: Download: Failed writing, exiting!


mapmot 03-29-2013 08:18 AM

Re: Help with livestream.com


 
karlo2105, what kind of sorcery is this :)

I tried your command in Windows, it failed the same way as it does in linux. Recompiled rtmpdump with the KSV patchset to get the -W option under Linux, still fails the exact same way as before :(

Any suggestions?

Code:

rtmpdump -r "rtmp://212-109.livestream.com:80/mogulus-stream-edge/bansko" -a "mogulus-stream-edge/bansko" -f "WIN 11,6,602,180" -W "http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf" -p "http://cdn.livestream.com/embed/bansko?layout=4&autoplay=false&height=500&width=700" -y "rtmp://212-91.livestream.com/affiliateStream/bansko/6c69766572657065617465723a72746d703a2f2f3231322d39312e6c69766573747265616d2e636f6d2f6d6f67756c75732f62616e736b6" -V
...
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: rtmp://212-91.livestream.com/affiliateStream/bansko/6c69766572657065617465723a72746d703a2f2f3231322d39312e6c69766573747265616d2e636f6d2f6d6f67756c75732f62616e736b6

DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 20582
DEBUG: sending ctrl. type: 0x0007
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6


karlo2105 03-29-2013 08:50 AM

Re: Help with livestream.com


 
Try this. They change address daily.

Code:

rtmpdump -r "rtmp://212-98.livestream.com/mogulus-stream-edge/bansko" -a "mogulus-stream-edge/bansko" -f "WIN 11,6,602,180" -W "http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf" -p "http://www.livestream.com/embed/bansko?showMoreVideos=false&hideInfo=true&autoPlay=true&lschannel=true&browseMode=false&textLines=2&hideChannelBranding=true&mode=false&allowchat=false&layout=1&t=755296" -y "rtmp://212-91.livestream.com/affiliateStream/bansko/6c69766572657065617465723a72746d703a2f2f3231322d39312e6c69766573747265616d2e636f6d2f6d6f67756c75732f62616e736b6f2f73746f703030303032303133303332392d3034343535315f343436" | vlc -

RTMPDump v2.4 GIT-2012-12-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  author                stop
INFO:  copyright            Procaster 20.3.0
INFO:  broadcasting_app      Procaster 20.3.0
INFO:  operation_system      Windows 7 Ultimate Edition Service Pack 1 (build 7
601), 32-bit
INFO:  presetname            Custom
INFO:  creationdate          2013.03.29-04:45:53
INFO:  audiocodecid          mp4a
INFO:  audiosamplerate      44100.00
INFO:  audiochannels        2.00
INFO:  audiodatarate        96.00
INFO:  videocodecid          avc1
INFO:  avcprofile            66.00
INFO:  avclevel              0.00
INFO:  width                512.00
INFO:  height                288.00
INFO:  videodatarate        350.00
INFO:  title                Procaster stream
INFO:  videodevice          Procaster Video
INFO:  framerate            25.00
INFO:  videokeyframe_frequency2.40
INFO:  audiodevice          Procaster Audio
INFO:  audioinputvolume      100.00
INFO:  streamIdentifier      783B7F
INFO:  lsChannelName        bansko
1008.172 kB / 24.38 sec
ERROR: Download: Failed writing, exiting!

:D

Capture was made with rtmpdumphelper+rtmpsrv.

mapmot 03-29-2013 09:45 AM

Re: Help with livestream.com


 
karlo2105, this worked! I worship you :D

The only thing I didn't try was rtmpsrv under Windows. Now I have to figure out what prevents rtmpsrv to work under Linux.

sebastian 06-24-2014 08:40 AM

Re: Help with livestream.com


 
Can anyone help me with these ones?

http://livestre.am/RxeA
http://livestre.am/RKIK
http://livestre.am/RCXn
http://livestre.am/RxeA
http://livestre.am/Rwf5
http://livestre.am/Rwci

Important for me is the way how to find the rtmpdump syntax. RTMPDumpHelper didn't help me. :-(

blimey 06-24-2014 12:02 PM

Re: Help with livestream.com


 
Quote:

Originally Posted by sebastian (Post 68618)
Can anyone help me with these ones?

http://livestre.am/RxeA
http://livestre.am/RKIK
http://livestre.am/RCXn
http://livestre.am/RxeA
http://livestre.am/Rwf5
http://livestre.am/Rwci

Important for me is the way how to find the rtmpdump syntax. RTMPDumpHelper didn't help me. :-(

Must you use rtmp, or is http ok?

As example for the first link, view the playlist by loading the following page;

Code:

http://xexitdancearenax.api.channel.livestream.com/3.0/getstream.json?id=pla_105da277-21e2-4590-932b-46558d43bf97&callback=json1
At the end of the playlist, find the url following "progressiveUrl":

Copy the entire url that follows

"progressiveUrl":

everything between the quotes, including __gda__= and the code that follows.

Use this url to download the video.

If you must use rtmp, try youtube-dl to find rtmp url. However, it had some trouble downloading the entire video.

sebastian 06-25-2014 02:38 AM

Re: Help with livestream.com


 
Thanks a lot, that worked for me. How did you find the playlist file? I altered them with yours and put the full URL in it, but couldn't find it myself in the html source code.


All times are GMT -6. The time now is 01:39 AM.