Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 08-06-2011, 11:47 PM
matrixxx matrixxx is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
matrixxx is on a distinguished road
Default

streamhq.tv - How to download rtmp:// stream with rtmpdump


Im having an issue with the following

Code:
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"
Reply With Quote
  #2  
Old 08-08-2011, 12:57 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


it seems,they are using SecureToken method.
ask for help decipher KSV
Reply With Quote
  #3  
Old 08-09-2011, 08:09 AM
Ed999 Ed999 is offline
Senior Member
 
Join Date: Feb 2009
Posts: 115
Ed999 is on a distinguished road
Default

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


They are also concealling the true http address of the SWF file, by hiding it behind a http 302 redirect.

RTMPdump can't handle the necessary redirect, unlike a web browser, so it won't stream in RTMPDump but will in your browser.
Reply With Quote
  #4  
Old 08-17-2011, 10:51 AM
nullacht nullacht is offline
Senior Member
 
Join Date: Jan 2010
Posts: 230
nullacht will become famous soon enoughnullacht will become famous soon enough
Cool

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


Quote:
Originally Posted by matrixxx View Post

Code:
http://lankajustin.com/link2/
They are using SecureToken protection. The key is stored in the .swf file.

Code:
("secureTokenResponse", null, TEA.decrypt(event.info.secureToken, "%Xr8e(nKa@#."));
RTMPdump v2.4 command line:

Code:
rtmpdump -r "rtmp://173.192.81.189/streamhq/102569" -W "http://streamhq.tv/player/player.swf" -o 102569.flv --live -T "%Xr8e(nKa@#."
Code:
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
Reply With Quote
  #5  
Old 08-17-2011, 03:46 PM
matrixxx matrixxx is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
matrixxx is on a distinguished road
Default

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


Thanks a lot nullacht !
Reply With Quote
  #6  
Old 09-14-2011, 08:18 AM
MaxMustermann MaxMustermann is offline
Junior Member
 
Join Date: Sep 2011
Posts: 11
MaxMustermann is on a distinguished road
Default

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


This approach doesn't work for me anymore. Did they change something? Does it still work for you?
Reply With Quote
  #7  
Old 09-14-2011, 11:04 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


Use rtmpsusk

Code:
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
Reply With Quote
  #8  
Old 09-14-2011, 11:12 AM
MaxMustermann MaxMustermann is offline
Junior Member
 
Join Date: Sep 2011
Posts: 11
MaxMustermann is on a distinguished road
Default

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


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?
Reply With Quote
  #9  
Old 09-14-2011, 12:11 PM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


Quote:
Originally Posted by MaxMustermann View Post
Does it work for you nevertheless?
Yes
Code:
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%)
Reply With Quote
  #10  
Old 09-16-2011, 12:06 PM
MaxMustermann MaxMustermann is offline
Junior Member
 
Join Date: Sep 2011
Posts: 11
MaxMustermann is on a distinguished road
Default

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


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:
Code:
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
Reply With Quote
Reply Post New Thread
Tags: , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 04:37 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons