Best strategy to record streaming music

Non release banter
beny
Full of knowledge
Full of knowledge
Posts: 2092
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Best strategy to record streaming music

Post#16 by beny » 26 Dec 2015, 18:52

http://50.7.173.162:8010
Audiophile Baroque
hi francois you need the ip adress not the url,you have to save as the playlist link and open with an txt editor, this radio have the best bitrate in the word and good music if you like baroque

donald
Full of knowledge
Full of knowledge
Posts: 2067
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Best strategy to record streaming music

Post#17 by donald » 26 Dec 2015, 18:58

@francois
go to shoutcast.com > select a genre > look for a station > there are 2 buttons >
rightklick the right one, save link as..it will give you a *pls file > open this file
with a text editor and you will see the stream URL.
(e.g. File1=http://listen.radionomy.com/Barock-Music)
use this URL with streamripper

guest@localhost:~$ streamripper "http://listen.radionomy.com/Barock-Music" => without the quotes + your additional options.
have fun

EDIT
@beny
There is a CLI tool called mp3splt to cut off parts from mp3 files.
(download via USM)
imo..Audacity will de- re-encode the mp3 file which results in a quality loss.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Best strategy to record streaming music

Post#18 by francois » 28 Dec 2015, 05:20

@donald, beny:
Some internet address are easy to get, others seem crypted.

As you can see, I have a few respectable web sites for classical music on the other thread.

Thanks for the tips. :)
Prendre son temps, profiter de celui qui passe.

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: Best strategy to record streaming music

Post#19 by Slaxmax » 01 Jan 2016, 16:00

Code: Select all

guest@porteus:~$ ffmpeg -i "URL" -t 3600 -acodec copy audio-file.mp3
Edit (1)
1 - Download M3U file
2 - Copy URL inside M3U file
3 - Use in the command above "URL"
4 - Time limit -t in seconds

My test (shoutcast site) to record 1 hour (3600 seconds)

Code: Select all

ffmpeg -i http://listen.radionomy.com/Barock-Music -t 3600 -acodec copy a.mp3
#######################################################################################
Edit (2)
This script record 1 day radio streaming in 24 parts (3600 seconds)

Code: Select all

#/bin/bash
for i in {1..24}
do

   ffmpeg -i "http://listen.radionomy.com/more-epic" -t 3600 -acodec copy part-$i.mp3

done
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

aus9

Re: Best strategy to record streaming music

Post#20 by aus9 » 02 Jan 2016, 00:02

@francois sorry not referring to Slaxmax

and replying to page one post where francois was or appearing to have problems getting baroque url

I have already mentioned how to get the url and the one you are showing won't work.

clcik baroque then click genre to get them all in one section....there appears to be only 3 so lets download all files but I do this for you...I am downloading the m3u file
http://listen.radionomy.com/ABC-Piano
http://listen.radionomy.com:80/1000HITSClassicalMusic
http://listen.radionomy.com/Barock-Music

now stick it into your formula...how hard was that?
Last edited by aus9 on 02 Jan 2016, 04:47, edited 1 time in total.

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: Best strategy to record streaming music

Post#21 by Slaxmax » 02 Jan 2016, 02:16

Sorry, but I had not seen. All credits for you. :good:
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

aus9

Re: Best strategy to record streaming music

Post#22 by aus9 » 02 Jan 2016, 07:26

Slaxmax

I hope you are not referring to me. I have editted by prev post in case you were, as I am not referring to your url not working but someone else's

Hope that clears it up?

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: Best strategy to record streaming music

Post#23 by Slaxmax » 02 Jan 2016, 15:40

Sorry. It was a misunderstanding.
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Best strategy to record streaming music

Post#24 by brokenman » 02 Jan 2016, 17:51

If you just want to listen to radio, ffmpeg comes with ffplay.

Code: Select all

ffplay http://listen.radionomy.com/more-epic
http://www.outworldz.com/secondlife/posts/streaming/
There are currently 1978 radio stations in 777 categories.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply