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

I'm stuck at finding the file name of an RTMP stream

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

nefcanto 09-08-2015 11:59 PM

I'm stuck at finding the file name of an RTMP stream


 
Hi,

I want to find the information of an RTMP service. But I can't. Using WireShark I can find the server path, and even security token, and using URL Snooper I can find out that the protocol is actually RTMPE.

Yet I'm unable to find the "file name". One that looks like "mp4:filename.mp4" for example.

The website address is:

http://www1.iransima.ir/

Each link is a stream of a different channel.

The URL of the rtmp stream that I can find is:

rtmpe://edge5.iransima.ir/e-tv3?wmsAuthSign=c2VydmVyX3RpbWU9OS85LzIwMTUgNTo0Mz ozNyBBTSZoYXNoX3ZhbHVlPW8yekpUMkV0aWp0Ykx5aWZBdll2 NlE9PSZ2YWxpZG1pbnV0ZXM9MTA=

But as you can see, it doesn't contain the file-name part. How can I find the file name?

Any help is highly appreciated.

biezom 09-09-2015 12:09 AM

Re: I'm stuck at finding the file name of an RTMP stream


 
Quote:

Originally Posted by nefcanto (Post 79687)
Hi,

I want to find the information of an RTMP service. But I can't. Using WireShark I can find the server path, and even security token, and using URL Snooper I can find out that the protocol is actually RTMPE.

Yet I'm unable to find the "file name". One that looks like "mp4:filename.mp4" for example.

The website address is:

http://www1.iransima.ir/

Each link is a stream of a different channel.

The URL of the rtmp stream that I can find is:

rtmpe://edge5.iransima.ir/e-tv3?wmsAuthSign=c2VydmVyX3RpbWU9OS85LzIwMTUgNTo0Mz ozNyBBTSZoYXNoX3ZhbHVlPW8yekpUMkV0aWp0Ykx5aWZBdll2 NlE9PSZ2YWxpZG1pbnV0ZXM9MTA=

But as you can see, it doesn't contain the file-name part. How can I find the file name?

Any help is highly appreciated.

Code:

rtmpdump -r "rtmp://cdn.iransima.ir:1935/e-tv3?wmsAuthSign=c2VydmVyX3RpbWU9OS85LzIwMTUgNjowNjozNyBBTSZoYXNoX3ZhbHVlPUtYcnVlZlE2QUtqck1TaE52SWxOS0E9PSZ2YWxpZG1pbnV0ZXM9MTA=/tv3-300k.stream" -T "4cb3b8d53539e241" -o "tv3-300k.stream.flv"
you can find all info in source page code

nefcanto 09-09-2015 12:16 AM

Re: I'm stuck at finding the file name of an RTMP stream


 
Thank you for the reply. I tried rtmpdump command:


Quote:

C:\Program Files\rtmpdump>rtmpdump -r "rtmp://cdn.iransima.ir:1935/e-tv3?wmsAuth
Sign=c2VydmVyX3RpbWU9OS85LzIwMTUgNjowNjozNyBBTSZoY XNoX3ZhbHVlPUtYcnVlZlE2QUtqck1
TaE52SWxOS0E9PSZ2YWxpZG1pbnV0ZXM9MTA=/tv3-300k.stream" -T "4cb3b8d53539e241" -o
"tv3-300k.stream.flv"
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

C:\Program Files\rtmpdump>
Please help me understand how did you find token and file name? I'm still unable to find them. They're not in the source code, or at least I'm doing something wrong. F12 on Chrome, using Chrome's Developer Tools, and searching in HTML document, gives me no result.

biezom 09-09-2015 12:32 AM

Re: I'm stuck at finding the file name of an RTMP stream


 
Quote:

Originally Posted by nefcanto (Post 79690)
Thank you for the reply. I tried rtmpdump command:




Please help me understand how did you find token and file name? I'm still unable to find them. They're not in the source code, or at least I'm doing something wrong. F12 on Chrome, using Chrome's Developer Tools, and searching in HTML document, gives me no result.

first maybe you need update your version of rtmpdump with the last patched by KSV

https://github.com/K-S-V/Scripts/rel...mpdump-2.4.zip

Ctrl+U to view source code


nefcanto 09-09-2015 12:47 AM

Re: I'm stuck at finding the file name of an RTMP stream


 
Thank you again. So, the last question, how did you understand that it's an .flv file?

biezom 09-09-2015 12:49 AM

Re: I'm stuck at finding the file name of an RTMP stream


 
Quote:

Originally Posted by nefcanto (Post 79692)
Thank you again. So, the last question, how did you understand that it's an .flv file?

always see .flv with rtmpdump

nefcanto 09-09-2015 12:57 AM

Re: I'm stuck at finding the file name of an RTMP stream


 
Now I'm stuck at redirects. It simply tries to follow the redirect, but ends up with this error:

Quote:

Connecting ...
INFO: Connected...
INFO: rtmp server sent redirect
INFO: trying to connect with redirected url
WARNING: Trying different position for server digest!
ERROR: Closing connection: NetStream.Play.Failed
I truly fail to understand why streaming should be so complicated. Maybe it's because of copyright issues.

biezom 09-09-2015 01:08 AM

Re: I'm stuck at finding the file name of an RTMP stream


 
Quote:

Originally Posted by nefcanto (Post 79694)
Now I'm stuck at redirects. It simply tries to follow the redirect, but ends up with this error:



I truly fail to understand why streaming should be so complicated. Maybe it's because of copyright issues.


this part is dynamic and expires with time so maybe you need update it by view source page again

Code:

wmsAuthSign=c2VydmVyX3RpbWU9OS85LzIwMTUgNzowODo1OCBBTSZoYXNoX3ZhbHVlPTFjWUNsdk1oSEM3VE5FRDlhTTNVRHc9PSZ2YWxpZG1pbnV0ZXM9MTA=


All times are GMT -6. The time now is 09:21 AM.