PDA

View Full Version : How can I extract this kind of complicated RTMP address?


Jason1055
09-30-2015, 11:40 PM
Dear Sirs/Madams,

Hello!.
My name is Jason. I'm glad to know you.
I'm having a hard time analyzing a complicated RTMP address these days.
But I can't extract this RTMP address.

1. URL snooper Information (1 stream channel. but 3 types of URL...)
URL Protocol Source IP
http://live.64ma.com:1930/tv/cmp.swf?ver=2014 FlashMedia http file 101.79.255.89
rtmp://live.kbskme.gscdn.com/news24/_definst_ rtmp 101.79.255.89
rtmp://101.79.249.73:1935/news24/_definst_/news24_800.stream|rtmp://1.255.48.15:1935/news24/_definst_/news24_800.stream rtmp stream stream 101.79.255.89
- Basically, I can't understand the last one.
rtmp://xxxxx|rtmp://xxxxx ==> Is this a normal rtmp protocol?
And I can't find a correct rtmp URL. Which one is correct?
Why does the channel have 3 types of URL?
Is there anyone who can solve this problem?

2. Debugging history
- According to the snooper information, I already tried following RTMP address.
But none of them worked correctly... :(
rtmp://live.kbskme.gscdn.com/news24/_definst_
rtmp://live.kbskme.gscdn.com/news24/_definst_/news24_800.stream
rtmp://101.79.249.73:1935/news24/_definst_/news24_800.stream
rtmp://1.255.48.15:1935/news24/_definst_/news24_800.stream
rtmp://101.79.249.73:1935/news24/_definst_/news24_800.stream|rtmp://1.255.48.15:1935/news24/_definst_/news24_800.stream

How can I get the correct address?
Do I need something special?
Please let me know if you need more information about this.
Thanks for your help in advance.

Best regards,
Jason

peterpan
10-01-2015, 12:09 AM
You can use rtmpdumpHelper... Also you need to post the ORIGINAL browser link, not a bunch of rtmp links LOL

Jason1055
10-01-2015, 06:36 AM
Thanks for your information.
Please refer to following original URL.
I want you to help me if you don't mind.
Thanks again.

1. Original page URL => http://www.8080tv.com/frim/index30.htm

2. Streaming Channel
==> kbs24 (Java Script)
<li><a href="javascript:;" onclick="plays('hgkbs24')">kbs24</a></li>

offthecuff
10-01-2015, 11:42 AM
I can't extract this RTMP address.




just run rtmpdumpHelper
then look in Command.txt for the url

peterpan
10-01-2015, 12:01 PM
Here you go... (As I've mentioned earlier, you may want to use rtmpdumpHelper to sniff out the stream again, since the params may have expired)

rtmpdump -r "rtmp://live.kbskme.gscdn.com/news24/_definst_/" -a "news24/_definst_/" -f "WIN 19,0,0,185" -W "http://live.64ma.com:1930/tv/cmp.swf" -p "http://live.64ma.com:1930/tv/html/flv.asp?code=2v3v6v3eRvfS9vCtRXoJ6vxSJvCek1xTy1xvh MzNBDf3" -y "news24_800.stream?id=2101&si=9&secure=MmRkYTQyOTMwZTM3Y2YyMDAzOWVhODBmOWE3MDViYTl kOTY3MTRkNzU2ZWNjOTAxY2I5OWY2MjliNjc0NjgxN2U0NWQzM mFkMTIyYjg0ZWRjNjE5NGFhMWQzODczMjA4ZjVkYmZmZjNhZTA xNjMxN2NmNGJiMmQzMWQ3YmUzYjIxY2VjM2M3ODI1YjFmYmIyN mIyZTQ4Y2UyMWI0NTY5MDM4ZmQxZGFmMzc5YzJlYzkwYzYxZDg 1NjcwMGRiNmZiNDk1NTNmMDNiZjAzZDUwMTk0ZTU4ZDY4NmJkZ TViOWQ4NWE5MjZjMmU0ODBiM2I0MjdiNmMzMGRhNzQ5M2Y2OTk 3YTQ4YjQ1YzIyZmI2NjIyMDIzMDdiMDRlZGZiZDEzODU5ODU4M GM4OTJhM2I5MQ==&csu=false" -o "2015-10-01_10-53-50_news24_800.stream.flv"

http://i.imgur.com/i68FkXd.png

http://i.imgur.com/BvzU8Jr.png

Thanks for your information.
Please refer to following original URL.
I want you to help me if you don't mind.
Thanks again.

1. Original page URL => http://www.8080tv.com/frim/index30.htm

2. Streaming Channel
==> kbs24 (Java Script)
<li><a href="javascript:;" onclick="plays('hgkbs24')">kbs24</a></li>

Jason1055
10-01-2015, 08:36 PM
Dear Peterpan,

I am very sorry for late reply.
I really appreciate your help. Finally, I made it.!!!
So far, I didn't know the rtmpdumpHelper.
(I have been working as a hardware engineer for a long time.)
So I studied the program very hard. :)
This is the reason why my reply is too late.

I used the rtmpdumpHelper according to your recommendation.
Basically, I wanted to see the stream channel in my Kodi or XBMC program. So I utilized the stream information of rtmpdumpHelper.
At last, I was able to see the stream channel in my Kodi program!
Anyway, thanks for your help again. :)

https://drive.google.com/file/d/0BwjbFJx8oYPYc1lscWtLM21DTDg/view?usp=sharing

Best regards,
Jason

Jason1055
10-01-2015, 11:16 PM
Unfortunately, I have faced another problem with live stream channel...
I think that the website changes a secure code periodically... Am I right?
Is there any good solution about this problem?
I really want to see the live channel in my Kodi/XBMC without recording.
Please help me one more time if possible.

offthecuff
10-02-2015, 12:19 PM
I think that the website changes a secure code periodically... Am I right?
Is there any good solution about this problem?


if you take 10 mins to read here

you can help yourself

http://www.nirsoft.net/utils/rtmp_dump_helper.html

Jason1055
10-03-2015, 06:54 AM
if you take 10 mins to read here

you can help yourself

http://www.nirsoft.net/utils/rtmp_dump_helper.html

Dear Offthecuff,

Thanks for your help.
I have read the article according to your advice.
Unfortunately, I could not find any information about secure token.
I think you have a different view on this matter.
Please let me know if I am wrong.

Problem summary
1. I want to see the live stream channel in my Kodi/XBMC program.
2. I can get a RTMP URL by rtmpdumpHelper.
3. But I need a fixed RTMP URL because I want to use my Kodi/XBMC
Program.
4. However, the website changes their secure token continuously.
5. So I can't make a m3u file for Kodi/XBMC.

Question
How can I get the fixed RTMP URL regardless of secure token?

Please refer to my test result as below.
(According to the result, you can see they change the secure token
Continuously... This is the main problem.)
===========================================
news24_800.stream?id=2101&si=9&secure=MmRkYTQyOTMwZTM3Y2YyMDAzOWVhODBm
OWE3MDViYTlkOTY3MTRkNzU2ZWNjOTAxY2I5OWY2MjliNjc0Nj gxN2MxZDM0NjE3YzNjZDU0NTU0NTY4
MzUxNjU4MWRkMDZhNDE3YWQxZGIwOTczODlmODYxMTI0ZjcxMm ZiYmM0YTc5YWUxMDYzNTU4ZmY1MWM4
NWQxNzdiNWZkZTU1OTNmNjkzM2VmNWYzODc3MjdmNTgxZDQ5Nz QwMDIyMTE2OTY3YWZlODVhNTE4NmQ2
MjkzZDA4MDQzNDMyZTdjNzhjY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5OTE0OTk4ZDZiZTdm
Yzc2YzYwOTNlY2Y5M2U4MjFmZjUyN2E1NmQ2MGE5ZDhmOTIxNj I3NDhlYzMwNTM0YzI5ZDM0YTdjMjkz
OGMwYWIyODgyYjI4YTAwZjQzODEwNzliYjQ4YzZhNWIyNWIwMm UwZDVhMzY2MzhlNmQzOTg2MzA1YjI1
NjcxYzMxYzc3YjBmOTg1MDdjYWExYzYzZmIzNGY5M2MwNTY4Y2 RkY2NkNTYxM2MzNmQ3OGJiNmZhN2Ji
MzhjYzc1NzBlYTA1MmUzZTFjNGNjNzcxNjY1NTkwNDcxM2EwZT FkOGVmMDEzZmExZjRkM2FlODJmODNm
YjRlNGZkNWQ2ZmE0NzkyMjFlMTA0MWU3OTJhOGNiYTk0ZGMyZj Y2OA

news24_800.stream?id=2101&si=0&secure=NzA4NzU1YTg4M2JiOWVmM2U5ZDE0NDUx
YTgwNGVhYWI5ZDg1ZDFmOWE0ZTZhODE3ZjRhNWM4YTkxOTZkMT FlZjliOGFkY2JlMjgzYTkzNGI4ODEw
N2EzMTVmMjBkZTI5YTQ5NGY2N2ZjNjhhNzkyYmU5ZDJlY2Y3Nm QwNTViNjM3Y2VjYjRlODBhZjhlMzJm
NWU0OTRhYWJjNTBhMTU1MTE1YTA2OGQzMGY0ZWExNjQyZmQ5ZD VmM2E4NTM0OWE4ZDVmMGViYTM2MmIw
NDIyNjYyYjM0NTNkNTYxZjYxZmIwN2IzMjIxZjE0MzU1YWNlNT FhNjJhNjZiZWRmMDAxNTA1MWY4Y2I5
NmY5Yjc5MDk2M2FkMTZlNjg5MDI3OGU5NjU2NDAwZTRkNjc1N2 MxYg
===========================================

Best regards,
Jason

offthecuff
10-03-2015, 01:24 PM
I need a fixed RTMP URL


you will have to sniff the link out
each time you want to watch it

peterpan
10-03-2015, 05:45 PM
No, he doesn't have to! that's what RegEx is for... He wants to view it Kodi, not VLC LOL ;)
Jason, check your inbox m8 ;) Cheers!

offthecuff
10-03-2015, 06:19 PM
stream output chain in vlc to kodi

vlc just needs to be on not showing the stream

no silly addons

just a strm file

set up in 2 secs

biezom
10-03-2015, 06:22 PM
stream output chain in vlc to kodi

vlc just needs to be on not showing the stream

no silly addons

set up in 2 secs

see your PM

Jason1055
10-04-2015, 06:05 AM
No, he doesn't have to! that's what RegEx is for... He wants to view it Kodi, not VLC LOL ;)
Jason, check your inbox m8 ;) Cheers!

Dear Peterpan,

I have read your private message today.
Thanks for your help.
I will try applying your solution to Kodi.
I think this token issue will be my challenge because I am not familiar
With S/W coding. :(
But I will never give up!
I will let you know if there is any progress in my test.
Thanks again. :)

Best regards,
Jason

Jason1055
10-04-2015, 08:24 AM
No, he doesn't have to! that's what RegEx is for... He wants to view it Kodi, not VLC LOL ;)
Jason, check your inbox m8 ;) Cheers!

Dear Peterpan,

Great!!! Awesome!!! Unbelievable!!!
Finally, I also made it. :)
I just followed your guideline.
It really works!!!
How could you do that?
I think you must be an expert in multimedia field.
Sometimes I envy a S/W expert because I am just good at H/W engineering.
So your knowledge is very helpful for me this time.
Thanks a lot.

http://drive.google.com/file/d/0BwjbFJx8oYPYaUlSbEl6S3IwMms/view?usp=sharing

Best regards,
Jason

peterpan
10-04-2015, 08:43 AM
You're welcome Jason ;) I'm no expert...I just try to help out when/if I can. and btw, this was a team effort task. Folks like biezom, and shani (from another forum) have helped a great deal with it! Enjoy!