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 > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 09-09-2015, 12:59 AM
nefcanto nefcanto is offline
Junior Member
 
Join Date: Sep 2015
Posts: 4
nefcanto is on a distinguished road
Default

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.
Reply With Quote
  #2  
Old 09-09-2015, 01:09 AM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

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


Quote:
Originally Posted by nefcanto View Post
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
Reply With Quote
  #3  
Old 09-09-2015, 01:16 AM
nefcanto nefcanto is offline
Junior Member
 
Join Date: Sep 2015
Posts: 4
nefcanto is on a distinguished road
Default

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.
Reply With Quote
  #4  
Old 09-09-2015, 01:32 AM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

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


Quote:
Originally Posted by nefcanto View Post
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

Reply With Quote
  #5  
Old 09-09-2015, 01:47 AM
nefcanto nefcanto is offline
Junior Member
 
Join Date: Sep 2015
Posts: 4
nefcanto is on a distinguished road
Default

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?
Reply With Quote
  #6  
Old 09-09-2015, 01:49 AM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

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


Quote:
Originally Posted by nefcanto View Post
Thank you again. So, the last question, how did you understand that it's an .flv file?
always see .flv with rtmpdump
Reply With Quote
  #7  
Old 09-09-2015, 01:57 AM
nefcanto nefcanto is offline
Junior Member
 
Join Date: Sep 2015
Posts: 4
nefcanto is on a distinguished road
Default

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.
Reply With Quote
  #8  
Old 09-09-2015, 02:08 AM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

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


Quote:
Originally Posted by nefcanto View Post
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=
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 06:56 PM.


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