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

[Help] requestAccess insert with parameters?

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

mtsr 01-09-2012 09:37 AM

Re: [Help] requestAccess insert with parameters?


 
Quote:

Originally Posted by KSV (Post 37148)
because it's now handled by rtmpdump.


in the package posted in sticky thread there is a Patch.diff file which contains all of my patches.

I think you mean this post:
http://stream-recorder.com/forum/sho...1&postcount=54

If you have time could you please incorporate the "requestAccess" parameter as a user-controlled command-line option?

For example:

Code:

rtmpdump -r.......  --extra-string-for-securetoken "requestAccess=some-secret-string"

KSV 01-09-2012 10:06 AM

Re: [Help] requestAccess insert with parameters?


 
Quote:

Originally Posted by Bahman (Post 37152)
When rtmpdump can handle Handshake 10?

we need to reverse the flash client first to know which encryption algorithm and keys they are using for handshake 10. after that writing code isn't that difficult.

Quote:

Originally Posted by mtsr (Post 37154)

yeah

Quote:

Originally Posted by mtsr (Post 37154)
If you have time could you please incorporate the "requestAccess" parameter as a user-controlled command-line option?

For example:

Code:

rtmpdump -r.......  --extra-string-for-securetoken "requestAccess=some-secret-string"

currently busy with other stuff. may write at later date. probably like -C switch where you can encode any custom data you want.

PS: it's not an extra string for SecureToken. it's separate invoke command.

Bahman 01-09-2012 01:05 PM

Re: [Help] requestAccess insert with parameters?


 
Quote:

Originally Posted by KSV (Post 37156)
we need to reverse the flash client first to know which encryption algorithm and keys they are using for handshake 10. after that writing code isn't that difficult.

Thanks for this good explain!! :)
just I'm wondering how getflv team could reverse it and we still couldn't after 5 months!! :confused:

mtsr 01-09-2012 01:24 PM

Re: [Help] requestAccess insert with parameters?


 
Quote:

Originally Posted by KSV (Post 37156)
currently busy with other stuff. may write at later date. probably like -C switch where you can encode any custom data you want.

OK, thanks! Just till then could you please post the diff for this custom modification of rtmpdump in this thread?

KSV 01-09-2012 02:01 PM

Re: [Help] requestAccess insert with parameters?


 
Quote:

Originally Posted by Bahman (Post 37157)
Thanks for this good explain!! :)
just I'm wondering how getflv team could reverse it and we still couldn't after 5 months!! :confused:

getflv team doesn't reverse anything. they are hooking the flash plugin to sign the handshake response.

Quote:

Originally Posted by mtsr (Post 37159)
OK, thanks! Just till then could you please post the diff for this custom modification of rtmpdump in this thread?

i will post soon.

Bahman 01-09-2012 02:13 PM

Re: [Help] requestAccess insert with parameters?


 
Quote:

Originally Posted by KSV (Post 37162)
They are hooking the flash plugin to sign the handshake response.

Thanks for the reply, I'm bothering you with my questions!!
and This is my last question: So, Why rtmpdump can't do this work like getflv? Why rtmpdump must have the encryption keys in order to be able to record?

and Thank you very much for putting time on my questions!!:)

KSV 01-11-2012 09:21 AM

Re: [Help] requestAccess insert with parameters?


 
Quote:

Originally Posted by mtsr (Post 37159)
OK, thanks! Just till then could you please post the diff for this custom modification of rtmpdump in this thread?

i have updated the package to include new changes.
Code:

http://stream-recorder.com/forum/showpost.php?p=36441&postcount=54
Quote:

Originally Posted by Bahman (Post 37163)
Thanks for the reply, I'm bothering you with my questions!!
and This is my last question: So, Why rtmpdump can't do this work like getflv? Why rtmpdump must have the encryption keys in order to be able to record?

and Thank you very much for putting time on my questions!!:)

what about other users and devices where there is no flash plugin available?

Bahman 01-11-2012 11:13 AM

Re: [Help] requestAccess insert with parameters?


 
aha, I got it right now!!

KSV 01-19-2012 06:55 AM

Re: [Help] requestAccess insert with parameters?


 
Code:

rtmpdump -r "rtmp://srv2.tv-stream.to/live/eurosport" -W "http://player.tv-stream.to/cplayer.swf" -p "http://tv-stream.to" -T "58=rA#TV26" --live -o 1.flv
Code:

RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:  duration              0.00
INFO:  width                768.00
INFO:  height                432.00
INFO:  videodatarate        0.00
INFO:  framerate            12.50
INFO:  videocodecid          7.00
INFO:  audiodatarate        0.00
INFO:  audiosamplerate      48000.00
INFO:  audiosamplesize      16.00
INFO:  stereo                TRUE
INFO:  audiocodecid          10.00
INFO:  encoder              Lavf52.111.0
INFO:  filesize              0.00
3747.744 kB / 54.37 sec


Bahman 01-19-2012 07:37 AM

Re: [Help] requestAccess insert with parameters?


 
You got "Read access denied for stream eurosport" because you are using old version that can't handle request access!! I got this error too before KSV's change on rtmpdump!!


Try this version!!


All times are GMT -6. The time now is 08:58 PM.