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 04-14-2006, 02:20 PM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
mp3 conversion and frequency


I have a large wav speech file (SPM4854.wav) that I would like to encode to an mp3 with 16 kHz 24 kbps single-ch MPEG-2 Layer III (10.7x) qval=3. Typing:

lame -s 16 -b 24 SPM4854.wav SPM48524.mp3

encodes an mp3 at 8 kHz and 24 kbps. I have sox-can I use that to help me make a file with a frequency of 16 kHz?

Marty
 
Old 04-14-2006, 03:27 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
I think your lame options are wrong for what you're trying to do.

Without experimenting I can't tell you exactly the right ones, but I would try something like lame -a -V8 -b infile outfile to get a mono vbr at low quality. It should work.

My real advice would be to use Audacity and use the graphical interface. It's easier to understand if you're not sure what you're doing.
 
Old 04-14-2006, 05:26 PM   #3
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
audacity? I've used that to edit mp3 files, but it always saves mp3s at a bitrate of 128. I want that to be 24-how would I adjust that in audacity?

EDIT: I am using lame with audacity.

Last edited by linuxhippy; 04-14-2006 at 05:27 PM.
 
Old 04-14-2006, 05:31 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
In Preferences, you can set Audacity to save MP3s at whatever bitrate you like.
 
Old 04-14-2006, 05:34 PM   #5
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
ah I see-I feel dumb...I've only been using audacity with lame for 3 years now. Thanks...that should work!
 
Old 04-14-2006, 05:43 PM   #6
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
Didn't work the way I wanted it. It saved at a bitrate of 24 in audacity but also used a frequency of 8 kHz which made the audio crack. 16 kHz would be ok-can I get that...I do on other audio files (not sure why)?
 
  


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
Mp3 to ATRAC3 conversion on Linux (?) noware Linux - Software 0 12-01-2005 04:37 AM
mpc to mp3 conversion linmix Linux - Software 5 03-18-2005 05:42 PM
mp3 to wav conversion jonfa Linux - General 11 06-27-2004 09:26 PM
mp3 to ogg conversion arun79 Linux - Software 2 01-21-2004 08:20 AM
MP3 to Ogg Conversion viciousfish Linux - Software 5 03-21-2003 08:15 PM

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

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