PDA

View Full Version : Problema on this Stream with SecureToken


gallina94
05-27-2012, 01:15 PM
Hi all guys,
i'm having a problem using RTMPDUMP with the stream found here:

http://la-tv-gratis.noiblogger.com/italia2/

If i use rtmpsuck the stream go on and play with no problem. But if i try to use rtmpdump with the parameters here is the result:

rtmpdump -r rtmp://93.114.45.254/hdcaster -a "hdcaster" -f "LNX 11,2,202,228" -W "http://hdcaster.net/player.swf" -p "http://hdcaster.net" -y "117847" -v -o "TRYDUMP"
RTMPDump 2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP_HashSWF: couldn't contact swfurl http://hdcaster.net/player.swf (HTTP error 403)
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: author
INFO: copyright
INFO: description
INFO: keywords
INFO: rating
INFO: title
INFO: presetname Custom
INFO: creationdate Sun May 27 10:02:48 2012
INFO: videodevice SplitCam Video Capture
INFO: framerate 25.00
INFO: width 320.00
INFO: height 240.00
INFO: videocodecid avc1
INFO: videodatarate 350.00
INFO: avclevel 31.00
INFO: avcprofile 66.00
INFO: videokeyframe_frequency5.00
INFO: audiodevice Line in (e2eSoft VAudio)
INFO: audiosamplerate 22050.00
INFO: audiochannels 2.00
INFO: audioinputvolume 95.00
INFO: audiocodecid .mp3
INFO: audiodatarate 40.00
117.139 kB / 1.02 sec
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 8514
135.536 kB / 1.28 sec
Download complete


After 1 seconds RTMPDUMP closes. Here is what i've with wireshark (i think the problem is the secure token but not sure)

Can anyone help me?? THANKSSSSS

-----WIRESHARK CAPTURE-------------------
.connect.?..........app...hdcaster..flashVer...MAC 11,1,102,55..swfUrl...http://hdcaster.net/player.swf..tcUrl...rtmp://93.114..45.254/hdcaster..fpad....capabilities.@m........audioCode cs.@.........videoCodecs.@o.......
videoFunction.?.........pageUrl..Eh.ttp://hdcaster.net/player.php?channel_id=117847&width=500&height=350..objectEncoding..............Ka'X\.k+.( .s...>P.L.ae.3..Y....*......_." ..GY.0..=.Q ...V.......x....l.a:#I....N...4J...R..g..'8..+.m.. ...........R...e6}../.7C.+..I.}L\h+j.4..1G&..`
.NV.Z..G.....XH..E.M.y....XZ6..a.....?............ ...&%..............&%..........................................[........_result.?..........fmsVer..
FMS/3,5,4,210..capabilities.@?........mode.?.......... ...level...status..code...NetConnection.Connect.Su ccess..description...Connection succeeded...data.......version...3,5,4,210.....cli entid.A...>.....objectEncoding...........secureToken..H9138cd 6237e626086213527fb9d5a3412a3900a136cd4c6cec6681e0 a1ff850ff1897b0b................&%...

..G........secureTokenResponse............$9841620 6-a443-4c18-81ba-63ab11bb6675B.....
...........C..........createStream.@.............. ........._result.@.........?.........
............play.............117847............... .............................onStatus............. level...status..code...NetStream.Play.Reset..descr iption..KPlaying and resetting rtmp://188.138.121.99:1935/hdcaster/_definst_/117847...clientid.A...>.....................onStatus.............level... status..code...NetStream.Play.Start..description.. EStarted playing rtmp://188.138.121.99:1935/hdcaster/_definst_/117847...clientid.A...>....
isFastPlay....timecodeOffset...30831822L...E...... ....|RtmpSampleAccess..........,........onStatus.. .code...NetStream.Data.Start................ ....E.........
onMetaData...author.....copyright.....description. ....keywords.....rating.....title....
presetname...Custom..creationdate...Sun May 27 10:02:48 2012
..videodevice...SplitCam Video Capture..framerate.@9........width.@t........heigh t.@n........videocodecid...avc1.
videodatarate.@u........avclevel.@?.......
avcprofile.@P........videokeyframe_frequency.@.... .....audiodevice...Line in (e2eSoft VAudio)..audiosamplerate.@........
audiochannels.@.........audioinputvolume.@W....... .audiocodecid....mp3.
audiodatarate.@D

phamphilongok
07-20-2012, 09:53 AM
Hi gallina94!
to my knowledge, the problem is the dynamic token
secureTokenResponse............$9841620 6-a443-4c18-81ba-63ab11bb6675B
Sorry im not expert. But you can find more info.
http://www.hensence.com/en/coojah/rtmp_securetoken.htm

Can you show me the way of using Wireshark to get what you captured
Thanks.

Bahman
07-20-2012, 04:37 PM
Try this: ;)
rtmpdump -r "rtmp://93.114.45.254/hdcaster" -a "hdcaster" --swfUrl "http://hdcaster.net/player.swf" --swfsize "80875" --swfhash "077bc5f20db3ac2b9b5de50ba7128f579d7902225f3cbeebe8 244730cf106860" -p "http://hdcaster.net" --live -y "117847" -o "117847.flv"

svnpenn
07-25-2012, 05:52 PM
Try this: ;)
rtmpdump -r "rtmp://93.114.45.254/hdcaster" -a "hdcaster" --swfUrl "http://hdcaster.net/player.swf" --swfsize "80875" --swfhash "077bc5f20db3ac2b9b5de50ba7128f579d7902225f3cbeebe8 244730cf106860" -p "http://hdcaster.net" --live -y "117847" -o "117847.flv"

Sry, nop.

$ rtmpdump -r "rtmp://93.114.45.254/hdcaster" -a "hdcaster" --swfUrl "http://hd
caster.net/player.swf" --swfsize "80875" --swfhash "077bc5f20db3ac2b9b5de50ba71
28f579d7902225f3cbeebe8244730cf106860" -p "http://hdcaster.net" --live -y "1178
47" -o "117847.flv"
RTMPDump v2.4 GIT-2012-03-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

francobanbi11
07-25-2012, 11:03 PM
I would like to help, but i cant see the video in the web :confused: