LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   downloading music (https://www.linuxquestions.org/questions/linux-newbie-8/downloading-music-871342/)

decksmasher 03-27-2011 05:25 PM

downloading music
 
Hi guys

I was wondering if i could download music from youtube in windows there is a mp3 converter that converts the videos mp3 but i wont to do the same thing with linux is this possible.

REgards DEX

kindofabuzz 03-27-2011 06:31 PM

Search on Goolgle. there are plenty of sites that will do that for you.

corp769 03-27-2011 06:51 PM

Yes, please search for this yourself and look elsewhere, as technically asking that is against the forum rules (illegally downloading music...). Thank you for understanding, and good luck.

Josh

decksmasher 03-28-2011 12:43 PM

Quote:

Originally Posted by corp769 (Post 4305609)
Yes, please search for this yourself and look elsewhere, as technically asking that is against the forum rules (illegally downloading music...). Thank you for understanding, and good luck.

Josh

I'm really sorry i didn't mean to course any hassle honest, i just thought there might have been some thing in the synaptic package manager thats all...! i no i could have googled it but I was looking for some thing else..? once again I'm sorry i asked the question. I no downloading music is against the law.

Kind Regards DEX

corp769 03-28-2011 12:55 PM

It's all good! The mods in these forums are pretty strict, so I'm just saving the hassle.... If you want, you can send me a PM or an email.

Josh

mainstream 03-28-2011 02:21 PM

sudo apt-get install youtube-dl ffmpeg?

convert *.flv to *.mp3 with ffmpeg

BTW: downloading music from youtube is legal! Only for a couple hours if im right ;-)

corp769 03-28-2011 02:23 PM

Quote:

Originally Posted by mainstream (Post 4306662)
sudo apt-get install youtube-dl ffmpeg?

convert *.flv to *.mp3 with ffmpeg

BTW: downloading music from youtube is legal! Only for a couple hours if im right ;-)

Can you give us a reference to that?

mainstream 03-28-2011 02:33 PM

Hmmz, maybe I'm wrong... but it differs per country.
Here in Holland, downloading multimedia is strictly legal for personal use/backup purposes.
Only downloading/using (pirated) software is punishable by law.

It also depends on whether the song you want to download is copyrighted content.
So i think downloading songs for personal use is legal, as long as it's:
1. not copyrighted
2. for personal use

I may be mistaken though.

Here a part ripped from a website which offers youtube ripping software:
Quote:

Entertainment spins around music when you are willing to lend your ears and tap your idle feet to the rhythm and the beat. With series of MP3 players and system operative players available to answer your thirst for music, there is little time to hold on to patience. Incidentally the world is infested with the urgency to get things for free which can often be passed on as getting things through illegal means. But if you are among the few righteous music lovers help yourself to download music legally with the You Tube converter.

You have Amazon, artist direct and audio lunch box that cater to your music frenzy ears. They do have categorized music genre and artist based data systems that help you to get your songs and music in moments. Domino Records and Connect are for the ones that look for eccentrics amidst the selling sites. Independent labels find home at E-music which is known to charge about ten dollars if you are intending to buy 40 tracks in a single month. Free bees have their wishes fulfilled in the Epitonic that stores your favorite numbers in mp3 and wma format options. Yet it is too hard to forget Napster and iTunes that are raging across the music world and grabbing customer attention like wild fire. With Convert My Tube, the You Tube converter, you can download your MP3’s to a portable device for your listening pleasure at your own convenience.
Other sites tell:
Quote:

By using the service provided by this site you acknowledge and agree to the following terms of service/use:

1. This service is not to be used to download audio that is copyrighted.
P.S. i can post a script which automates this proces

Regards

corp769 03-28-2011 02:40 PM

Hmm... I will have to look into that.

mainstream 03-28-2011 02:41 PM

Quote:

Originally Posted by corp769 (Post 4306680)
Hmm... I will have to look into that.

OK :cool: let me know what you find out...

decksmasher 03-28-2011 03:40 PM

Quote:

Originally Posted by mainstream (Post 4306662)
sudo apt-get install youtube-dl ffmpeg?

convert *.flv to *.mp3 with ffmpeg

BTW: downloading music from youtube is legal! Only for a couple hours if im right ;-)

I dont wont to sound totally stupid after ive downloaded it i cant seem to retrieve it ? would it be in applications.? or places and in downloads.?

Regards DEX

corp769 03-28-2011 03:43 PM

You run it from the command line.

Cheers,

Josh

decksmasher 03-28-2011 03:51 PM

Quote:

Originally Posted by corp769 (Post 4306754)
You run it from the command line.

Cheers,

Josh

Thank you josh

decksmasher 03-28-2011 04:07 PM

Quote:

Originally Posted by corp769 (Post 4306754)
You run it from the command line.

Cheers,

Josh

Ive just found a great piece off software winff this is really easy to use and once again thanks for your help its really appreciated.

Kind Regards DEX

corp769 03-28-2011 04:12 PM

Can you post the link to it? Thanks!

Josh

PS - If your thread is solved, please mark it solved using the thread tools and give rep if need be. Cheers!

mainstream 03-29-2011 03:34 AM

I prefer (most of the time) commandline over GUI
So here is a automation script if needed:

yt2mp3.sh
Code:

#!/bin/bash
video=${1:-( read video )}
echo What is the artist of the song?
read artist
echo What is the name of the song?
read name
if [ -n "$video" ] && [ -n "$artist" ] && [ -n "$name" ]
then pushd ~/Music > /dev/null
youtube-dl $video -o "${artist}-${name}.flv"
ffmpeg -ab 192k -i "${artist}-${name}.flv" -acodec libmp3lame "${artist}-${name}.mp3"
rm -rf "${artist}-${name}.flv"
echo Your video is finally converted into a mp3!
popd > /dev/null
else
echo What is missing\? video\=$video artist\=$artist name\=$name
fi

usage ./yt2mp3 [url]

Hope this helps you out :twocents:

kindofabuzz 03-29-2011 04:47 AM

just google "youtube to mp3". like i said, plenty of sites.

corp769 03-29-2011 06:06 AM

Quote:

Originally Posted by mainstream (Post 4307246)
I prefer (most of the time) commandline over GUI
So here is a automation script if needed:

yt2mp3.sh
Code:

#!/bin/bash
video=${1:-( read video )}
echo What is the artist of the song?
read artist
echo What is the name of the song?
read name
if [ -n "$video" ] && [ -n "$artist" ] && [ -n "$name" ]
then pushd ~/Music > /dev/null
youtube-dl $video -o "${artist}-${name}.flv"
ffmpeg -ab 192k -i "${artist}-${name}.flv" -acodec libmp3lame "${artist}-${name}.mp3"
rm -rf "${artist}-${name}.flv"
echo Your video is finally converted into a mp3!
popd > /dev/null
else
echo What is missing\? video\=$video artist\=$artist name\=$name
fi

usage ./yt2mp3 [url]

Hope this helps you out :twocents:

Neat little script. Honestly I haven't done anything like this in a very long time, but I normally just hand edit and encode files.

mainstream 03-29-2011 09:51 AM

Quote:

Originally Posted by corp769 (Post 4307343)
Neat little script. Honestly I haven't done anything like this in a very long time, but I normally just hand edit and encode files.

Hehe me to, but after 2 times I'm getting lazy :rolleyes: and look for other possibilities

corp769 03-29-2011 10:16 AM

So did you get it all figured out?


All times are GMT -5. The time now is 09:25 PM.