Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-28-2013, 02:28 PM
mapmot mapmot is offline
Junior Member
 
Join Date: Mar 2013
Posts: 3
mapmot is on a distinguished road
Default

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?
Reply With Quote
  #2  
Old 03-28-2013, 03:21 PM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

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!
Reply With Quote
  #3  
Old 03-29-2013, 09:18 AM
mapmot mapmot is offline
Junior Member
 
Join Date: Mar 2013
Posts: 3
mapmot is on a distinguished road
Default

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
Reply With Quote
  #4  
Old 03-29-2013, 09:50 AM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

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!


Capture was made with rtmpdumphelper+rtmpsrv.
Reply With Quote
  #5  
Old 03-29-2013, 10:45 AM
mapmot mapmot is offline
Junior Member
 
Join Date: Mar 2013
Posts: 3
mapmot is on a distinguished road
Default

Re: Help with livestream.com


karlo2105, this worked! I worship you

The only thing I didn't try was rtmpsrv under Windows. Now I have to figure out what prevents rtmpsrv to work under Linux.
Reply With Quote
  #6  
Old 06-24-2014, 09:40 AM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

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. :-(
Reply With Quote
  #7  
Old 06-24-2014, 01:02 PM
blimey blimey is offline
Former Member
 
Join Date: Jul 2006
Posts: 286
blimey is on a distinguished road
Default

Re: Help with livestream.com


Quote:
Originally Posted by sebastian View Post
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.
Reply With Quote
  #8  
Old 06-25-2014, 03:38 AM
sebastian sebastian is offline
Member
 
Join Date: Jun 2007
Posts: 81
sebastian is on a distinguished road
Default

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.
Reply With Quote
Reply Post New Thread
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 12:05 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons