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

help in rtmpe

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

svnpenn 07-25-2012 07:01 PM

Re: help in rtmpe


 
Scratch that :)

Code:

$ rtmpdump \
>  -r "rtmpe://twinz.zapto.org:1934/rtplive" \
>  -a "rtplive" \
>  -f "WIN 11,3,300,257" \
>  -W "http://zonytvcom.info/you/player.swf" \
>  -p "http://zonytvcom.info/zeetvv.htm" \
>  -y "zt.stream" \
>  -o zt.stream.flv \
>  -T "#ed%h*ibuntu*0#w@1"
RTMPDump v2.4-34-g7340f6d
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  audiochannels        2.00
INFO:  audiosamplerate      11025.00
INFO:  audiocodecid          .mp3
INFO:  videocodecid          avc1
INFO:  width                640.00
INFO:  height                480.00
INFO:  frameWidth            640.00
INFO:  frameHeight          480.00
INFO:  displayWidth          640.00
INFO:  displayHeight        480.00
INFO:  framerate            25.00
INFO: trackinfo:
INFO:  timescale            11025.00
INFO:  language              eng
INFO: sampledescription:
INFO:  sampletype            MPA
INFO:  type                  audio
INFO:  timescale            90000.00
INFO:  language              eng
INFO: sampledescription:
INFO:  sampletype            H264
INFO:  type                  video
INFO:  profile-level-id      42001f
INFO:  sprop-parameter-sets  Z0KAH5ZSAUB7YCoQAAADABAAAAMDLgYAHoQAARjD/GOMDAA9CA
ACMYf4xw7QoVJA,aMuNSA==
INFO:  description          {H264CodecConfigInfo: profile: "Baseline", level:
3.1, frameSize: 640x480, displaySize: 640x480, PAR: 1:1, frameRate: 25.0}
INFO: rtpsessioninfo:
INFO:  name                  WowzaMediaServer
INFO:  origin                - 1881140292 1881140292 IN IP4 127.0.0.1
INFO:  timing                0 0
INFO:  protocolversion      0
INFO: attributes:
INFO:  range                npt=now-
INFO:  sdplang              en
1947.504 kB / 31.70 sec


cochin007 07-26-2012 01:39 AM

Re: help in rtmpe


 
Thank u so much.
Can u please tell -T "#ed%h*ibuntu*0#w@1".
How did u get this ?
Not sure what it is and how to derive.. Rest of the parameters was fine...

Josan420 07-26-2012 02:52 AM

Re: help in rtmpe


 
Quote:

Originally Posted by cochin007 (Post 49872)
Thank u so much.
Can u please tell -T "#ed%h*ibuntu*0#w@1".
How did u get this ?
Not sure what it is and how to derive.. Rest of the parameters was fine...

it is token, use to protect stream
u can use this website to find it

svnpenn 07-26-2012 05:30 AM

Re: help in rtmpe


 
Quote:

Originally Posted by Josan420
it is token, use to protect stream
u can use this website to find it
http://showmycode.com

Using Cygwin, a couple of other options are available

1. Parse SWF file

Quote:

$ wget -q --referer http://zonytvcom.info/zeetvv.htm http://zonytvcom.info/you/player.swf

$ flasm -x player.swf
Flasm configuration file flasm.ini not found, using default values
player.swf successfully decompressed, 206239 bytes

$ tr "[:cntrl:]" "\n" < player.swf | grep -A1 secureToken | tail -1
#ed%h*ibuntu*0#w@1

2. Parse dump file

Quote:

$ ps -W | grep plugin-container | cut -c-9 | xargs timeout 1 dumper p

$ tr "[:cntrl:]" "\n" < p.core | grep -A1 -m1 secureTokenResponse | tail -1
#ed%h*ibuntu*0#w@1


ukruser 03-12-2013 09:53 AM

Re: help in rtmpe


 
hi,
I am trying to handle rtpme steam with rtmpdump and then stream it to VLC player. But unsuccessful...

When I try to record stream with RTMPDumpHelper, everything is ok. I can even record stream to file and while it recording play it in VLC. But in this case a huge dump file is created. So I would like to organize something like proxy, which can decrypt stream and steam it to localhost.

This is what I have tried
Quote:

rtmpdump.exe -r rtmpe://stream01.bighockey.ua/live --quiet | "C:\Program Files\VLC\vlc.exe" -
Can you help me?


All times are GMT -6. The time now is 01:38 PM.