LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-15-2006, 09:28 AM   #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
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?
 
Old 04-16-2006, 05:29 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
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.
 
  


Reply

Tags
mp3


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
Encoding audio: Mp3 to Mp3 SolidSnakeX28 Linux - Software 7 06-25-2006 10:14 AM
Encoding mp3 with Suse 10 Jeffmrg SUSE / openSUSE 3 10-09-2005 01:55 PM
MP3 Encoding - Please Help biggsjm Linux - Software 9 10-06-2003 02:52 PM
MP3 encoding with konqueror and RH 9 the anti-riced Linux - Software 5 06-11-2003 12:22 AM
MP3 Encoding wonderpun Linux - Software 9 09-13-2002 07:00 AM

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

All times are GMT -5. The time now is 06:41 AM.

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