Sign in to follow this  
Followers 0
au3scr

how to record radiostation?

10 posts in this topic

#1 ·  Posted (edited)

Hello I am wondering how to record radiostation if file name is not given.

Following stream (has given file name) and be recorded with inetget:

http://streamer.sotovik.ee:8500/skyplus_hi.ogg

InetGet("http://streamer.sotovik.ee:8500/skyplus_hi.ogg","lol.ogg",1,0)

but here is stream that canot be recorded with inetget:

mms://81.20.146.22/skyplus

How I could write script that record this?

if I open VLC player and then paste it (mms://81.20.146.22/skyplus) in vlc file open dialog then it plays it perfectly.

Edited by au3scr

Share this post


Link to post
Share on other sites



@au3scr

What do you mean about record ? Record this music like record voice on microphone ?

If it is then there is good example of recorder in example scripts forum :)

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

I think the best way to do this is using TCP commands only.

The most important part of streaming radio is how you're going to handle it, if you're just going to write to a file then it should be fairly simple. However, if you want to play it at the same time, that's something else.

Share this post


Link to post
Share on other sites

i mean I want make script that download all data from mms://81.20.146.22/skyplus


Share this post


Link to post
Share on other sites

Hint: mms://81.20.146.22/skyplus is not equal to ftp://81.20.146.22/skyplus is not equal to http://81.20.146.22/skyplus so the streaming format is not directly readable with FTP (file transfer) or HTTP (web browser) software.

Software exists for recording stream formats, even though most content distributors discourage it (you may need prior licencing approval to record otherwise you may be breaking the law in your jurisdiction, and it can reduce the amount of income collected from advertising). If in doubt, contact the radio station first.

Keep in mind a significant portion of streaming software actually sends back listening (and often other) information which can be used against you in copyright infringement scenarios.

Share this post


Link to post
Share on other sites

i mean I want make script that download all data from mms://81.20.146.22/skyplus

Yes, and then do what with the data?

Just downloading it and then discarding it makes no sense.

Share this post


Link to post
Share on other sites

i mean I want make script that download all data from mms://81.20.146.22/skyplus

You could contact the webmaster of the site in question and kindly ask them for the files (you see, they may be in a folder that is not accessible by you from the outside world, and can only be accessed by their scheduled programming causing each file to be streamed only)

You could offer to backup their server and keep a copy offsite at your house.

Methinks you may need to speak to a lawyer first...

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

VLC media player can play it just click on Media, then click on Open Network then paste that stream address input , click on play and then VLC media player can play it.This stream is free so you dont have to pay. And I am thinking if VLC media player can play it then it must be possible to make script that can also play it, and if it's possible toplay it then it must be possible to save that sound what ever comes from that stream to hard disk. and I just need a method to do this.

I think the best way to do this is using TCP commands only.

I am not good at this I have never made any script with TCP commands I even dont know how it works

Edited by au3scr

Share this post


Link to post
Share on other sites

VLC media player can play it just click on Media, then click on Open Network then paste that stream address input , click on play and then VLC media player can play it.This stream is free so you dont have to pay. And I am thinking if VLC media player can play it then it must be possible to make script that can also play it, and if it's possible toplay it then it must be possible to save that sound what ever comes from that stream to hard disk. and I just need a method to do this.

I am not good at this I have never made any script with TCP commands I even dont know how it works

Its the importunity to learn it :)

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0