LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 06-09-2015, 02:08 PM   #1
Garrett85
Member
 
Registered: Jan 2011
Posts: 332

Rep: Reputation: 6
mp4 to mp3 convert


Does anyone know a good program for converting mp4 files to mp3,s?
 
Old 06-09-2015, 02:14 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I use ffmpeg for all kinds of conversions between multimedia formats.
 
Old 06-09-2015, 02:46 PM   #3
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
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.
 
Old 06-09-2015, 04:02 PM   #4
Garrett85
Member
 
Registered: Jan 2011
Posts: 332

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by Sefyir View Post
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
 
Old 06-09-2015, 04:03 PM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,321

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by Garrett85 View Post
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.
 
Old 06-09-2015, 05:40 PM   #6
Garrett85
Member
 
Registered: Jan 2011
Posts: 332

Original Poster
Rep: Reputation: 6
avconv

Quote:
Originally Posted by schneidz View Post
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
 
Old 06-09-2015, 05:48 PM   #7
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
Quote:
Originally Posted by Garrett85 View Post
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
 
Old 06-09-2015, 06:47 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,629

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
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
 
Old 06-09-2015, 07:33 PM   #9
Garrett85
Member
 
Registered: Jan 2011
Posts: 332

Original Poster
Rep: Reputation: 6
I have made a mistake. I need to files to go from m4b to mp3. Any ideas?
 
Old 06-09-2015, 07:46 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,629

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
being a audio book format

is it DRM'ed

if so .......
 
Old 06-09-2015, 11:23 PM   #11
Garrett85
Member
 
Registered: Jan 2011
Posts: 332

Original Poster
Rep: Reputation: 6
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
 
Old 06-10-2015, 12:02 AM   #12
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
It's probably the exact same syntax. Since you probably have avconv
Code:
avconv -i file.m4b file.mp3
 
Old 06-10-2015, 03:31 AM   #13
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If I am not mistaken, avconv is provided by the libav package, try to install that.
 
Old 06-11-2015, 10:59 AM   #14
Garrett85
Member
 
Registered: Jan 2011
Posts: 332

Original Poster
Rep: Reputation: 6
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?
 
Old 06-11-2015, 11:40 AM   #15
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Which version of Ubuntu do you use?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert wlmp to mp4 hatman24 Linux - Newbie 2 07-09-2015 10:59 PM
[SOLVED] convert mpg to mp4 satimis Linux - General 15 08-17-2014 10:51 PM
convert mp4 to divx nardz Linux - Software 6 04-27-2008 03:02 PM
need to convert dvd to mp4 cuda Linux - Software 3 10-01-2007 07:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:49 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