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

Stream recording by rtmpdump on Ubuntu

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

opus18 10-25-2014 10:46 PM

Stream recording by rtmpdump on Ubuntu


 
Hi All,

I have been struggling find the solution of this problem.:confused: I would really appreciate if any could give any tip on it.

I am trying to record(or say download) live streaming audio whose streaming information is hidden.

1. The streaming site is
"http://mini.imbc.com/v2/index.html?s=rd_PC#./datas/pagedata_home.js"

2. URL Snooper could get some information
URL: "rtmp://101.79.241.158:1935/pmfm/_definst_?id=2101&si=8&secure=MDRkMDc1OGYyMjc5MDJj YTB"
Flash: "http://mini.imbc.com/v2/lib/player/FlashPlayer.swf"

3. So I did
rtmpdump -r "rtmp://101.79.241.158:1935/pmfm/_definst_?id=2101&si=8&secure=MDRkMDc1OGYyMjc5MDJj YTB" -W "http://mini.imbc.com/v2/lib/player/FlashPlayer.swf"

4. Then, I got
INFO: Connected...
Caught signal: 13, cleaning up, just a second...
ERROR: WriteN, RTMP send error 32 (42 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header


Raw packet contents (I replaced non-printable characters to '.')
"app...pmfm/_definst_?id=2101&si=8&secure=MDRkMDc1OGYyMjc5MDJj YTBmZGFjYzRmNWVhMGYxMzg3MjdiYzZjODQ0NTI0YmEyM.WZhM WQzMzVkMGU0MzcxY2QyNTdjNDgwMDljYmMyOTZhY2Q5NGNlMjg 0OGI1OTlhNDI5NWI2NDNhN2U2MzI1ZGMwZjYxN2IwNmI3YWUwN zg2MmEzNzc1ZTViZGQ5YjNhM.DdlZDA3NzI2YjI3YWFiMDBlMW IwODFkNDU5NjM4NGJkZTAxZGY5NDQ3MDhlMTBjMDAxNjYyYTE3 MGMxYjYxZGZlYWRiZDY4MGZkNWRhOWU2NjExNmUwY2RmOThkMG Y2N.TUxNTc4M2E5YjA0YWZiOWY2Mzk3MDRhZWMzOTdkOWJkZTU xNDZmYzlkN2I2YjMx&csu=false..flashVer...WIN.15,0,0 ,189..swfUrl..2http://mini.imbc..com/v2/lib/player/FlashPlayer.swf..tcUrl...rtmp://101.79.241.158:1935/pmfm/_definst_?id=2101&si=8&secure=MDRkMDc1OGYyMjc5MDJj YTB.mZGFjYzRmNWVhMGYxMzg3MjdiYzZjODQ0NTI0YmEyMWZhM WQzMzVkMGU0MzcxY2QyNTdjNDgwMDljYmMyOTZhY2Q5NGNlMjg 0OGI1OTlhNDI5NWI2NDNhN2U2MzI1ZGM.wZjYxN2IwNmI3YWUw Nzg2MmEzNzc1ZTViZGQ5YjNhMDdlZDA3NzI2YjI3YWFiMDBlMW IwODFkNDU5NjM4NGJkZTAxZGY5NDQ3MDhlMTBjMDAxNjYyYTE3 MGMxYjYxZGZ.lYWRiZDY4MGZkNWRhOWU2NjExNmUwY2RmOThkM GY2NTUxNTc4M2E5YjA0YWZiOWY2Mzk3MDRhZWMzOTdkOWJkZTU xNDZmYzlkN2I2YjMx&csu=false..fpad....cap.abilities ..m........audioCodecs...........videoCodecs..o... ....videoFunction.?.........pageUrl..Chttp://mini.imbc.com/v2/index..html?s=rd_PC#./datas/pagedata_home.js..objectEncoding..........."

blimey 10-25-2014 11:57 PM

Re: Stream recording by rtmpdump on Ubuntu


 
The entire url must be used, including all of the suffix code. The urls are issued on demand, and appear to be for one-time or temporary use.

rtmp url is called from, for example;
Code:

http://miniplay.imbc.com/WebLiveURL.ashx?channel=sfm&protocol=RTMP&nocash=0.04251753957942128&callback=jarvis.miniInfo.loadOnAirComplete
m3u8 url is called from, for example;
Code:

http://miniplay.imbc.com/WebLiveURL.ashx?channel=sfm&protocol=M3U8&agent=android&androidversion=16&nocash=0.04251753957942128&callback=jarvis.miniInfo.loadOnAirComplete

opus18 10-26-2014 11:04 AM

Re: Stream recording by rtmpdump on Ubuntu


 
Awesome~Thanks a lot.

By the way how could you figure out the address "http://miniplay.imbc.com/WebLiveURL.ashx?......"

hasomaso 10-29-2014 04:23 AM

Re: Stream recording by rtmpdump on Ubuntu


 
Code:

http://shoutmini.imbc.com:8003/listen.pls
Code:

mms://relay1.imbc.com/MFM


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