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
  #11  
Old 07-22-2011, 07:05 AM
reumb reumb is offline
Junior Member
 
Join Date: Jul 2011
Posts: 13
reumb is on a distinguished road
Default

Re: [rtmpdump] The Justin.tv problem


Ksv guru finds solution to all

did you mean change " to \ in here.

Code:
  while ((opt =
	  getopt_long(argc, argv,
		      "hVveqzr:s:t:p:a:b:f:o:u:C:n:c:l:y:Ym:k:d:A:B:T:w:x:W:X:S:#j:",
		      longopts, NULL)) != -1)
    {

windows users who want to compile i recommend svnpenns excellent guide

http://svnpenn.blogspot.com/2011/06/mingw-and-msys.html

before you use mingw you must set path (or do you?) http://www.mingw.org/wiki/Getting_Started
read carefully : Graphical User Interface Installer and Environment Settings
example of inserted path C:\MinGW\bin;C:\MinGW\msys\1.0\bin; before the oldtext in the box

http://svnpenn.blogspot.com/2011/06/rtmpdump-mingw.html


this way it only took half a day to understand and to compile a working rtmpdump
Reply With Quote
  #12  
Old 07-22-2011, 07:32 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: [rtmpdump] The Justin.tv problem


Quote:
Originally Posted by reumb View Post
did you mean change " to \ in here.
no, you need to change it when you pass the token on windows command line.

Code:
rtmpdump.exe 
-r "rtmp://199.9.255.137/app/jtv_XFt96w52uPeVHPeM" 
-j "a97875b2579fcae4964157cb4cca8696dc5baa2e:{\"swfDomains\": [\"justin.tv\", \"jtvx.com\", \"xarth.com\", \"twitchtv.com\", \"twitch.tv\", \"wdtinc.com\", \"imapweather.com\", \"facebook.com\", \"starcrafting.com\"], \"streamName\": \"jtv_XFt96w52uPeVHPeM\", \"expiration\": 1311335368.6078761, \"server\": \"lhr01-video5-1\"}" 
-W "http://www-cdn.justin.tv/widgets/live_frontpage_player.r894a72efd2e4c274a47075a851f98064bc143954.swf" 
-o Test.flv
Reply With Quote
  #13  
Old 07-22-2011, 10:47 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Problem downloading from Justin.tv with rtmpdump


Quote:
Originally Posted by KSV View Post
Changelog:
Code:
Added support for UsherToken Authentication used by justin.tv (thanx to Antoine)
Code:
http://www.mediafire.com/file/w8a69d8id4padac/rtmpdump-2.4.zip
Thanks.but for some reason does not work
Code:
RTMP Server v2.4 GIT-2011-07-21 (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!

rtmpdump -r "rtmp://199.9.255.142/app" -a "app" -f "WIN 10,3,181,16" -W "http://
www-cdn.justin.tv/widgets/live_frontpage_player.r894a72efd2e4c274a47075a851f9806
4bc143954.swf" -p "http://ru.justin.tv/" -y "jtv_aN3Zuj9i_kuCWHyG" -o jtv_aN3Zuj
9i_kuCWHyG.flv

Closing connection... done!

RTMPDump v2.4 GIT-2011-07-21 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed
WARNING: Trying different position for client digest!
Duplicate request, skipping.
Closing connection... done!

Last edited by chap : 07-22-2011 at 11:28 AM.
Reply With Quote
  #14  
Old 07-22-2011, 11:39 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Problem downloading from Justin.tv with rtmpdump


you are not supplying the token. you have to use -j or --jtv switch to provide the token. currently there is no support in rtmpsrv or rtmpsuck to automatically detect the token. however i am thinking to implement it in next few days.
Reply With Quote
  #15  
Old 07-22-2011, 12:18 PM
toine512 toine512 is offline
Member
 
Join Date: Jul 2011
Posts: 34
toine512 is on a distinguished road
Default

Re: [rtmpdump] The Justin.tv problem


I tried with Powershell and not cmd : the backslash works in cmd but not in Powershell, the escaping character for Powershell is a mystery ...

Last edited by toine512 : 07-22-2011 at 12:19 PM. Reason: stupid "c" key !
Reply With Quote
  #16  
Old 07-22-2011, 01:01 PM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: Problem downloading from Justin.tv with rtmpdump


Quote:
Originally Posted by KSV View Post
you are not supplying the token. you have to use -j or --jtv switch to provide the token. currently there is no support in rtmpsrv or rtmpsuck to automatically detect the token. however i am thinking to implement it in next few days.
yes,works(thanks for the help and explanations)
Code:
C:\Documents and Settings\Администратор\Мои документы\STREAM\rtmpdump-2.3-window
s\rtmpdump-2.3\rtmpexplorer\rtmpdump-2.4>rtmpdump -r "rtmp://199.9.255.138/app/j
tv_n8ByWNUQRhHSH0uB" -j "b314cedb3281d467b619cf1ae319e8ac4fe753ff:{\"swfDomains\
": [\"justin.tv\", \"jtvx.com\", \"xarth.com\", \"twitchtv.com\", \"twitch.tv\",
 \"wdtinc.com\", \"imapweather.com\", \"facebook.com\", \"starcrafting.com\"], \
"streamName\": \"jtv_n8ByWNUQRhHSH0uB\", \"expiration\": 1311359065.579859, \"se
rver\": \"lhr01-video6-1\"}" -W "http://www-cdn.justin.tv/widgets/live_frontpage
_player.r894a72efd2e4c274a47075a851f98064bc143954.swf" -o jtv.flv
RTMPDump v2.4 GIT-2011-07-21 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              0.00
INFO:   width                 640.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:   filesize              0.00
4924.292 kB / 63.46 sec

Last edited by chap : 07-22-2011 at 03:55 PM.
Reply With Quote
  #17  
Old 07-24-2011, 09:41 PM
kiko_aams kiko_aams is offline
Junior Member
 
Join Date: Jul 2011
Posts: 12
kiko_aams is on a distinguished road
Default

Re: [rtmpdump] The Justin.tv problem


my code to watch on VLC failed
Code:
rtmpdump -v -r "rtmp://199.9.252.37/app/jtv_H0wPOG869jkjE4Sw" -j "a97875b2579fcae4964157cb4cca8696dc5baa2e:{\"swfDomains\": [\"justin.tv\", \"jtvx.com\", \"xarth.com\", \"twitchtv.com\", \"twitch.tv\", \"wdtinc.com\", \"imapweather.com\", \"facebook.com\", \"starcrafting.com\"], \"streamName\": \"jtv_H0wPOG869jkjE4Sw\", \"expiration\": 1311335368.6078761, \"server\": \"lhr01-video5-1\"}"  -W "http://www-cdn.justin.tv/widgets/live_frontpage_player.r894a72efd2e4c274a47075a851f98064bc143954.swf" -p "http://pt-br.justin.tv/lisciota#/w/1520328416/2" | "C:\Users\USER\Documents\CD\VLC\vlc.exe" -
Reply With Quote
  #18  
Old 07-27-2011, 03:52 AM
evol evol is offline
Senior Member
 
Join Date: Jun 2011
Posts: 228
evol is on a distinguished road
Exclamation

Re: [rtmpdump] Problem downloading from Justin.tv


Quote:
Originally Posted by chap View Post
Thanks.
Code:
RTMP 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!

rtmpdump -r "rtmp://199.9.255.139/app" -a "app" -f "WIN 10,3,181,34" -W "http://
www-cdn.justin.tv/widgets/live_frontpage_player.r894a72efd2e4c274a47075a851f9806
4bc143954.swf" -p "http://ru.justin.tv/" --jtv "16c8c84fa8bded531e2b8bccb69a55d2
4119677c:{\"swfDomains\": [\"justin.tv\", \"jtvx.com\", \"xarth.com\", \"twitcht
v.com\", \"twitch.tv\", \"wdtinc.com\", \"imapweather.com\", \"facebook.com\", \
"starcrafting.com\"], \"streamName\": \"jtv_26Pf9251kSdKX_y5\", \"expiration\":
1311573403.575099, \"server\": \"lhr01-video7-1\"}" -y "jtv_26Pf9251kSdKX_y5" -o
 jtv_26Pf9251kSdKX_y5.flv

Closing connection... done!

RTMPDump v2.4 GIT-2011-07-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for client digest!
Duplicate request, skipping.
Closing connection... done!

INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   author
INFO:   copyright
INFO:   description
INFO:   keywords
INFO:   rating
INFO:   title
INFO:   presetname            Custom
INFO:   creationdate          Sun Jul 24 15:15:15 2011
INFO:   videodevice           VT Video Device
INFO:   framerate             30.00
INFO:   width                 480.00
INFO:   height                270.00
INFO:   videocodecid          avc1
INFO:   videodatarate         384.00
INFO:   avclevel              31.00
INFO:   avcprofile            66.00
INFO:   videokeyframe_frequency3.00
INFO:   audiodevice           VT Audio Device
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO:   audioinputvolume      98.00
INFO:   audiocodecid          .mp3
INFO:   audiodatarate         128.00
2834.164 kB / 45.09 sec

yes it works, checked (_http://www.bloomberg.com/tv)
If you dont mind me asking what method did you use in Windows to get rtmpsrv to work with justin.tv ? Ive tried the host trick with this with no joy.
Code:
127.0.0.1 199.9.255.139
Also ive used the dumping of the plugin-container.exe method using grep explained in this blog but all i get is
Code:
-uThe system cannot find the file specified.
grep: writing output: Invalid argument
grep: writing output: Invalid argument
Do you have any advice or suggestions im running xp sp3 with rtmpdump v2.4 GIT-2011-07-22 (Compiled by KSV).

Thanxs
Reply With Quote
  #19  
Old 07-27-2011, 09:24 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: [rtmpdump] Problem downloading from Justin.tv


use RTMPexplorer to redirect traffic to rtmpsrv or rtmpsuck.
Reply With Quote
  #20  
Old 07-28-2011, 06:22 AM
evol evol is offline
Senior Member
 
Join Date: Jun 2011
Posts: 228
evol is on a distinguished road
Thumbs up

Re: [rtmpdump] Problem downloading from Justin.tv


Quote:
Originally Posted by KSV View Post
use RTMPexplorer to redirect traffic to rtmpsrv or rtmpsuck.
Thanks for the reply KSV, shame RTMPexplorer needs .Net Framework 4 its a real hog on my windows xp sp3 machine. Wish there was a console app that did the same thing as RtmpExplorer or the guy who made it released the code.

Also thanks KSV for you up to date builds.
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 08:14 AM.


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