Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
[rtmpdump] Problem downloading from Justin.tvhttp://lists.mplayerhq.hu/pipermail/...ly/001456.html
Can this patch really,really work? Ksv Guru ,you are the man to test |
#2
|
|||
|
|||
Re: [rtmpdump] The Justin.tv problemI 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 |
#3
|
|||
|
|||
Re: [rtmpdump] The Justin.tv problemYes!
Thats great news,thank you KSV and Antoine |
#4
|
|||
|
|||
Re: [rtmpdump] The Justin.tv problemHello !
Quote:
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 |
#5
|
|||
|
|||
Re: [rtmpdump] The Justin.tv problemUnder 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.
|
#6
|
|||
|
|||
Re: [rtmpdump] The Justin.tv problemSo 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 |
#7
|
|||
|
|||
Re: [rtmpdump] The Justin.tv problemsure, i will post it tommorow morning.
|
#8
|
|||
|
|||
Re: [rtmpdump] The Justin.tv problemThat's great.
|
#9
|
|||
|
|||
Re: [rtmpdump] The Justin.tv problemI 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" |
#10
|
|||
|
|||
Re: [rtmpdump] The Justin.tv problemI 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.
|
Tags: justin, justin tv, rtmpdump |
Thread Tools | |
Display Modes | |
|
|