LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-19-2015, 05:13 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
Retrieve an MP3 from Youtube video using quvi?


Hello,

I would like to know if it is possible to get from an url with a bash code an MP3 (or converted) from an Youtube url video using quvi?

thank you for info
 
Old 04-21-2015, 07:46 AM   #2
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
I've never used quvi...

However, there's a useful tool called youtube-dl. It lets you download any format that's on their servers. You can find the availible formats with the "-F" flag, then download that format with the "-f (format number)". Usually there are three separate audio files at different formats and bitrates. Or you can just give it the URL and it will download the highest resolution video.

Once you download the audio, you can just use ffmpeg or something to convert it to MP3.

Hope this helps!
 
Old 04-21-2015, 04:25 PM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by maples View Post
I've never used quvi...

However, there's a useful tool called youtube-dl. It lets you download any format that's on their servers. You can find the availible formats with the "-F" flag, then download that format with the "-f (format number)". Usually there are three separate audio files at different formats and bitrates. Or you can just give it the URL and it will download the highest resolution video.

Once you download the audio, you can just use ffmpeg or something to convert it to MP3.

Hope this helps!
youtube-dl is heavily coded on python and so on.

quvi is light, efficient and coded in C.

I would definitely favor quvi.
 
Old 04-22-2015, 06:10 PM   #4
xset
LQ Newbie
 
Registered: Apr 2015
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by maples View Post
I've never used quvi...

However, there's a useful tool called youtube-dl. It lets you download any format that's on their servers. You can find the availible formats with the "-F" flag, then download that format with the "-f (format number)". Usually there are three separate audio files at different formats and bitrates. Or you can just give it the URL and it will download the highest resolution video.

Once you download the audio, you can just use ffmpeg or something to convert it to MP3.

Hope this helps!
You can use youtube-dl to extract audio from a video url like so:

Code:
youtube-dl -x --audio-format mp3 --audio-quality best "youtube-url" "%(title)s.mp3"
Code:
excerpt from youtube-dl --help

Post-processing Options:
-x, --extract-audio              Convert video files to audio-only files (requires
                                 ffmpeg or avconv and ffprobe or avprobe)
--audio-format FORMAT            Specify audio format: "best", "aac", "vorbis",
                                 "mp3", "m4a", "opus", or "wav"; "best" by default
--audio-quality QUALITY          Specify ffmpeg/avconv audio quality, insert a value
                                 between 0 (better) and 9 (worse) for VBR or a
                                 specific bitrate like 128K (default 5)

Last edited by xset; 04-22-2015 at 06:11 PM.
 
Old 04-28-2015, 01:02 AM   #5
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by xset View Post
You can use youtube-dl to extract audio from a video url like so:

Code:
youtube-dl -x --audio-format mp3 --audio-quality best "youtube-url" "%(title)s.mp3"
Code:
excerpt from youtube-dl --help

Post-processing Options:
-x, --extract-audio              Convert video files to audio-only files (requires
                                 ffmpeg or avconv and ffprobe or avprobe)
--audio-format FORMAT            Specify audio format: "best", "aac", "vorbis",
                                 "mp3", "m4a", "opus", or "wav"; "best" by default
--audio-quality QUALITY          Specify ffmpeg/avconv audio quality, insert a value
                                 between 0 (better) and 9 (worse) for VBR or a
                                 specific bitrate like 128K (default 5)
youtube-dl is nice but well, I would be interested by a minimalist solution such as quvi.
 
Old 11-18-2020, 02:08 AM   #6
policeman26
LQ Newbie
 
Registered: Nov 2020
Posts: 1

Rep: Reputation: Disabled
Quick and convenient, YouTube to MP3 is a website where you can copy and paste the URL of the YouTube video you want to convert. Just add the link and click the Go button. At the next screen, click the drop-down menu and select the format for conversions, such as MP3 or M4A.

With an MP3, you also select the level of compression, anywhere from 64 kbps to 320 kbps. The smaller the number, the smaller the file, but the poorer the quality. So unless you need to save space, you’ll want to choose a higher number.
______________________________________________________
https://youtube-mp3.me/fr/fr-2/

Last edited by policeman26; 11-25-2020 at 05:00 AM.
 
Old 11-18-2020, 03:54 AM   #7
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Distribution: Debian, Arch, Kubuntu
Posts: 366

Rep: Reputation: 139Reputation: 139
You could try digging through quvi's documentation. - http://quvi.sourceforge.net/

Is this a dead project?

https://sourceforge.net/projects/quvi/
http://quvi.sourceforge.net/news/
 
Old 11-18-2020, 04:06 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
Quote:
Originally Posted by m.a.l.'s pa View Post
You could try digging through quvi's documentation. - http://quvi.sourceforge.net/

Is this a dead project?

https://sourceforge.net/projects/quvi/
http://quvi.sourceforge.net/news/
yes, quvi is abandoned and this thread is dead too....
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New to Linux--want to convert Youtube to MP3 lndman Linux - Newbie 18 01-19-2021 08:22 AM
LXer: How to convert YouTube Video to MP3 easily on GNU/Linux LXer Syndicated Linux News 0 05-08-2013 11:50 PM
youtube to mp3 alaios Linux - Software 9 04-16-2013 08:43 AM
mp3 to youtube? Gummage Linux - Newbie 2 01-16-2011 10:41 PM
Retrieve mp3's from corrupt hard disk eulaersi Linux - Hardware 2 09-27-2007 01:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration