Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Playing online streaming in media players (http://stream-recorder.com/forum/forumdisplay.php?f=77)
-   -  

streami.tv - How to watch live with rtmpdump

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

karlo2105 09-10-2011 08:54 AM

streami.tv - How to watch live with rtmpdump


 
Hello. I would like to know is there any chance to watch live streams from Streami.tv with RTMPdump. It worked previously flawlessly but admin locked SWF player and rtmpdump can't access anymore it that's why it rejects connection.

Here is a stream I want to watch with rtmpdump.

Code:

rtmpdump -v -r "rtmp://76.10.223.6:1936/streami/streamnfdagsdhasdfasdf-ghwb" -W "http://streami.tv/fp/flowplayer.commercial-3.2.7.swf" -p "http://streami.tv/embed/e2.php?h=500&w=700&n=lY%2BxDQVRXyZbGGRUTKCg9N4LXdQ0gtv6HoOU%2BUM7RIh?2Bv5p4Am%2FCBarnQm5Z8E57yt8XnCyYUlG31yEqxa28CiukbMzVyRf34hxqxUGV5szlcvCKWV3J2rp" | %systemdrive%\progra~2\videolan\vlc\vlc -
Here is error message :

Quote:

RTMPDump v2.4 GIT-2011-07-11 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
ERROR: RTMP_HashSWF: couldn't contact swfurl http://streami.tv/fp/flowplayer.com
mercial-3.2.7.swf (HTTP error 403)
Connecting ...
WARNING: HandShake: client signature does not match!
INFO: Connected...
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
Starting Live Stream
INFO: Metadata:
INFO: author
INFO: copyright
INFO: description
INFO: keywords
INFO: rating
INFO: title
INFO: presetname Custom
INFO: creationdate Sat Sep 10 13:04:56 2011
INFO: videodevice VHScrCap
INFO: framerate 24.00
INFO: width 650.00
INFO: height 474.00
INFO: videocodecid avc1
INFO: videodatarate 600.00
INFO: avclevel 31.00
INFO: avcprofile 66.00
INFO: videokeyframe_frequency5.00
INFO: audiodevice VIA HD Audio Input
INFO: audiosamplerate 22050.00
INFO: audiochannels 1.00
INFO: audioinputvolume 100.00
INFO: audiocodecid .mp3
INFO: audiodatarate 32.00
123.167 kB / 0.00 sec
ERROR: rtmp server sent error
168.463 kB / 0.00 sec
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 2786
231.677 kB / 0.00 sec
Download complete
Streami.tv uses domain protection that's why embed address seems weird. I don't think domain protection restricts usage of rtmpdump. I hope someone will help me how to prevail this issue with rtmpdump.
Thanks very much.

mckv 09-10-2011 11:38 AM

Re: streami.tv - How to watch live with rtmpdump


 
dunno tried random streami link. works fine
Code:

rtmpdump -v -r "rtmp://streamilivefs.fplive.net/streamilive-live" \
-a "streamilive-live" -f "LNX 11,0,1,129" \
-W "http://streami.tv/fp/flowplayer.commercial-3.2.7.swf?874008807" \
-p "http://streami.tv/embed/e2.php?h=500&w=650&n=kZkYzi2MVXFptUlU9JJnnNh56cYaQYw1T9h81Zu9E8HqhGYiSw4n8kdhNLWq0mQ%2BRPGgpVDoIo4gs5PZj3UCTf32OIAsCxWitAmTh2ebxlWUimSZ6Gq5SdpDnjcHtiaIVZVBKXF2" \
-y "streamboxtv1-ypmk" | vlc -


karlo2105 09-10-2011 12:30 PM

Re: streami.tv - How to watch live with rtmpdump


 
Quote:

Originally Posted by mckv (Post 32299)
dunno tried random streami link. works fine
Code:

rtmpdump -v -r "rtmp://streamilivefs.fplive.net/streamilive-live" \
-a "streamilive-live" -f "LNX 11,0,1,129" \
-W "http://streami.tv/fp/flowplayer.commercial-3.2.7.swf?874008807" \
-p "http://streami.tv/embed/e2.php?h=500&w=650&n=kZkYzi2MVXFptUlU9JJnnNh56cYaQYw1T9h81Zu9E8HqhGYiSw4n8kdhNLWq0mQ%2BRPGgpVDoIo4gs5PZj3UCTf32OIAsCxWitAmTh2ebxlWUimSZ6Gq5SdpDnjcHtiaIVZVBKXF2" \
-y "streamboxtv1-ypmk" | vlc -


How did you find this stream? On linux I got infos with rtmpsrv but instead of "rtmp://streamilivefs.fplive.net/streamilive-live" it was more like this "rtmp://76.10.223.6:1936/streami/".
What did you use to get those informations? I used StreamTransport and URL Snooper for mine.
Are you able to play this stream with RTMPdump?

Code:

rtmpdump -v -r "rtmp://76.10.223.6:1936/streami/streamnfdagsdhasdfasdf-ghwb" -W "http://streami.tv/fp/flowplayer.commercial-3.2.7.swf" -p "http://streami.tv/embed/e2.php?h=500&w=700&n=lY%2BxDQVRXyZbGGRUTKCg9N4LXdQ0gtv6HoOU%2BUM7RIh?2Bv5p4Am%2FCBarnQm5Z8E57yt8XnCyYUlG31yEqxa28CiukbMzVyRf34hxqxUGV5szlcvCKWV3J2rp" | %systemdrive%\progra~2\videolan\vlc\vlc -

mckv 09-10-2011 01:45 PM

Re: streami.tv - How to watch live with rtmpdump


 
thats not working
i used iptables redirect to rtmpsuck

karlo2105 09-10-2011 02:16 PM

Re: streami.tv - How to watch live with rtmpdump


 
Quote:

Originally Posted by mckv (Post 32303)
thats not working
i used iptables redirect to rtmpsuck

Yeah you are right. It's even working with rtmpsrv. :D
I used previously rtmpdump 2.3 r535 and it didn't find anything. When I updated RTMPexplorer with KSV rtmpsrv 2.4 it sniffed this stream. :D

Thank you mckv and great thanks to KSV and others for RTMPdump update. Keep on like that fellas. :D

StreamTransport and URL Snooper need an update. :D

karlo2105 09-20-2011 03:08 AM

Re: streami.tv - How to watch live with rtmpdump


 
Are you still able to dump streami.tv streams with rtmpsrv or rtmpsuck? It's not working anymore to me with this stream _http://magic-tv.co/?page_id=10.

Quote:

rtmpdump -v -r "rtmp://173.193.219.184:1936/streami/streamVIP-TV-qfhd" -W "http://streami.tv/fp/flowplayer.commercial-3.2.7.swf" -p "http://magic-tv.co/?page_id=10"
It cuts after 5 seconds.
I guess this SWF player is protected with token but SWF player access is forbidden. If I could decompile SWF player it could maybe work. Is there any solution to dump this stream with RTMPdump?

Thank you. ;)

mckv 09-21-2011 03:53 AM

Re: streami.tv - How to watch live with rtmpdump


 
works fine.
Code:

rtmpdump -v -r "rtmp://82.192.95.102:1936/streami/" \
-a "streami/" -f "LNX 11,0,1,129" \
-W "http://streami.tv/fp/flowplayer.commercial-3.2.7.swf?1573059707" \
-p "http://streami.tv/embed/e2.php?h=400&w=600&n=ZyrvYST5UgUxfsq64Za5Pjx56SRMppnB15MNNlIrkAYNZLsw8DF%2FmYx1vdAo%2Ftikak8i5NCDQ0Xx3cAzlevlMAHcRYM5Z9ObqEBAaFtjDUVZTF7xQqaxPf0PaoisIB2Wm8RyJsI%2BUMw%3D" \
-y "streamVIP-TV-zwns" | vlc -

Code:

INFO: Metadata:
INFO:  author               
INFO:  copyright           
INFO:  description         
INFO:  keywords             
INFO:  rating               
INFO:  title               
INFO:  presetname            Custom
INFO:  creationdate          Wed Sep 21 00:03:28 2011
INFO:  videodevice          AVerMedia Cx23888 Video Capture
INFO:  framerate            30.00
INFO:  width                640.00
INFO:  height                360.00
INFO:  videocodecid          avc1
INFO:  videodatarate        500.00
INFO:  avclevel              31.00
INFO:  avcprofile            66.00
INFO:  videokeyframe_frequency2.00
INFO:  audiodevice          Line In (Realtek High Definitio
INFO:  audiosamplerate      44100.00
INFO:  audiochannels        1.00
INFO:  audioinputvolume      90.00
INFO:  audiocodecid          .mp3
INFO:  audiodatarate        64.00


karlo2105 09-21-2011 04:28 AM

Re: streami.tv - How to watch live with rtmpdump


 
@mckv
What version of rtmpsuck do you use? I use thisone
RTMPDump v2.4 GIT-2011-07-22 (Compiled by KSV)
but it can't dump streami.tv. On Ubuntu I use this PPA and I am not able either to dump streami.tv.

mckv 09-22-2011 01:46 AM

Re: streami.tv - How to watch live with rtmpdump


 
using the latest git

jamba 09-24-2011 06:53 PM

Re: streami.tv - How to watch live with rtmpdump


 
Quote:

Originally Posted by mckv (Post 32701)
using the latest git

I try to watch from streami as well, I'm using RTMPdump 2.4 build 110812 which I think is the latest. but still nothing detected for both rtmpsrv and rtmpsuck :confused:
Code:

hxxp://www.vipbox.tv/watch/8721/2/real-cartagena---millonarios.html

MaxMustermann 10-09-2011 01:41 AM

Re: streami.tv - How to watch live with rtmpdump


 
It doesn't work for me too. This is how I call rtmpdump:

Code:


rtmpdump.exe -r "rtmp://origin.streami.tv:1936/streami/" \
 -a "streami/" -f "LNX 11,0,1,129" \
 --swfVfy "http://streami.tv/fp/flowplayer.commercial-3.2.7.swf?827837929" \
 -p "http://streami.tv/embed/e2.php?h=450&w=600&n=XdcmjYaSfmWp9qLnBtBXP3xvupqfc8KypnBPVOiwds%252Fgjm96ROaEK0%252BogTHpa2vWMZ5c9Ktgq6K%252BQguF8bAUKT28NU9rWJHJd76%252F1RnV93d257AFkvfiRTMC62tD07XDIhS2TyALH3AfLM4dJCk%252FV%252FysbrSc" \
 -y "streamHitsports5587-yyts" -z


and this is what I get:
http://pastebin.com/nL35YRcp

I hope you can help me.

nullacht 10-09-2011 06:29 AM

Streami.tv


 
Code:

http://streami.tv/files/fp/flowplayer.commercial-3.2.7.swf
You must compute size and hash manually!

Code:

--swfsize "243109"
Code:

--swfhash "18aa00047612fe5f7c39a6d15806889b21fe4f1e6faf404479bcfb09908caeba"
RTMPDump v2.4:

Code:

rtmpdump -r "rtmp://50.7.241.98:1936/streami/" -y "streamVIP-TV-trjs" -s "http://streami.tv/files/fp/flowplayer.commercial-3.2.7.swf" --swfsize "243109" --swfhash "18aa00047612fe5f7c39a6d15806889b21fe4f1e6faf404479bcfb09908caeba" -o streamVIP-TV-trjs.flv --live
Code:

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
Starting Live Stream
INFO: Metadata:
INFO:  author
INFO:  copyright
INFO:  description
INFO:  keywords
INFO:  rating
INFO:  title
INFO:  presetname            Custom
INFO:  creationdate          Sun Oct 09 04:42:56 2011
INFO:  videodevice          AVerMedia Cx23888 Video Capture
INFO:  framerate            30.00
INFO:  width                640.00
INFO:  height                360.00
INFO:  videocodecid          avc1
INFO:  videodatarate        500.00
INFO:  avclevel              31.00
INFO:  avcprofile            66.00
INFO:  videokeyframe_frequency2.00
INFO:  audiodevice          Line In (Realtek High Definitio
INFO:  audiosamplerate      44100.00
INFO:  audiochannels        1.00
INFO:  audioinputvolume      90.00
INFO:  audiocodecid          .mp3
INFO:  audiodatarate        64.00
3465.623 kB / 54.34 sec


MaxMustermann 10-09-2011 07:17 AM

Re: streami.tv - How to watch live with rtmpdump


 
Thank you again, nullacht. It works as expected. You are the man :)

karlo2105 10-09-2011 09:36 AM

Re: streami.tv - How to watch live with rtmpdump


 
It's working to me with -W parameter and I use KSV latest version.

nullacht 10-09-2011 12:18 PM

Re: streami.tv - How to watch live with rtmpdump


 
You can currently use both methods. But remember my post above, when they are hiding their .swf file again.

karlo2105 10-09-2011 12:23 PM

Re: streami.tv - How to watch live with rtmpdump


 
Quote:

Originally Posted by nullacht (Post 33300)
You can currently use both methods. But remember my post above, when they are hiding their .swf file again.

Yes thanks for it. I thought they used Secure Token but I checked their SWF player and there isn't any Token. ;-)

chap 10-10-2011 12:15 AM

Re: streami.tv - How to watch live with rtmpdump


 
nullacht
Quote:

You must compute size and hash manually!
how do you calculate this data?Thanks.

karlo2105 10-10-2011 02:37 AM

Re: streami.tv - How to watch live with rtmpdump


 
Quote:

Originally Posted by chap (Post 33305)
nullacht

how do you calculate this data?Thanks.

Quote:

Softwares required : curl, openssl, flasm
Command :
1. Download SWF player
curl -x "http://www.player.swf" -o "player.swf"

2. Decompress SWF player, it gives you SWFSize in bytes
flasm -x "player.swf"

3. Generate the hash, it gives you SWFHash
openssl sha -sha256 -hmac "Genuine Adobe Flash Player 001" "player.swf"
SWFSize is used in RTMPdump with -x parameter and SWFHash with -w parameter.:D

evol 10-10-2011 05:51 AM

Re: streami.tv - How to watch live with rtmpdump


 
Here ill make it easier for windows users download curl, openssl, flasm

Everything goes in your Windows Folder apart from crap(textfiles, weblinks etc...). Now open your CMD prompt and test there working correctly
Code:

curl --help
openssl --help
flasm --help


buksnatata 10-13-2011 01:17 AM

Re: streami.tv - How to watch live with rtmpdump


 
Hello everyone :D
Can someone make a little tutorial for windows users where to download RTMPdump 2.4 and what software we need for this thanks in advance

Stream Recorder 10-13-2011 02:05 AM

Re: streami.tv - How to watch live with rtmpdump


 
Quote:

Originally Posted by buksnatata (Post 33410)
Can someone make a little tutorial for windows users where to download RTMPdump 2.4 and what software we need for this thanks in advance

Just read the sticky threads.

RedPenguin 02-25-2012 03:47 PM

Re: streami.tv - How to watch live with rtmpdump


 
Anybody still having problems? I have tried the methods listed on this page and I can't even download the .swf to even look at it, because any attempt to download it is refused with a "403 - Forbidden". I tried Firefox, curl, & wget.

I have at least 3 stations I would enjoty recording once in a while.

My complete goal though is, to somehow get working urls so I can put said channels in my XBMC LiveStreams plugin.

karlo2105 02-27-2012 04:26 AM

Re: streami.tv - How to watch live with rtmpdump


 
Quote:

Originally Posted by RedPenguin (Post 41031)
Anybody still having problems? I have tried the methods listed on this page and I can't even download the .swf to even look at it, because any attempt to download it is refused with a "403 - Forbidden". I tried Firefox, curl, & wget.

I have at least 3 stations I would enjoty recording once in a while.

My complete goal though is, to somehow get working urls so I can put said channels in my XBMC LiveStreams plugin.

Give us URL you want to get working. ;)

mckv 03-17-2012 11:57 PM

Re: streami.tv - How to watch live with rtmpdump


 
Quote:

Originally Posted by karlo2105 (Post 33301)
Yes thanks for it. I thought they used Secure Token but I checked their SWF player and there isn't any Token. ;-)

looks like token to me

Code:

  trait slot QName(PrivateNamespace(null, "org.flowplayer.securestreaming:Config"), "_token") type QName(PackageNamespace(""), "String") value Utf8("VyPxYFDj4BvxtVv7") end
they are hiding it in http://streami.tv/files/fp/flowplaye...estreaming.swf


All times are GMT -6. The time now is 07:05 PM.