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 07-20-2011, 11:17 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

[rtmpdump] Problem downloading from Justin.tv


http://lists.mplayerhq.hu/pipermail/...ly/001456.html


Can this patch really,really work?


Ksv Guru ,you are the man to test
Reply With Quote
  #2  
Old 07-20-2011, 12:54 PM
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


I have tested the patch and it wasn't working as is. i fixed a little bug and then successfully tested it on 720p stream.

Code:
RTMPDump v2.4 GIT-2011-07-11 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   duration              0.00
INFO:   width                 1280.00
INFO:   height                720.00
INFO:   videodatarate         1464.84
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
2190.062 kB / 33.58 sec
Reply With Quote
  #3  
Old 07-20-2011, 02:45 PM
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


Yes!


Thats great news,thank you KSV and Antoine
Reply With Quote
  #4  
Old 07-21-2011, 10:08 AM
toine512 toine512 is offline
Member
 
Join Date: Jul 2011
Posts: 34
toine512 is on a distinguished road
Thumbs up

Re: [rtmpdump] The Justin.tv problem


Hello !

Quote:
Originally Posted by KSV View Post
I have tested the patch and it wasn't working as is. i fixed a little bug and then successfully tested it on 720p stream.
Which bug ? It works for me (under Ubuntu).

Anyway, multi-bitrate streams (240p, 360p, 720p, 1080p) use Akamai's regular FMS, UsherToken isn't needed.

Sample command that works :
Code:
toine512@toine512-VirtualBox:~/Bureau/rtmpdump-build$ ./rtmpdump -j "63b8de623d8060ca46535b1e18f627bc3e614181:{\"swfDomains\": [\"justin.tv\", \"jtvx.com\", \"xarth.com\", \"twitchtv.com\", \"twitch.tv\", \"wdtinc.com\", \"imapweather.com\", \"facebook.com\", \"starcrafting.com\"], \"streamName\": \"jtv__f21mA5gfzG_rqvm\", \"expiration\": 1311265516.8942881, \"server\": \"jfk01-video3-2\"}" -r rtmp://199.9.255.111/app/jtv__f21mA5gfzG_rqvm -s http://www-cdn.justin.tv/widgets/live_site_player.r8ae7cdf2fe5e11446646691ef54dff2195814fa1.swf -v -o out.flv
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
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          Thu Jul 21 23:01:08 2011
INFO:   videodevice           VHVideoCustom
INFO:   width                 1088.00
INFO:   height                612.00
INFO:   videocodecid          avc1
INFO:   videodatarate         200.00
INFO:   avclevel              0.00
INFO:   avcprofile            0.00
INFO:   videokeyframe_frequency5.00
INFO:   audiodevice           VHAudioCustom
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO:   audioinputvolume      100.00
INFO:   audiocodecid          2.00
INFO:   audiodatarate         100.00
INFO:   bufferSize            1200k
INFO:   frameRate             333333
INFO:   maxBitrate            1200k
INFO:   videoDevice           XSplitBroadcaster
INFO:   xsplitBroadcasterVersion1.2.1.51
INFO:   xsplitCoreVersion     1.0.1106.2902 Public Beta 4 RC5
5399.334 kB / 72.95 sec^C
Caught signal: 2, cleaning up, just a second...
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 7146
5446.403 kB / 73.11 sec
Download may be incomplete (downloaded about 0.00%), try resuming

Last edited by toine512 : 07-21-2011 at 05:21 PM. Reason: added log
Reply With Quote
  #5  
Old 07-21-2011, 11:53 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 toine512 View Post
Which bug ? It works for me (under Ubuntu).
Under windows it's stripping all the quotes from variables which makes token invalid. for testing purposes i hardcoded the token value in program and only then was able to successfully download the stream.
Reply With Quote
  #6  
Old 07-21-2011, 12:15 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


So the problem is the command prompt, can you send me your Windows builds ? (I can't cross compile and I haven't a working Mingw/MSYS environment yet)

Thanks
Reply With Quote
  #7  
Old 07-21-2011, 02:04 PM
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


sure, i will post it tommorow morning.
Reply With Quote
  #8  
Old 07-21-2011, 02:30 PM
toine512 toine512 is offline
Member
 
Join Date: Jul 2011
Posts: 34
toine512 is on a distinguished road
Thumbs up

Re: [rtmpdump] The Justin.tv problem


That's great.
Reply With Quote
  #9  
Old 07-21-2011, 05:18 PM
toine512 toine512 is offline
Member
 
Join Date: Jul 2011
Posts: 34
toine512 is on a distinguished road
Talking

Re: [rtmpdump] The Justin.tv problem


I succeeded to cross compile under Ubuntu (read the README twice before posting ! ) !

Haha, Windows command prompt is so ugly ! I'll search tomorrow for the right escaping character or a solution with a batch script ...

Last edited by toine512 : 07-22-2011 at 03:20 AM. Reason: missing "c"
Reply With Quote
  #10  
Old 07-22-2011, 01:07 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


I have further tested it. escape character in windows cmd shell is caret (^) but it didn't solved the problem. however using the backslash as escape character (same as in linux) it passes the correct value of token. so we just need to replace " with \" in token value to get it working.
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:47 AM.


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