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 |
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 ![]() try this...for 2nd link... Code:
livestreamer "hls://http://yayin8.canlitvlive.org/prosieben/live.m3u8?tkn=E20LvemKAABOqw63TQVEpA&tms=1447154528" best ![]() |
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 :-))!!! |
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> ![]() If the ip address remains static, you can use this "simpler" RegEx Code:
<item> |
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 :D 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? |
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> Code:
<item> |
Re: rtmpdump impossible with these links?Returned Home, gonna try it out now
Thank youuuuu very much :-)) Hehe... did you say Salam just for fun? im persian so salam really means hello in my language or is it somewhere visible :P |
Re: rtmpdump impossible with these links?Hi Peterpan and Shinoby92,
I too am very interested in this, being that more and more streamed channels are on sites where they somehow hide or encrypt the links, or each link needs some kind of identifier/cookies or something. I am a linux user and I prefer to use ffplay for playing of links on PC. However I've come across some sites lately, they have some good streams, but the links seem to be jumbled or encrypted or need some kind of format to play them in ffplay (or VLC), somehow. I could be wrong, but after packet sniffing, I get the following: - This site here: http://www.stream2watch.co/ - And then I select a channel. Lets say I select this one: http://www.stream2watch.co/live-tv/p...as-live-stream And after sniffing the stream, I get the following: rtmp://95.211.148.66/loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTEvMTEvMj AxNSA2OjIxOjUxIEFNJmhhc2hfdmFsdWU9UkcxSktrUVRUNGtX NVdsSDI1ZjJTUT09JnZhbGlkbWludXRlcz0xMA==/96832994518847733549 If I input into stream player, say ffplayer (which is the correct format): # ffplay "rtmp://95.211.148.66/loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTEvMTEvMj AxNSA2OjIxOjUxIEFNJmhhc2hfdmFsdWU9UkcxSktrUVRUNGtX NVdsSDI1ZjJTUT09JnZhbGlkbWludXRlcz0xMA==/96832994518847733549" I get the following output: ffplay version 2.4.3-1ubuntu1~trusty6 Copyright (c) 2003-2014 the FFmpeg developers built on Nov 22 2014 17:07:19 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1) configuration: --prefix=/usr --extra-version='1ubuntu1~trusty6' --build-suffix=-ffmpeg --toolchain=hardened --extra-cflags= --extra-cxxflags= --libdir=/usr/lib/x86_64-linux-gnu --shlibdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-fontconfig --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-opengl --enable-x11grab --enable-libxvid --enable-libx265 --enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libx264 --enable-libsoxr --enable-openal --enable-libopencv libavutil 54. 7.100 / 54. 7.100 libavcodec 56. 1.100 / 56. 1.100 libavformat 56. 4.101 / 56. 4.101 libavdevice 56. 0.100 / 56. 0.100 libavfilter 5. 1.100 / 5. 1.100 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 0.100 / 3. 0.100 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 0.100 / 53. 0.100 rtmp server sent error= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 and after some seconds, ffplayer stops trying to play it. I can get any other type of rtmp stream play, just not these. I've tried this on VLC (just for the heck of it) and get the same outcome. After reading your post, the structure of the link I am able to sniff, seems very similar to what you've posted in your last post, and thus it seems I may be missing something, I'm not familiar with RegEx (I plan to be soon though), and I think that it might be a matter of just forming the structure of the link in a particular way. Any ideas on how to generate a working link from this? Any help would be greatly appreciated. Cheers Null-Zone |
Re: rtmpdump impossible with these links?Sorry, I'm not familiar with Linux :(
Here's VLC's code... Code:
rtmpdump -r "rtmp://178.162.205.101/loadbalance" -a "loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTEvMTEvMjAxNSA2OjUzOjQ1IEFNJmhhc2hfdmFsdWU9aEY2bXpxOXB0a1o2Rkd4VHJmOWl4dz09JnZhbGlkbWludXRlcz0xMA==" -f "WIN 19,0,0,226" -W "http://pxstream.tv/player510.swf" -p "http://pxstream.tv/embedrouter.php?file=sicnoti4&width=700&height=480&jwplayer=flash" -y "96832994518847733549" | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" - ![]() So yes, technically "rtmp://178.162.205.101/loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTEvMTEvMj AxNSA2OjUzOjQ1IEFNJmhhc2hfdmFsdWU9aEY2bXpxOXB0a1o2 Rkd4VHJmOWl4dz09JnZhbGlkbWludXRlcz0xMA==/96832994518847733549" should have worked in ffplay! Maybe you're missing a param or something! Edit: I think there's a LNX version of Kodi, so if you're interested you could run this RegEx on Kodi+LivestreamsPro (addon) and enjoy non-stop streaming of SIC (as the regex will auto-update the entire rtmp link for you ;) )...Note that this is the simplest "working version" of the RegEx. If they change the playpath and/or the file name, you can regex those params as well ;) Code:
<item> ![]() |
Re: rtmpdump impossible with these links?Hi Peterpan,
Thanks a whole lot for that example, it is very interesting... infact I'm really getting an interest in RegEx and would like to understand more, how you derived the actual strings you've used, from the rtmp link I gave. Is there somewhere you can suggest online, that I can quickly learn regex? Additionally, the rtmpdump string you provided: [html] Code:
rtmpdump -r "rtmp://178.162.205.101/loadbalance" -a "loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTEvMTEvMjAxNSA2OjUzOjQ1IEFNJmhhc2hfdmFsdWU9aEY2bXpxOXB0a1o2Rkd4VHJmOWl4dz09JnZhbGlkbWludXRlcz0xMA==" -f "WIN 19,0,0,226" -W "http://pxstream.tv/player510.swf" -p "http://pxstream.tv/embedrouter.php?file=sicnoti4&width=700&height=480&jwplayer=flash" -y "96832994518847733549" | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" - But it also seems that they are temporary keys, as this link is no longer playing... for me anyway... and so how would I overcome that ? Then, I also have a question about how you derived this code: Code:
<item> Maybe there is some kind of online tool that I can use where I can dump the initial string (sniffed link) and then it will output the above code? Or did you do it by hand, if so how? Sorry for all the questions, I'm really eager however, to learn how to do this. I've found a link: HTML Code:
http://stream-recorder.com/forum/use-rtmpdump-rtmpsrv-linux-t7661.html? As far as ffplay is concerned, thats pretty easy to use For example: A stream link Code:
rtmp://$OPT:rtmp-raw=rtmp://5.153.233.106:443/share/ playpath=live1-rbi6c swfUrl=http://sharecast.to/player/player20.swf live=1 timeout=13 pageUrl=http://sharecast.to/rtmp://5.153.233.106:443/share/ playpath=live2-bipmr swfUrl=http://sharecast.to/player/player20.swf live=1 timeout=13 pageUrl=http://sharecast.to/ Code:
ffplay "rtmp://5.153.233.106:443/share/ playpath=live1-rbi6c swfUrl=http://sharecast.to/player/player20.swf live=1 timeout=13 pageUrl=http://sharecast.to/rtmp://5.153.233.106:443/share/ playpath=live2-bipmr swfUrl=http://sharecast.to/player/player20.swf live=1 timeout=13 pageUrl=http://sharecast.to/" So seeing the format is similar, any ideas on how I would resolve the initial stream, in ffplay? It also seems that the pxstream may require updated keys/cookies etc... ??? Or is it just a matter of arranging the code in a particular way? Any ideas/assistance would be greatly appreciated, because with some examples, I'll be able to learn from them quickly. |
Re: rtmpdump impossible with these links?i googled some sites for learning
i found a good one i think here for sharing http://www.regexr.com i guess its not so difficult to learn... But another question got in my mind.... lets say i got a finished Link sniffed http://teleboy.customers.cdn.iptv.ch...res=1447377399 thats a link already created with token....as an example, now my question is, is there a way to check which channel is which number? "1037" ? And, in this case, i don't have the main page where the token got created...or can i sniff with wireshark also the main page? is it in wire shark visible somewhere? when yes what looking for? |
Re: rtmpdump impossible with these links?I don't understand your question...and it looks like this site requires a login...If you need help send me your login (via pm) and a specific link to a video or stream you want and I'll see what I can do...
Quote:
|
Re: rtmpdump impossible with these links?thats the problem
i don't have a login :D i got this stream from this file -> http://www.iptvsaga.com/play/tv2/playlist.m3u saved it -> opened it with vlc, then on channel lets say Pro 7 media info and copied the link out, but the link in the m3u is already created with your token im not sure, but i think the person who put it online on iptvsaga, also just taked the link from somewhere else. So He Somehow got the lets say "main" page where the token gets created Is there any possible way to get this "page" or not? I don't know how we can check if he just redirect and the redirected page creates the token, or iptvsaga is creating it token and its his own server Do you understand now what im try to say ..xd |
Re: rtmpdump impossible with these links?Short answer is NO. You need to get access to the page which generates the token. Where did yo get the m3u file? If it's just from a forum or some dump site, then you're at the mercy of the guy who posted the m3u file... most of his token appear to have lifespan of 1-2 days (bbc1 link token for example, will expire on "Fri, 13 Nov 2015 01:16:12 GMT" and if the m3u "owner" doesn't update the file, then you're screwed. If however, you got the m3u file from another page or php script, then maybe you could try to regex that page LOL ;)
|
Re: rtmpdump impossible with these links?the server were down one day, and he added other ones, so i don't think these are his own servers
but im interested in where he get that from ,thats why i asked if its possible to see where the tokens get created :P yeah already saw that it have expire date do you have knowledge in creating epg data? i read somewhere rytec has no problem using from there servers some time ago, but because of too high traffic they blocked connections |
Re: rtmpdump impossible with these links?I tried to fix the links you gave in your thread,
None of the Regex for Link 1 works anymore, i tried to fix it myself but i could not do it.. im honest, i want to do it myself but i have no clue after looking in webpage code how you did it before. I think regex is not so easy like i guessed, just to snipp and trim a page in the url you want to get... what is the reason the first links don't work anymore, i tried the simple regex and the other ones for link 1 Im really sorry for asking so many things |
Re: rtmpdump impossible with these links?The regex doesn't work anymore, b/c the params (we didn't regex) expired...If you regex the entire the string/stream, then it will update the whole thing automatically....
check your inbox ;) ![]() |
Re: rtmpdump impossible with these links?hello,
I don't want to hijack the thread.. I think the similar problem I am facing is the m3u8 links get expired. I sniffed the m3u8 link from my android player which is sub to a streaming server. Now, I get the link to put it in my vlc player, it does not work. Can someone help me on this please? http://72.21.81.253/80112A1/50770rse...cedd34a7c58fec |
Re: rtmpdump impossible with these links?Need original stream/video link, apk (if available), and login info
|
Re: rtmpdump impossible with these links?Hi Peterpan,
I don't have login to login into the website. The http requests are accepted through by validating the MAC id's of the STBs. How can I get the original links using the sniffer? Let me know. Thank you. Cyber |
Re: rtmpdump impossible with these links?Shit :D
now there is a captcha integrated....there is nothing to do right? http://oklivetv.com/prosieben-pro7-live/ |
Re: rtmpdump impossible with these links?@Peterpan - is there a tester (online?) where i can test my regex if it is returning back the correct output (such as m3u8 code) from the target server?
|
Re: rtmpdump impossible with these links?Hi,
I'm new beginner in Kodi and installed livestreams pro to use this stream in Kodi. How I get the stream url with token in my XML File? http://freetvstream.in/de/tv/kabel1.php Please help me. Sorry for my bad english. I hope, someone understand, what I want. Best regards! |
Re: rtmpdump impossible with these links?Quote:
see your PM |
Help with regex and m3u linksHello
I am trying to get channels from this website: www.afromotion.tv I am using URL Helper to extract the .m3u url. However, they have wmsAuthSign= at the end meaning they expire after a couple of minutes. I am new to regex and I would like to learn how to use regex in order to update the parameters automatically and keep the channels more stable. Can some provide me an example on what the regex url should look like with this channel? http://www.afromotion.tv/afrotv/watch/D Can someone please help? :) Much appreciated! |
Re: rtmpdump impossible with these links?How To Avoid CrossDomain.xml Issues Embedding M3U8 File
|
Re: rtmpdump impossible with these links? |
All times are GMT -6. The time now is 03:24 AM. |