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.
|
 |
04-15-2006, 09:28 AM
|
#1
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Rep:
|
duplicate mp3 encoding
I have a bunch of mp3 talks that are constantly being updated and replace old talks. The old talk mp3s give this info:
mpg123 -v wed13124.mp3
MPEG 1.0, Layer: III, Freq: 22050, mode: Single-Channel, modext: 0, BPF : 480
Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0.
Bitrate: 24 Kbits/s, Extension value: 0
Audio: 1:1 conversion, rate: 22050, encoding: signed 16 bit, channels: 1
Frame# 395 [133577], Time: 00:10.31 [58:09.35], ,
[0:10] Decoding of wed13124.mp3 finished.
These speeches are about an hour and have been compressed to ~ 10 MB. I have the updated speeches in wav files and want to compress them to ~ 10 MB. What lame or sox commands do I need to use?
|
|
|
04-16-2006, 05:29 AM
|
#2
|
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852
|
Well, I would guess you just need to compress them to the same parameters as the original: 22050hz/16bit sample rate, 24kps bitrate, mono-channel. The man files of lame and sox should explain how to set these values.
You don't make it clear exactly, but I hope you aren't taking previously compressed files and recompressing them again. Taking an already-compressed mp3, converting to .wav, and then compressing it back again, especially at such low bitrates, will quickly make the files unlistenable, and every recompression will degrade the sound even more. If you're going to modify the files often, you should keep the originals in a lossless format such as .wav or .flac. The file size will be much larger, but the quality will remain pristine. Then if you need to distribute a smaller file you can create a compressed .mp3 file from the original.
Last edited by David the H.; 04-16-2006 at 05:31 AM.
|
|
|
All times are GMT -5. The time now is 02:27 AM.
|
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
|
|