matrixxx
08-06-2011, 10:47 PM
Im having an issue with the following
http://lankajustin.com/link2/
When I grab that stream and combine the code :
rtmpdump --live -r "rtmp://173.192.81.189/streamhq/100358" -p "http://streamhq.tv/player.php?channel_id=100358&width=600&height=430" -W "http://streamhq.tv/player/player.swf" -o "video.flv"
it seems,they are using SecureToken method.
ask for help decipher KSV
Ed999
08-09-2011, 07:09 AM
They are also concealling the true http address of the SWF file, by hiding it behind a http 302 redirect.
RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) can't handle the necessary redirect, unlike a web browser, so it won't stream in RTMPDump but will in your browser.
nullacht
08-17-2011, 09:51 AM
http://lankajustin.com/link2/
They are using SecureToken protection. The key is stored in the .swf file.
("secureTokenResponse", null, TEA.decrypt(event.info.secureToken, "%Xr8e(nKa@#."));
RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) v2.4 command line:
rtmpdump -r "rtmp://173.192.81.189/streamhq/102569" -W "http://streamhq.tv/player/player.swf" -o 102569.flv --live -T "%Xr8e(nKa@#."
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
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 Mon Aug 15 12:17:35 2011
INFO: videodevice Gadmei TV Belle CaptureC
INFO: framerate 15.00
INFO: width 320.00
INFO: height 240.00
INFO: videocodecid avc1
INFO: videodatarate 200.00
INFO: avclevel 31.00
INFO: avcprofile 66.00
INFO: videokeyframe_frequency5.00
INFO: audiodevice Yamaha DS1x Native Audio
INFO: audiosamplerate 22050.00
INFO: audiochannels 1.00
INFO: audioinputvolume 75.00
INFO: audiocodecid .mp3
INFO: audiodatarate 32.00
3458.650 kB / 110.68 sec
matrixxx
08-17-2011, 02:46 PM
Thanks a lot nullacht !
MaxMustermann
09-14-2011, 07:18 AM
This approach doesn't work for me anymore. Did they change something? Does it still work for you?
Use rtmpsusk
RTMP Proxy Server v2.4 GIT-2011-07-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL
Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app : redirect
flashVer : WIN 10,3,183,7
swfUrl : http://hdcaster.net/player.swf
ERROR: RTMP_HashSWF: couldn't contact swfurl http://hdcaster.net/player.swf (HTT
P error 302)
tcUrl : rtmp://188.138.121.99/redirect
pageUrl : http://hdcaster.net/player.php?channel_id=101324&width=600&height=4
30
ERROR: WriteN, RTMP send error 10038 (16 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!
WARNING: Trying different position for client digest!
Processing connect
app : hdcaster
flashVer : WIN 10,3,183,7
swfUrl : http://hdcaster.net/player.swf
ERROR: RTMP_HashSWF: couldn't contact swfurl http://hdcaster.net/player.swf (HTT
P error 302)
tcUrl : rtmp://184.173.77.32/hdcaster
pageUrl : http://hdcaster.net/player.php?channel_id=101324&width=600&height=4
30
live : no
Playpath : 101324
Saving as : 101324
INFO: Metadata:
INFO: author
INFO: copyright
INFO: description
INFO: keywords
INFO: rating
INFO: title
INFO: presetname Custom
INFO: creationdate Tue Sep 13 10:57:56 2011
INFO: videodevice Gadmei TV Belle CaptureC
INFO: framerate 15.00
INFO: width 320.00
INFO: height 240.00
INFO: videocodecid avc1
INFO: videodatarate 200.00
INFO: avclevel 31.00
INFO: avcprofile 66.00
INFO: videokeyframe_frequency5.00
INFO: audiodevice Yamaha DS1x Native Audio
INFO: audiosamplerate 22050.00
INFO: audiochannels 1.00
INFO: audioinputvolume 75.00
INFO: audiocodecid .mp3
INFO: audiodatarate 32.00
WARNING: ignoring too small audio packet: size: 0
MaxMustermann
09-14-2011, 10:12 AM
I did use rtmpsuck, but it stopped after a few seconds. You have some errors in your posted output, too. Does it work for you nevertheless?
Does it work for you nevertheless?
Yes General
Complete name : C:\Documents and Settings\Администратор\Мои документы\STREAM\rtmpdump-2.3-windows\rtmpdump-2.3\rtmpexplorer\101324
Format : Flash Video
File size : 5.66 MiB
Duration : 2mn 8s
Overall bit rate : 370 Kbps
_presetname : Custom
_creationdate : Tue Sep 13 10:57:56 2011
_videodevice : Gadmei TV Belle CaptureC
_framerate : 15.000
_width : 320.000
_height : 240.000
_videocodecid : avc1
_videodatarate : 200.000
_avclevel : 31.000
_avcprofile : 66.000
_videokeyframe_frequency : 5.000
_audiodevice : Yamaha DS1x Native Audio
_audiosamplerate : 22050.000
_audiochannels : 1.000
_audioinputvolume : 75.000
_audiocodecid : .mp3
_audiodatarate : 32.000
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : 7
Duration : 2mn 8s
Bit rate mode : Constant
Bit rate : 314 Kbps
Nominal bit rate : 200 Kbps
Width : 320 pixels
Height : 240 pixels
Display aspect ratio : 4:3
Frame rate mode : Variable
Frame rate : 15.000 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.273
Stream size : 4.81 MiB (85%)
Audio
Format : MPEG Audio
Format version : Version 2
Format profile : Layer 3
Codec ID : 2
Codec ID/Hint : MP3
Duration : 2mn 8s
Bit rate mode : Constant
Bit rate : 32.0 Kbps
Channel(s) : 1 channel
Sampling rate : 22.05 KHz
Compression mode : Lossy
Stream size : 502 KiB (9%)
MaxMustermann
09-16-2011, 11:06 AM
Ok, it's working with rtmpsuck. But I try to play the stream in XBMC and it stops after a second. This is how I use it with XBMC:
rtmp://50.23.65.25/hdcaster playpath=101634 swfUrl=http://hdcaster.net/player.swf pageUrl=http://hdcaster.net/player.php?channel_id=101634&width=600&height=430
nullacht
09-16-2011, 11:20 AM
Did they change something?
rtmpdump -r "rtmp://50.23.65.25/hdcaster/101324" -W "http://hdcaster.net/player.swf" -o 101324.flv --live -T "%Xr8e(nKa@#."
MaxMustermann
09-16-2011, 11:37 AM
That's it, I forgot the token. Thank you :)
MaxMustermann
09-16-2011, 12:54 PM
Another question. How did you get the token out of the swf? Wiicast seems to use one too. Is there a pattern I have to search for?
rtmp://live.wii-cast.tv/pub playpath=dfg5yrhhhh swfUrl=http://www.wii-cast.tv/player/wiicast.swf pageUrl=http://www.wii-cast.tv/embed.php?channel=dfg5yrhhhh&vw=610&vh=360&domain=www.wii-cast.tv live=true
matrixxx
09-16-2011, 05:53 PM
You may use a SWF Decompiler to find the token.
nullacht
09-17-2011, 02:33 AM
http://www.wii-cast.tv/player/player_secure.swf
("secureTokenResponse", null, TEA.decrypt(evt.info.secureToken, "#ed%h0#w@1"));
rtmpdump -r "rtmp://174.37.61.85/pub/dfg5yrhhhh" -W "http://www.wii-cast.tv/player/player_secure.swf" -p "http://www.wii-cast.tv/embed.php?channel=dfg5yrhhhh" -o dfg5yrhhhh.flv --live -T "#ed%h0#w@1"
MaxMustermann
09-17-2011, 04:53 AM
Thank you very much :) You're great. I couldn't get the token from swf source. It's encoded in base64 and after decoding it, I had lots of python unicode trouble. It took me hours to get some readable text, but I couldn't detect the token.
MaxMustermann
09-17-2011, 10:45 AM
The token is wrong for this link:
rtmp://173.192.81.189/streamhq/108258 live=true swfUrl=http://streamhq.tv/player/player.swf pageUrl=http://streamhq.tv/player.php?channel_id=108258&width=700&height=480 token=%Xr8e(nKa@#.
Can you please help me again, nullacht?
MaxMustermann, i'm not seeing any token in there.
you can also use RABCDAsm to decompile the swf https://github.com/CyberShadow/RABCDAsm/downloads
(using powershell)
.\abcexport.exe .\player.swf
.\rabcdasm.exe .\player-0.abc
cd .\player-0
dir -recurse | select-string -pattern "secureTokenResponse"
then check the files it finds
MaxMustermann
09-18-2011, 06:57 AM
Strange, I can download with rtmpsuck, but xbmc stops the stream after a few seconds.
This is how I open the stream with xbmc:
rtmp://173.192.81.189/streamhq/108512 live=true swfUrl=http://streamhq.tv/player/player.swf pageUrl=http://streamhq.tv/player.php?channel_id=108512&width=620&height=360
1. 14:54:30 T:1300 ERROR: RTMP_HashSWF: couldn't contact swfurl http://streamhq.tv/player/player.swf (HTTP error 302)
2. starts playing
3. 14:54:41 T:1300 ERROR: RTMP_ReadPacket, failed to read RTMP packet header
4. suddenly stops
karlo2105
09-19-2011, 09:01 AM
You may use a SWF Decompiler to find the token.
OK I get it how to obtain SWF Token with online SWF decompiler. You download source once you already decompiled SWF player and you look for "securetoken" in text file. It's like this "#ed%h0#w@1".
Online SWF Decompiler to get token (http://www.showmycode.com/)
karlo2105
09-24-2011, 06:29 PM
They are also concealling the true http address of the SWF file, by hiding it behind a http 302 redirect.
RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) can't handle the necessary redirect, unlike a web browser, so it won't stream in RTMPDump but will in your browser.
How do you find secure token when SWF player is redirected to blank page?
any ANONYMOUS forum user
09-25-2011, 12:24 PM
How do you find secure token when SWF player is redirected to blank page?
Get an SWF file from the cache of your web-browser.
karlo2105
09-26-2011, 03:49 AM
Get an SWF file from the cache of your web-browser.
Could you be more accurate?
When I look for this "http://streamhq.tv/player/player.swf" in Google, it doesn't display streamhq page so I can't find in Google cache.
any ANONYMOUS forum user
09-26-2011, 12:30 PM
Could you be more accurate?
When I look for this "http://streamhq.tv/player/player.swf" in Google, it doesn't display streamhq page so I can't find in Google cache.
What is Google cache? Google Chrome cache? Try Opera cache then.
p.s.
If by Google cache you mean the cache of the Google search engine, then you're looking into wrong direction.
karlo2105
09-26-2011, 02:25 PM
What is Google cache? Google Chrome cache? Try Opera cache then.
p.s.
If by Google cache you mean the cache of the Google search engine, then you're looking into wrong direction.
OK I use Firefox for browsing. I looked for cache there is a folder in Mozilla/Firefox/Cache. I located it.
.mozilla/firefox/029xny9x.default/Cache/1/E5/A2ACBd01
key: http://streamhq.tv/player/player.swf
fetch count: 8
last fetched: 2011-09-26 22:36:39
last modified: 2011-09-26 22:30:57
expires: 1970-01-01 01:00:00
Data size: 0
Security: This document does not have any security info associated with it.
Client: HTTP
necko:classified: 1
request-method: GET
response-head: HTTP/1.1 302 Found Date: Mon, 26 Sep 2011 20:30:56 GMT Server: Apache Location: http://streamhq.tv Content-Length: 202 Content-Type: text/html; charset=iso-8859-1
But hXXp://streamhq.tv/player/player.swf doesn't exist in cache I checked.
any ANONYMOUS forum user
09-26-2011, 03:34 PM
.mozilla/firefox/029xny9x.default/Cache/1/E5/A2ACBd01
key: http://streamhq.tv/player/player.swf
fetch count: 8
last fetched: 2011-09-26 22:36:39
last modified: 2011-09-26 22:30:57
expires: 1970-01-01 01:00:00
Data size: 0
Security: This document does not have any security info associated with it.
Client: HTTP
necko:classified: 1
request-method: GET
response-head: HTTP/1.1 302 Found Date: Mon, 26 Sep 2011 20:30:56 GMT Server: Apache Location: http://streamhq.tv Content-Length: 202 Content-Type: text/html; charset=iso-8859-1
Try to grab it from the cache of Opera.
Or try to modify the expiration date using the Modify Headers extension for Firefox.
snypercopyright
04-02-2014, 02:12 PM
Guys, precisod and helps to force the download of this site, alphaconcursos.
I tried to use URL Snooper to identify, but could not.
Manulmente created the link:
rtmpdump -r "rtmps://51a31bcacc912.streamlock.net/alfaconcursos2s" -W "http://www.alfaconcursos.com.br/imagens/player/player_alfacon.swf" -o demo_pj_lin_por.mp4 --live -T "5bead039555e3046e491864eaa333914"
ERROR:
rtmpdump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: You must specify the playpath (- playpath) or url (-r "rtmp :/ / host [: port] / playpath") containing the playpath
Can anyone help me find the correct row to download?
<script type="text/javascript">
$(document).ready(function(){
var srv_at_AlfaCon_94=1;
function cp_AlfaCon_94(tl,pl,tc,srv,v1,v2,v3,ms)
{
jwplayer('AlfaCon_94').setup(
{
flashplayer:'http://www.alfaconcursos.com.br/imagens/player/'+pl,
skin:'http://www.alfaconcursos.com.br/imagens/player/modieus.swf',
width:'430',height:'250',
allowfullscreen:true,
allowscriptaccess:true,
wmode:'transparent',
stretching:'exactfit',
autostart:false,
controlbar:'over',
bufferlength:'30',
'playlist':
[{
'provider':tc,
'streamer':srv,
'image':'http://www.alfaconcursos.com.br/repositorio/imagens/cursos/94-video_grande.jpg',
'levels':
[{
'bitrate':110,
'width':640,
'file':v3,
'title':'VideoAula Demonstrativa'
}]
}],
'plugins':{},
events:{onMeta:function(){
if(registrar_log)
{
registra_log();
}
},
onError:function(){
if(srv_at_AlfaCon_94==3)
{
ps=1;
}else
{
ps=srv_at_AlfaCon_94+1;
}
pps_AlfaCon_94(ps,1);
}
}
});
}
function pps_AlfaCon_94(codigo,play)
{
switch(codigo)
{
// "C:\rtmpdump\rtmpdump.exe" -r "rtmps://51a31bcacc912.streamlock.net/alfaconcursos2s" -W "http://www.alfaconcursos.com.br/imagens/player/player_alfacon.swf" -o demo_pj_lin_por.mp4 --live -T "5bead039555e3046e491864eaa333914"
case 1:srv_at_AlfaCon_94=1;
jwplayer('AlfaCon_94').remove();
cp_AlfaCon_94('Servidor 1 (BR)',
'player_alfacon.swf',
'rtmp',
'rtmps://51a31bcacc912.streamlock.net/alfaconcursos2s',
'aula/aulas_demo/demo_pj_lin_por.mp4',
'100/aulas_demo/demo_pj_lin_por.mp4',
'200/aulas_demo/demo_pj_lin_por.mp4',
'http://51a31bcacc912.streamlock.net:1935/alfaconcursos2s/_definst_/mp4:200/aulas_demo/demo_pj_lin_por.mp4/playlist.m3u8');
if(play==1)
{
jwplayer('AlfaCon_94').play();
}
break;
case 2:srv_at_AlfaCon_94=2;
jwplayer('AlfaCon_94').remove();
cp_AlfaCon_94('Servidor 2 (FL)',
'player_alfacon.swf',
'rtmp',
'rtmps://51b73eba923b9.streamlock.net/alfaconcursos2s',
'aula/aulas_demo/demo_pj_lin_por.mp4',
'100/aulas_demo/demo_pj_lin_por.mp4',
'200/aulas_demo/demo_pj_lin_por.mp4',
'http://51b73eba923b9.streamlock.net:1935/alfaconcursos2s/_definst_/mp4:200/aulas_demo/demo_pj_lin_por.mp4/playlist.m3u8');
if(play==1){
jwplayer('AlfaCon_94').play();
}
break;
case 3:srv_at_AlfaCon_94=3;
jwplayer('AlfaCon_94').remove();
cp_AlfaCon_94('Servidor 3 (MI)',
'player_alfacon.swf',
'rtmp',
'rtmps://51a59b8396b9d.streamlock.net/alfaconcursos2s',
'aula/aulas_demo/demo_pj_lin_por.mp4',
'100/aulas_demo/demo_pj_lin_por.mp4',
'200/aulas_demo/demo_pj_lin_por.mp4',
'http://51a59b8396b9d.streamlock.net:1935/alfaconcursos2s/_definst_/mp4:200/aulas_demo/demo_pj_lin_por.mp4/playlist.m3u8');
if(play==1){
jwplayer('AlfaCon_94').play();
}
break;
}
}
$('#fm_AlfaCon_94').bind("click",function(){
$('#MSG_AlfaCon_94').hide('fast','linear');
});
$('#rp_AlfaCon_94').bind("click",function(){
jwplayer('AlfaCon_94').remove();
});
$('#opcoes_AlfaCon_94').bind("click",function(){
$('#botoes_serv_AlfaCon_94').fadeToggle('fast','li near');
});
$('#rl_AlfaCon_94').bind("click",function(){
jwplayer('AlfaCon_94').remove();
pps_AlfaCon_94(srv_at_AlfaCon_94,1);
});
$('#s1_AlfaCon_94').bind("click",function(){
pps_AlfaCon_94(1,1);
});
$('#s2_AlfaCon_94').bind("click",function(){
pps_AlfaCon_94(2,1);
});
$('#s3_AlfaCon_94').bind("click",function(){
pps_AlfaCon_94(3,1);
});
pps_AlfaCon_94(srv_at_AlfaCon_94,0);
});
</script>
snypercopyright
04-02-2014, 02:47 PM
I can not make donwload the video:
would like to help me?
I want to buy access, but are limited to 5 times of access, and would like to download them for study.
rtmpdump -r "rtmps://51a31bcacc912.streamlock.net:1935/alfaconcursos2s" -a "ondemand" -W "http://www.alfaconcursos.com.br/imagens/player/player_alfacon.swf" -y "mp4:200/aulas_demo/demo_pj_lin_por.mp4" -o demo_pj_lin_por.mp4 --live -T "5bead039555e3046e491864eaa333914"
ERROR:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused)
Font:
case 1:srv_at_AlfaCon_94=1;
jwplayer('AlfaCon_94').remove();
cp_AlfaCon_94('Servidor 1 (BR)',
'player_alfacon.swf',
'rtmp',
'rtmps://51a31bcacc912.streamlock.net/alfaconcursos2s',
'aula/aulas_demo/demo_pj_lin_por.mp4',
'100/aulas_demo/demo_pj_lin_por.mp4',
'200/aulas_demo/demo_pj_lin_por.mp4',
'http://51a31bcacc912.streamlock.net:1935/alfaconcursos2s/_definst_/mp4:200/aulas_demo/demo_pj_lin_por.mp4/playlist.m3u8');
if(play==1)...
hasomaso
04-02-2014, 02:59 PM
post original stream or video link
snypercopyright
04-03-2014, 06:08 AM
I'm using Ubuntu already installed rtmpdump, but still of the ERROR:
pc:~$ rtmpdump -r "rtmps://51a31bcacc912.streamlock.net:1935/alfaconcursos2s" -a "alfaconcursos2s" -W "http://www.alfaconcursos.com.br/imagens/player/player_alfacon.swf" -y "mp4:200/aulas_demo/demo_pj_lin_por.mp4" -o demo_pj_lin_por.mp4 --live -T "5bead039555e3046e491864eaa333914"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused)
Thanks for helping!
snypercopyright
04-03-2014, 08:10 AM
http://www.alfaconcursos.com.br/cursos/detalhe/94/agente_de_policia_federal_pf.html
know what can be?
Version?
Firewall port?
Already have disabled everything, and have downloaded the latest version, their is more current, has the. Exe to pass me?
Error: rtmp server sent error
Error: rtmp server resquested close
http://allandesign.com.br/rtmpdump/print-2.png
hasomaso
04-03-2014, 09:13 AM
works fine
rtmpdump -r "rtmps://51a31bcacc912.streamlock.net/alfaconcursos2s" -a "alfaconcursos2s" -W "http://www.alfaconcursos.com.br/imagens/player/player_alfacon.swf" -y "mp4:200/aulas_demo/demo_pj_lin_por.mp4" -T "5bead039555e3046e491864eaa333914" -o "output.flv"
snypercopyright
04-03-2014, 09:20 AM
Thanks for the help!
Works on Ubuntu, but not on Win7.
http://allandesign.com.br/rtmpdump/print-2.png
Of the error shown above, have any tips?
snypercopyright
04-03-2014, 09:26 AM
It worked in Ubuntu, thank you for strength! LESOR and hasomaso!
Only the win7 not = /
Know what can be?
hasomaso
04-03-2014, 09:30 AM
you use the latest rtmpdump release from KSV?
snypercopyright
04-03-2014, 11:11 AM
The version I'm using for Win7 is this:
Latest version:
2.4 122213 (December 22, 2013)
http://www.videohelp.com/tools/RTMPDump
It worked, I wrote the wrong command!
Thanks for the help guys, I'll buy the course now and try to download!
Any questions I post here!
hasomaso
04-03-2014, 12:29 PM
HERE (https://github.com/K-S-V/Scripts/releases) is the right release from KSV
snypercopyright
04-16-2014, 07:15 AM
Have downloaded the videos!
Thanks, now you know a nice program for ubuntu que convert mp4 to mp3?
Installed pacpl (Perl Audio Converter - 4.0.5
) ..
When I give the command: pacpl - to mp3 -v -r name.mp4
https://www.youtube.com/watch?v=GybGKPelvYo
But the error:
/ Home/user/name.mp4 file info:
RAW
Error: Channel coupling not yet Implemented
INFILE: / home/user/name.mp4.mp4.
Could not find "/ home/user/name.27876.wav".
The Following encoding failed with error: 256
Total files converted: 0, failed: 1
snypercopyright
04-16-2014, 07:37 AM
I got it!
I used FFMEPG
https://www.youtube.com/watch?v=B9-7IWgG5F4
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.