Author Topic: Confusion over codecs.  (Read 865 times)

Fleabag

  • Jr. Member
  • **
  • Posts: 95
Confusion over codecs.
« on: March 13, 2012, 11:58:38 PM »
What is the difference between MP2(lav), and MP2(twolame)?

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 2824
Re: Confusion over codecs.
« Reply #1 on: March 14, 2012, 09:27:24 AM »
Quote
TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder. It is based on tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and portions of LAME.

 TwoLAME does NOT support MPEG Audio Layer 3 (MP3) encoding due to patent issues surrounding MP3.

 However, as most MPEG Audio players are able to play layer 2 (MP2) files, TwoLAME makes a very good drop-in replacement for LAME and other layer 3 encoders.
source: Debian Package: libtwolame-dev

Quote
7.8.4. Encoding Audio

 VCD and SVCD support MPEG-1 layer II audio, using one of toolame, twolame, or libavcodec's MP2 encoder. The libavcodec MP2 is far from being as good as the other two libraries, however it should always be available to use. VCD only supports constant bitrate audio (CBR) whereas SVCD supports variable bitrate (VBR), too. Be careful when using VBR because some bad standalone players might not support it too well.

 For DVD audio, libavcodec's AC-3 codec is used.
source: MPlayer: Using MEncoder to create VCD/SVCD/DVD-compliant files

Fleabag

  • Jr. Member
  • **
  • Posts: 95
Re: Confusion over codecs.
« Reply #2 on: March 14, 2012, 03:57:43 PM »
OK, that tells me what MP2(Twolame) is, but does NOTHING to explain the difference between that and MP2(lav).

styrol

  • Sr. Member
  • ****
  • Posts: 467
Re: Confusion over codecs.
« Reply #3 on: March 14, 2012, 04:04:59 PM »
Quote
The libavcodec MP2 is far from being as good as the other two libraries
Well, it does explain it indeed, if you are familiar with video encoding: quality respectively quality-size ratio is not as good.

Quote
OK, that tells me what MP2(Twolame) is, but does NOTHING to explain the difference between that and MP2(lav).
Yes, we all know you are able to format a word in upper case, bold and underlined all together. Using only one formating would be more appropriate and convenient.
« Last Edit: March 14, 2012, 04:18:50 PM by styrol »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 2824
Re: Confusion over codecs.
« Reply #4 on: March 14, 2012, 05:02:49 PM »
@Fleabag
Quote
TwoLAME does NOT support MPEG Audio Layer 3 (MP3) encoding due to patent issues surrounding MP3.
Quote
For DVD audio, LibAVcodec's AC-3 codec is used.
« Last Edit: March 14, 2012, 05:04:59 PM by Jan Gruuthuse »

Fleabag

  • Jr. Member
  • **
  • Posts: 95
Re: Confusion over codecs.
« Reply #5 on: March 14, 2012, 07:07:38 PM »
Thank you.