View Single Post
  #4  
Old 07-21-2011, 09: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 04:21 PM. Reason: added log
Reply With Quote