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.
|
|
08-04-2005, 06:24 AM
|
#1
|
LQ Newbie
Registered: Jul 2005
Posts: 14
Rep:
|
lame -vs- oggenc
Hello all,
I am using both to run a test of both encodders.
For mp3
Code:
lame -b <bitrate> infile outfile
For ogg
Code:
oggenc -b <bitrate> infile -o outfile
What I can't find a good answer to is what are the defaults for both commands. I want to compare apples to apples. So if one defaults to Variable Bitrate encodeing and the other defaults to Average Bitrate, then the test I am doing would be in error.
Also if you have any input on how a test comparing the two formats should be done, please post those as well.
Thanks,
Norm
|
|
|
08-04-2005, 06:59 AM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep:
|
If you want to get an overview about encoders, their quality and other info take a look at http://www.hydrogenaudio.org/forums/index.php?act=idx. There you can find lots of info about these kind of questions and good comparisons (that are done quite objectively).
|
|
|
08-04-2005, 07:00 AM
|
#3
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
|
|
|
12-29-2005, 03:21 PM
|
#4
|
LQ Newbie
Registered: Dec 2005
Posts: 4
Rep:
|
lame
hey im using lame too and im wondering if you can change the bitrate to higher than 128 the default?
|
|
|
12-29-2005, 03:24 PM
|
#5
|
LQ Newbie
Registered: Jul 2005
Posts: 14
Original Poster
Rep:
|
It's been a while since I visited this. I think you can. Check out the man page on lame.
|
|
|
12-29-2005, 03:37 PM
|
#6
|
LQ Newbie
Registered: Dec 2005
Posts: 4
Rep:
|
could i have a link to that please. thx
|
|
|
12-29-2005, 03:52 PM
|
#7
|
LQ Newbie
Registered: Jul 2005
Posts: 14
Original Poster
Rep:
|
This is the best one on the internet I could find http://www.die.net/doc/linux/man/man1/lame.1.html
The most up to date one will be on your computer, just type
at the console.
|
|
|
12-29-2005, 06:49 PM
|
#8
|
LQ Newbie
Registered: Dec 2005
Posts: 4
Rep:
|
nice link but it didn't tell me this: is there a way when making a higher bit rate like 320 to 128 to my songs. Is there a way i can do the whole folder at once or just one song at a time?
|
|
|
12-29-2005, 07:05 PM
|
#9
|
LQ Newbie
Registered: Jul 2005
Posts: 14
Original Poster
Rep:
|
Code:
ABR and VBR options:
-b bitrate
For MPEG1 (sampling frequencies of 32, 44.1 and 48 kHz) n = 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320
For MPEG2 (sampling frequencies of 16, 22.05 and 24 kHz) n = 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160
Specifies the minimum bitrate to be used. However, in order to avoid wasted space, the smallest frame size available will be used during silences.
-B bitrate
For MPEG1 (sampling frequencies of 32, 44.1 and 48 kHz) n = 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320
For MPEG2 (sampling frequencies of 16, 22.05 and 24 kHz) n = 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160
Specifies the maximum allowed bitrate.
Note: If you own an mp3 hardware player build upon a MAS 3503 chip, you must set maximum bitrate to no more than 224 kpbs.
-F
If I am understanding you correctly the switch you want is:
#if you are using MPEG1
Aparently lame does not support bitrates higher than 160 for MPEG2
Hope this helps
|
|
|
12-30-2005, 03:51 AM
|
#10
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
sparxxx13: lame will do only one file at a time. To do an entire folder of mp3s, you must write a script.
|
|
|
12-30-2005, 03:53 AM
|
#11
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
ubuntu-norm: did you get the answer you were after?
|
|
|
All times are GMT -5. The time now is 01:22 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
|
|