Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
06-09-2015, 02:08 PM
|
#1
|
Member
Registered: Jan 2011
Posts: 340
Rep:
|
mp4 to mp3 convert
Does anyone know a good program for converting mp4 files to mp3,s?
|
|
|
06-09-2015, 02:14 PM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
I use ffmpeg for all kinds of conversions between multimedia formats.
|
|
|
06-09-2015, 02:46 PM
|
#3
|
Member
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634
|
ffmpeg or avconv (essentially ffmpeg) is good.
For a very simple conversion, it would go something like this:
Code:
ffmpeg -i file.mp4 file.mp3
To do a bunch, loop the file names with a for loop.
|
|
|
06-09-2015, 04:02 PM
|
#4
|
Member
Registered: Jan 2011
Posts: 340
Original Poster
Rep:
|
Quote:
Originally Posted by Sefyir
ffmpeg or avconv (essentially ffmpeg) is good.
For a very simple conversion, it would go something like this:
Code:
ffmpeg -i file.mp4 file.mp3
To do a bunch, loop the file names with a for loop.
|
garrett@mint-desktop ~/Desktop $ ffmpeg
ffmpeg: command not found
garrett@mint-desktop ~/Desktop $ sudo apt-get install ffmpeg
[sudo] password for garrett:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
|
|
|
06-09-2015, 04:03 PM
|
#5
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
|
Quote:
Originally Posted by Garrett85
garrett@mint-desktop ~/Desktop $ ffmpeg
ffmpeg: command not found
garrett@mint-desktop ~/Desktop $ sudo apt-get install ffmpeg
[sudo] password for garrett:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
|
try avconv.
|
|
|
06-09-2015, 05:40 PM
|
#6
|
Member
Registered: Jan 2011
Posts: 340
Original Poster
Rep:
|
avconv
Quote:
Originally Posted by schneidz
try avconv.
|
garrett@mint-desktop ~ $ sudo apt-get install avconv
[sudo] password for garrett:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package avconv
|
|
|
06-09-2015, 05:48 PM
|
#7
|
Member
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634
|
Quote:
Originally Posted by Garrett85
garrett@mint-desktop ~ $ sudo apt-get install avconv
[sudo] password for garrett:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package avconv
|
Did you run avconv?
Code:
$ sudo apt-get install avconv
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package avconv
$ avconv -i file.mp4 file.mp3
I'm not sure why the ubuntu repository is not providing avconv, especially since it's (apparently) preinstalled and have dropped their support of ffmpeg which..
Quote:
This may mean that the package is missing, has been obsoleted, or
|
is not actually obsolete
|
|
|
06-09-2015, 06:47 PM
|
#8
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,691
|
you are aware that a mp4 is a MORE compressed file than a mp3
and BOTH are whats called " lousy" in that they toss DATA( information) into the trash can to compress the files
and mp4 tosses out even MORE information
do not expect the files to sound good or if video look good
expect a bit of a "bad" image quality
|
|
|
06-09-2015, 07:33 PM
|
#9
|
Member
Registered: Jan 2011
Posts: 340
Original Poster
Rep:
|
I have made a mistake. I need to files to go from m4b to mp3. Any ideas?
|
|
|
06-09-2015, 07:46 PM
|
#10
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,691
|
being a audio book format
is it DRM'ed
if so .......
|
|
|
06-09-2015, 11:23 PM
|
#11
|
Member
Registered: Jan 2011
Posts: 340
Original Poster
Rep:
|
No there's no DRM on the file. I try not to give any of my money to companies that DRM encumber their files. One reason I never buy from audible.com
|
|
|
06-10-2015, 12:02 AM
|
#12
|
Member
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634
|
It's probably the exact same syntax. Since you probably have avconv
Code:
avconv -i file.m4b file.mp3
|
|
|
06-10-2015, 03:31 AM
|
#13
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
If I am not mistaken, avconv is provided by the libav package, try to install that.
|
|
|
06-11-2015, 10:59 AM
|
#14
|
Member
Registered: Jan 2011
Posts: 340
Original Poster
Rep:
|
garrett@mint-desktop ~ $ sudo apt-get install libav
[sudo] password for garrett:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libav
garrett@mint-desktop ~ $ sudo apt-get install avonc
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package avonc
Any ideas?
|
|
|
06-11-2015, 11:40 AM
|
#15
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Which version of Ubuntu do you use?
|
|
|
All times are GMT -5. The time now is 02:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|