Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Audio stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=5)
-   -  

Record from Radiko

(http://stream-recorder.com/forum/showthread.php?t=12333)

wribbit 05-09-2012 02:40 AM

Record from Radiko


 
Hi All,

I'm trying to record some radio programs streamed by Radiko.
(Radiko.jp)

The net radio only works for users in Japan.

Problem is, I don't know how to find the streaming information, or the technology.

I've read countless posts that talks about how to find streaming URL, and have tried everything from Fiddler2 to wireshark to Firebug, etc.. but without any luck.

Any help is appreciated!

4lyBCN 12-01-2014 11:21 AM

Re: Record from Radiko


 
1 Attachment(s)
Hi,
I'm looking to record it too. I buy a private server located in Tokyo, but I can't get the streaming from web code.
I use curl and wget to download website but I don't know too much about web scripting.
I attached the output to the command:
curl http://radiko.jp/#QRR

Any idea will be appreciated.

hasomaso 12-01-2014 01:11 PM

Re: Record from Radiko


 
here a example radio from radiko.jp

Code:

rtmpdump -v -r "rtmpe://f-radiko.smartstream.ne.jp/INT/_definst_" -a "INT/_definst_" -f "WIN 15,0,0,239" -W "http://radiko.jp/player/swf/player_4.1.0.00.swf" -p "http://radiko.jp/" -C S: -C S: -C S: -C S:WS5vdAIPoIiaTRMVayOQmg -y "simul-stream.stream?ucid=54c86cda6376c46a8a0a861620a2fec9" -o "output.flv"

4lyBCN 12-03-2014 09:49 AM

Re: Record from Radiko


 
Thanks hasomaso,

What did you do to get the full options for rtmpdump?
I tried it but it fails. I'm testing this on a vps located in Tokio.
Any help will be

Code:

xxxxx@xxxx# rtmpdump -v -r "rtmpe://f-radiko.smartstream.ne.jp/INT/_definst_" -a "INT/_definst_" -f "WIN 15,0,0,239" -W "http://radiko.jp/player/swf/player_4.1.0.00.swf" -p "http://radiko.jp/" -C S: -C S: -C S: -C S:WS5vdAIPoIiaTRMVayOQmg -y "simul-stream.stream?ucid=54c86cda6376c46a8a0a861620a2fec9" -o "output.flv" --verbose
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMPE
DEBUG: Hostname : f-radiko.smartstream.ne.jp
DEBUG: Port    : 1935
DEBUG: Playpath : simul-stream.stream?ucid=54c86cda6376c46a8a0a861620a2fec9
DEBUG: tcUrl    : rtmpe://f-radiko.smartstream.ne.jp:1935/INT/_definst_
DEBUG: swfUrl  : http://radiko.jp/player/swf/player_4.1.0.00.swf
DEBUG: pageUrl  : http://radiko.jp/
DEBUG: app      : INT/_definst_
DEBUG: flashVer : WIN 15,0,0,239
DEBUG: live    : yes
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: ec ba 0e 7c 3c b7 27 aa cb f1 d9 27 93 f7 10 27
DEBUG: 14 7b b1 00 7a c4 1b 93 14 78 bb ac a8 b0 71 98
DEBUG: SWFSize  : 1822061
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 06
DEBUG: HandShake: DH pubkey position: 472
DEBUG: HandShake: Client digest offset: 1383
DEBUG: HandShake: Initial client digest:
DEBUG: fc 46 90 84 b2 9d 0f 0a d7 ee ee 23 32 0a 64 d0
DEBUG: 51 a1 ed e3 23 f3 27 bf fd 36 2b 5a 3e 4c d0 28
DEBUG: HandShake: Type Answer  : 06
DEBUG: HandShake: Server Uptime : 285962559
DEBUG: HandShake: FMS Version  : 3.0.2.1
WARNING: Trying different position for server digest!
DEBUG: HandShake: Server DH public key offset: 1321
DEBUG: HandShake: Secret key:
DEBUG: 69 3f 26 23 76 1d db 6e 1b a1 0f 51 31 e8 e0 2b
DEBUG: e2 fe 97 18 c8 88 e7 64 d6 f4 19 25 77 1d 60 35
DEBUG: df 82 a6 5d 75 09 d5 50 16 9f 9f 45 ba 8e 2a 10
DEBUG: 1d b3 30 ce 19 6a 1c 57 07 d6 07 5c 05 54 d6 e7
DEBUG: 14 b1 4c 2d da 9d 38 c7 42 f2 19 09 c9 12 f6 e8
DEBUG: 81 0c 45 4d e2 4a c4 c8 41 81 55 20 98 c6 f7 cb
DEBUG: a3 f5 4a 6d f5 da ab fe e7 57 50 4b 2c c7 fb 5b
DEBUG: e5 90 e9 b1 5d 51 00 c8 72 4f 8b 10 5d 3c 54 f2
DEBUG: RC4 Out Key:
DEBUG: 26 21 62 7c 5d 08 08 b1 d6 f5 27 60 d7 ab cc 3c
DEBUG: RC4 In Key:
DEBUG: 74 c8 bd 40 c7 62 44 4a e2 d0 76 60 d3 80 1a 69
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: e6 d7 43 91 19 62 7f 8a 7e fb 05 9a cf 79 55 d0
DEBUG: a6 83 44 10 15 ba f4 89 dc f7 5f db 13 b7 fe e1
DEBUG: HandShake: Client signature calculated:
DEBUG: a8 12 7e 57 ee 5d ea 5a 8c d2 ef 87 3b 01 9a ff
DEBUG: 01 d4 ec 5c b0 f1 9b 26 8b 1d 25 66 32 00 42 b8
DEBUG: HandShake: Server sent signature:
DEBUG: f0 e7 c5 f2 c1 31 0e 89 55 74 36 23 bd c7 25 39
DEBUG: 58 5a 65 0e de 30 8b 91 30 b2 97 bf 72 60 26 b5
DEBUG: HandShake: Digest key:
DEBUG: 9c 72 de 5f 47 45 51 ef 0e db ea 1a 27 0b ce 41
DEBUG: 56 e5 ed 66 67 26 1f 7f f8 fe f0 a1 68 52 34 2a
DEBUG: HandShake: Signature calculated:
DEBUG: f0 e7 c5 f2 c1 31 0e 89 55 74 36 23 bd c7 25 39
DEBUG: 58 5a 65 0e de 30 8b 91 30 b2 97 bf 72 60 26 b5
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 163 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:        error>
DEBUG: Property: <Name:              code, STRING:        NetConnection.Connect.Rejected>
DEBUG: Property: <Name:        description, STRING:        Connection failed: Application rejected connection.>
DEBUG: Property: <Name:          clientid, NUMBER:        1528874730.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.


hasomaso 12-03-2014 11:37 AM

Re: Record from Radiko


 
i have a japan vpn and dump with wireshark and rtmpdumphelper all radio stations from this site works fine...

you need not the -C or conn= datas

wribbit 12-24-2014 06:53 AM

Re: Record from Radiko


 
Hi All,

Okay, so I have also just bought a VPN service to use radiko, and am trying to record a radio show tonight.
(On windows 8.1)

Would someone be able to give a more detailed information?
Do I just run rtmpdumphelper?

Btw, I only need to get the streaming URL.. I have the program to record once I know the URL.

4lyBCN 12-29-2014 02:48 AM

Re: Record from Radiko


 
Hi wribbit,

I finally found the way to record it. Someone in Japan made a great bash script to record channels in radiko.jp.
Take a look in the following url:
http://d.hatena.ne.jp/zariganitosh/2...recoding_again


All times are GMT -6. The time now is 03:15 PM.