Linux - SoftwareThis 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.
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.
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
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
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.