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 > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 04-02-2013, 06:31 PM
thefallenghost thefallenghost is offline
Junior Member
 
Join Date: Apr 2013
Posts: 16
thefallenghost is on a distinguished road
Default

rtmpdump for Justin.tv ?


Hello,
I'm relatively new to rtmpdump, and I'm trying to use it manually on Justin.tv, but have not been able to as of yet.
I downloaded RTMPDumphelper and it works well on Justin.tv. So I tried to copy the parameters from the rtmpsuck window and use them with rtmpdump manually, but I get "server error".
Also, it's strange that, when I use Wireshark to get the parameters, I get all differents parameters than the rtmpsuck sindow.
I also found an application named jtv-downloader which can use rtmpdump to download streams from Justin.tv. An interesting thing is the usher token is always the same for this program for a specific stream quality, whereas the rtmpsuck (with rtmpdump helper) has a different one each time I load the stream.

Also I'm not really sure what the difference between -s and -w is as both of the aforementioned programs only provide one link for a swf player.

Many thanks!!

edit: when I try to paste the commands from the box in the Params tab of jtv-downloader I get "ERROR: Closing connection: NetStream.Play.StreamNotFound".

Last edited by thefallenghost : 04-02-2013 at 07:18 PM.
Reply With Quote
  #2  
Old 04-03-2013, 04:59 PM
freez freez is offline
Senior Member
 
Join Date: Feb 2013
Posts: 105
freez is on a distinguished road
Default

Re: rtmpdump for Justin.tv ?


it keep changin 3 things always each ?? min " token , playpath &rtmp ip" so u will need an update for these so u can able to watch , it is headache
Reply With Quote
  #3  
Old 04-03-2013, 05:17 PM
gorilla.maguila gorilla.maguila is offline
Member
 
Join Date: Dec 2012
Posts: 62
gorilla.maguila is on a distinguished road
Default

Re: rtmpdump for Justin.tv ?


After 30 seconds rtmpdump stalls with this output:

Code:
DEBUG2:   0000:  03 00 00 00 00 00 74 14  00 00 00 00               ......t.....      
DEBUG2:   0000:  02 00 08 6f 6e 53 74 61  74 75 73 00 00 00 00 00   ...onStatus.....  
DEBUG2:   0010:  00 00 00 00 05 03 00 05  6c 65 76 65 6c 02 00 05   ........level...  
DEBUG2:   0020:  65 72 72 6f 72 00 04 63  6f 64 65 02 00 1b 4e 65   error..code...Ne  
DEBUG2:   0030:  74 53 74 72 65 61 6d 2e  56 69 65 77 65 72 43 6f   tStream.ViewerCo  
DEBUG2:   0040:  75 6e 74 2e 54 6f 74 61  6c 00 0b 64 65 73 63 72   unt.Total..descr  
DEBUG2:   0050:  69 70 74 69 6f 6e 02 00  05 38 39 35 34 34 00 08   iption...89544..  
DEBUG2:   0060:  63 6c 69 65 6e 74 69 64  00 41 c7 f0 0d df 00 00   clientid.A......  
DEBUG2:   0070:  00 00 00 09                                        ....              
DEBUG: RTMP_ClientPacket, received: invoke 116 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING: onStatus>
DEBUG: Property: <Name:            no-name, NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:            no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING: error>
DEBUG: Property: <Name:               code, STRING: NetStream.ViewerCount.Total>
DEBUG: Property: <Name:        description, STRING: 89544>
DEBUG: Property: <Name:           clientid, NUMBER: 803216318.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.ViewerCount.Total
DEBUG2: RTMP_ReadPacket: fd=3
DEBUG2:   0000:  03 00 00 00 00 00 74 14  00 00 00 00               ......t.....      
DEBUG2:   0000:  02 00 08 6f 6e 53 74 61  74 75 73 00 00 00 00 00   ...onStatus.....  
DEBUG2:   0010:  00 00 00 00 05 03 00 05  6c 65 76 65 6c 02 00 05   ........level...  
DEBUG2:   0020:  65 72 72 6f 72 00 04 63  6f 64 65 02 00 1b 4e 65   error..code...Ne  
DEBUG2:   0030:  74 53 74 72 65 61 6d 2e  56 69 65 77 65 72 43 6f   tStream.ViewerCo  
DEBUG2:   0040:  75 6e 74 2e 54 6f 74 61  6c 00 0b 64 65 73 63 72   unt.Total..descr  
DEBUG2:   0050:  69 70 74 69 6f 6e 02 00  05 38 33 33 37 38 00 08   iption...83378..  
DEBUG2:   0060:  63 6c 69 65 6e 74 69 64  00 41 c7 f0 0d df 00 00   clientid.A......  
DEBUG2:   0070:  00 00 00 09                                        ....              
DEBUG: RTMP_ClientPacket, received: invoke 116 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING: onStatus>
DEBUG: Property: <Name:            no-name, NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:            no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING: error>
DEBUG: Property: <Name:               code, STRING: NetStream.ViewerCount.Total>
DEBUG: Property: <Name:        description, STRING: 83378>
DEBUG: Property: <Name:           clientid, NUMBER: 803216318.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.ViewerCount.Total
DEBUG2: RTMP_ReadPacket: fd=3
DEBUG2:   0000:  02 00 00 00 00 00 06 04  00 00 00 00               ............      
DEBUG2:   0000:  00 06 00 01 2d 15                                  ....-.            
DEBUG: HandleCtrl, received ctrl, type: 6, len: 6
DEBUG: HandleCtrl, Ping 77077
DEBUG: sending ctrl, type: 0x0007
DEBUG2: RTMP_SendPacket: fd=3, size=6
DEBUG2:   0000:  42 00 00 00 00 00 06 04                            B.......          
DEBUG2:   0000:  00 07 00 01 2d 1
I think a patch is required, Maybe @KSV can help

Last edited by gorilla.maguila : 04-03-2013 at 06:23 PM.
Reply With Quote
  #4  
Old 04-04-2013, 03:54 AM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Re: rtmpdump for Justin.tv ?


It's working fine to me. I got stream info with rtmpdumphelper.

Code:
rtmpdump -r "rtmp://199.9.255.172/app" -a "app" -f "WIN 11,6,602,180" -W "http://www-cdn.jtvnw.net/widgets/live_site_player.r37889147b85993632c055354534158a802e30b80.swf" -p "http://www.justin.tv/twit#/w/5272587344/73" -j "090d713c5cb4785c8c25abf597592d727e9e08f9:{\"swfDomains\": [\"justin.tv\", \"jtvx.com\", \"xarth.com\", \"twitchtv.com\", \"twitch.tv\", \"newjtv.com\", \"jtvnw.net\", \"wdtinc.com\", \"imapweather.com\", \"facebook.com\", \"starcrafting.com\"], \"streamName\": \"jtv_r01_Eta3RPwfDCMO\", \"expiration\": 1365069162.823472, \"server\": \"video8-1.ams01\"}" -y "jtv_r01_Eta3RPwfDCMO" | vlc -

RTMPDump v2.4 GIT-2012-12-30 (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
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration                0.00
INFO:   width                   638.00
INFO:   height                  360.00
INFO:   videodatarate           500.00
INFO:   framerate               30.00
INFO:   videocodecid            7.00
INFO:   audiodatarate           92.77
INFO:   audiosamplerate         44100.00
INFO:   audiosamplesize         16.00
INFO:   stereo                  TRUE
INFO:   audiocodecid            10.00
INFO:   videokeyframe_frequency 1
INFO:   audiochannels           2
INFO:   audiodevice             Elemental Technologies Live
INFO:   videodevice             Elemental Technologies Live
INFO:   encoder                 Lavf54.59.106
INFO:   filesize                0.00
4685.763 kB / 62.82 sec
ERROR: Download: Failed writing, exiting!
Reply With Quote
  #5  
Old 04-04-2013, 04:04 AM
gorilla.maguila gorilla.maguila is offline
Member
 
Join Date: Dec 2012
Posts: 62
gorilla.maguila is on a distinguished road
Default

Re: rtmpdump for Justin.tv ?


Quote:
Originally Posted by karlo2105 View Post
It's working fine to me. I got stream info with rtmpdumphelper.

My mystake, I'm in one of those countries that justin.tv restricts bandwith at peak hours, so after 30 seconds rtmpdump stalls.

I wonder if is threre anyway to circumvent this without using a proxy. It looks like the server is waiting for a message from rtmpdump...
Reply With Quote
  #6  
Old 04-04-2013, 04:33 AM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Re: rtmpdump for Justin.tv ?


Try with that proxies.

Last edited by Stream Ripper : 04-05-2013 at 12:54 AM.
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 11:01 AM.


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