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 11-09-2015, 11:52 PM
Shinoby92 Shinoby92 is offline
Junior Member
 
Join Date: Nov 2015
Posts: 9
Shinoby92 is on a distinguished road
Default

rtmpdump impossible with these links?


Hello everyone,
yes im new registered but i could read the last 4-5 hours about rtmpdump and could successfully get links out of sources...even with sources which were not easy.

2 Links i really don't get it work...i googled and testet so many things out...
here are some skilled people around so i hope someone will and can help me.
I don't want to abuse any of these sources, its for use and of course i want to learn..

First Link ->
http://oklivetv.com/prosieben-pro7-live/

Second Link ->
http://canlitvlive.org/izle/pro-sieben.html


I tried everything out
The First Link somehow creates a /live/random.m3u8 which is also not static and i think cookie based...

The Second Link i think somehow generates a token i don't know how, and i don't know how to get a static link / setting that it generates it tokens itself...


Somehow...He managed to create successfully redirections
http://freetvstream.in/de/tv/pro7hd.php -> successfully uses Link 1
http://freetvstream.in/de/tv/pro72.php -> successfully uses Link 2

How did he managed it??

http://www.next.web.tr/tvizle <- also somehow managed it...

Edit:

What is this?....does it help somehow?https://gist.github.com/auselen/75726ff25400ef4c4944

Last edited by Shinoby92 : 11-10-2015 at 12:23 AM. Reason: added information
Reply With Quote
  #2  
Old 11-10-2015, 01:36 AM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

Re: rtmpdump impossible with these links?


Not everything is rtmp lol

Note: I've noticed that in VLC, the stream freezes for a few seconds, then continues...so you may to try to play it in wmp or some other player...It seems to run smoothly in Kodi --I believe there's a command, which helps the streams runs smoothly in VLC, but I forgot what it it was...maybe someone here can help you with that... -Salaam!



try this for 1st link...
Code:
c:\livestreamer>livestreamer "hlsvariant://http://46.101.171.43/live/UE5MZkh6MEdKUnNVWFN4S0ZYYjVWS25IdGltcjVjOExKVmJLV25vOXcvYUFmTSswMENCR1Zac0FPbTl3YU5NVDVTOHV3Z2IyRXpOeEh2RG5Vdi9rVS9CcS90bjRnbmlTaFdWOXlEc01JZmM9.m3u8" best
[cli][info] Found matching plugin stream for URL hlsvariant://http://46.101.171.43/live/UE5MZkh6MEdKUnNVWFN4S0ZYYjVWS25IdGltcjVjOExKVmJLV25vOXcvYUFmTSswMENCR1Zac0FPbTl3YU5NVDVTOHV3Z2IyRXpOeEh2RG5Vdi9rVS9CcS90bjRnbmlTaFdWOXlEc01JZmM9.m3u8
[cli][info] Available streams: 272p, 400p, 540p (best), 64k (worst)
[cli][info] Opening stream: 540p (hls)
[cli][info] Starting player: 'C:\Program Files (x86)\VideoLAN\VLC\vlc.exe'



try this...for 2nd link...


Code:
livestreamer "hls://http://yayin8.canlitvlive.org/prosieben/live.m3u8?tkn=E20LvemKAABOqw63TQVEpA&tms=1447154528" best
[cli][info] Found matching plugin stream for URL hls://http://yayin8.canlitvlive.org/prosieben/live.m3u8?tkn=E20LvemKAABOqw63TQVEpA&tms=1447154528
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[cli][info] Starting player: 'C:\Program Files (x86)\VideoLAN\VLC\vlc.exe'
Reply With Quote
  #3  
Old 11-10-2015, 09:49 AM
Shinoby92 Shinoby92 is offline
Junior Member
 
Join Date: Nov 2015
Posts: 9
Shinoby92 is on a distinguished road
Default

Re: rtmpdump impossible with these links?


Hey Peter!
Thank you for looking for the links, i didnt know that i have to handle it differently... But i could also get these Links you got there out...
The problem is
that in link1 ->
UE5MZkh6MEdKUnNVWFN4S0ZYYjVWS25IdGltcjVjOExKVmJLV2 5vOXcvYUFmTSswMENCR1Zac0FPbTl3YU5NVDVTOHV3Z2IyRXpO eEh2RG5Vdi9rVS9CcS90bjRnbmlTaFdWOXlEc01JZmM9

is getting generated and is not a static link...this link does not work here.
I want a static link, and don't know how to do it..

The same goes for link 2

?tkn=E20LvemKAABOqw63TQVEpA&tms=1447154528

is generated and not static so this link does not work either...

But really thank you for even reading my problem and treeing to help :-))!!!
Reply With Quote
  #4  
Old 11-10-2015, 10:01 AM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

Re: rtmpdump impossible with these links?


EASY FIX... Well somewhat easy...LOL

Install Kodi + LivestreamsPro addon and use the RegEx below...It will automatically update the changing params for you

Link: http://oklivetv.com/prosieben-pro7-live/
Code:
<item>
<title>Pro7 RegEx</title>
<link>http://$doregex[getFirstIPNum].$doregex[getSecondIPNum].$doregex[getCleanLast2IPNums]/live/$doregex[getM3U8Code].m3u8</link>
<regex>
<name>getFirstIPNum</name>
<expres>tintColor\|URL\|display\|.*?\|(.*?)\|</expres>
<page>$doregex[getPage]</page>
<referer>http://oklivetv.com/prosieben-pro7-live/</referer>
<cookieJar></cookieJar>
</regex>

<regex>
<name>getSecondIPNum</name>
<expres>tintColor\|URL\|display\|(.*?)\|</expres>
<page>$doregex[getPage]</page>
<referer>http://oklivetv.com/prosieben-pro7-live/</referer>
<cookieJar></cookieJar>
</regex>

<regex>
<name>getCleanLast2IPNums</name>
<expres>$pyFunction:'$doregex[getLast2IPNums]'.replace('|','.')</expres>
<page></page>
</regex>

<regex>
<name>getLast2IPNums</name>
<expres>tintColor\|URL\|display\|.*?\|.*?\|(.*?)\|m3u8</expres>
<page>$doregex[getPage]</page>
<referer>http://oklivetv.com/prosieben-pro7-live/</referer>
<cookieJar></cookieJar>
</regex>

<regex>
<name>getM3U8Code</name>
<expres>m3u8\|(.*?)\|auto</expres>
<page>$doregex[getPage]</page>
<referer>http://oklivetv.com/prosieben-pro7-live/</referer>
<cookieJar></cookieJar>
</regex>
<regex>
<name>getPage</name>
<expres>frameborder='0' src='(.*?)' .*\s.*Austria</expres>
<page>http://oklivetv.com/prosieben-pro7-live/</page>
<cookieJar></cookieJar>
</regex>
</item>


If the ip address remains static, you can use this "simpler" RegEx

Code:
<item>
<title>Pro7 STD RegEx "Simpler"</title>
<link>http://46.101.171.43/live/$doregex[getM3U8Code].m3u8</link>
<regex>
<name>getM3U8Code</name>
<expres>m3u8\|(.*?)\|auto</expres>
<page>$doregex[getPage]</page>
<referer>http://oklivetv.com/prosieben-pro7-live/</referer>
<cookieJar></cookieJar>
</regex>
<regex>
<name>getPage</name>
<expres>frameborder='0' src='(.*?)' .*\s.*Austria</expres>
<page>http://oklivetv.com/prosieben-pro7-live/</page>
<cookieJar></cookieJar>
</regex>
</item>
Reply With Quote
  #5  
Old 11-10-2015, 10:16 AM
Shinoby92 Shinoby92 is offline
Junior Member
 
Join Date: Nov 2015
Posts: 9
Shinoby92 is on a distinguished road
Default

Re: rtmpdump impossible with these links?


Great :-)
you really are peterpan....wait i mean you should rename yourself to Robin Hood, taking and giving the poor

Thank you for this fast answer, im gonna try it out when im home later

I think the IP is static im not sure, but taking the first one will be better i guess. I will try playing around with the simple regex code and the "referer" so i can maybe start with this regex easy another channel :-P

I really have to study some hours to get behind this regex code, because i want to understand it how to use it myself

Would be no problem to create a regex for the second link right? Or is creating the token somehow else?
Reply With Quote
  #6  
Old 11-10-2015, 10:32 AM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

Re: rtmpdump impossible with these links?


It shouldn't be that hard

Here you go...

Link: http://canlitvlive.org/izle/pro-sieben.html

Code:
<item>
<title>Pro7 RegEx "2nd Link"</title>
<link>$doregex[getURL]</link>
<regex>
<name>getURL</name>
<expres>.file:"(.*?)"</expres>
<page>http://canlitvlive.org/izle/pro-sieben.html</page>
</regex>
</item>
Also wrt link1, you can make the RegEx even easier, if the id in the page is static

Code:
<item>
<title>Pro7 RegEx "Link 1"</title>
<link>http://46.101.171.43/live/$doregex[getM3U8Code].m3u8</link>
<regex>
<name>getM3U8Code</name>
<expres>m3u8\|(.*?)\|auto</expres>
<page>http://oklivetv.com/xplay/xplay.php?idds=4e7a5931</page>
<referer>http://oklivetv.com/prosieben-pro7-live/</referer>
</regex>
</item>
Enjoy & Salaam
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 11:04 AM.


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