LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-04-2005, 06:24 AM   #1
ubuntu-norm
LQ Newbie
 
Registered: Jul 2005
Posts: 14

Rep: Reputation: 0
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
 
Old 08-04-2005, 06:59 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649

Rep: Reputation: 148Reputation: 148
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).
 
Old 08-04-2005, 07:00 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://w-ber.ormgas.com/mp3_vs_vorbis/
 
Old 12-29-2005, 03:21 PM   #4
sparxxx13
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
lame

hey im using lame too and im wondering if you can change the bitrate to higher than 128 the default?
 
Old 12-29-2005, 03:24 PM   #5
ubuntu-norm
LQ Newbie
 
Registered: Jul 2005
Posts: 14

Original Poster
Rep: Reputation: 0
It's been a while since I visited this. I think you can. Check out the man page on lame.
 
Old 12-29-2005, 03:37 PM   #6
sparxxx13
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
could i have a link to that please. thx
 
Old 12-29-2005, 03:52 PM   #7
ubuntu-norm
LQ Newbie
 
Registered: Jul 2005
Posts: 14

Original Poster
Rep: Reputation: 0
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

Code:
 man lame
at the console.
 
Old 12-29-2005, 06:49 PM   #8
sparxxx13
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
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?
 
Old 12-29-2005, 07:05 PM   #9
ubuntu-norm
LQ Newbie
 
Registered: Jul 2005
Posts: 14

Original Poster
Rep: Reputation: 0
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
Code:
 lame -v -B 320
Aparently lame does not support bitrates higher than 160 for MPEG2

Hope this helps
 
Old 12-30-2005, 03:51 AM   #10
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
sparxxx13: lame will do only one file at a time. To do an entire folder of mp3s, you must write a script.
 
Old 12-30-2005, 03:53 AM   #11
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
ubuntu-norm: did you get the answer you were after?
 
  


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
10.1 - Lame High-gain Linux - Newbie 5 06-22-2005 02:30 AM
oggenc GUI rickenbacherus Linux - Software 3 01-13-2005 04:12 PM
oggenc GUI eliasblanco Linux - Software 0 10-21-2004 01:41 PM
How to upgrade oggenc/libvorbis? colelinux Linux - Newbie 0 03-15-2004 08:38 PM
oggenc and mp3 rch Linux - General 3 03-06-2003 02:49 AM

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

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