Codecs: Difference between revisions

From BakaBT Wiki
Jump to navigation Jump to search
m (small correction)
(Box -> BBT Updated)
Line 1: Line 1:
This article is meant as a brief explanation of the most common codecs used on BoxTorrents and is purely information.  For codec troubleshooting, see the [[Common_Playback_Problems|Common Playback Problems]] BoxTorrents Wiki article, or visit the [http://forums.boxtorrents.com/index.php?board=27.0 Playback Forum] for help playing/installing codecs.
This article is meant as a brief explanation of the most common codecs used on BakaBT and is purely information.  For codec troubleshooting, see the [[Common_Playback_Problems|Common Playback Problems]] BakaBT Wiki article, or visit the [http://forums.BakaBT.com/index.php?board=27.0 Playback Forum] for help playing/installing codecs.


==Overview==
==Overview==
A codec is a device or software that is capable of decoding and/or encoding data, wether it be a digital data stream or signal.  Basically, they are what we use to encode and decode virtually all of the content found on BoxTorrents.  For the most part, we only worry about the decoding.
A codec is a device or software that is capable of decoding and/or encoding data, wether it be a digital data stream or signal.  Basically, they are what we use to encode and decode virtually all of the content found on BakaBT.  For the most part, we only worry about the decoding.


==Compression==
==Compression==
Basically, two types of compression exist, ''Lossy'', and ''Lossles''.  For example, most of the anime found on BoxTorrents will use ''Lossy codecs'', where as several soundtracks use ''Lossless''.
Basically, two types of compression exist, ''Lossy'', and ''Lossles''.  For example, most of the anime found on BakaBT will use ''Lossy codecs'', where as several soundtracks use ''Lossless''.


*'''Lossy codecs''' - Many of the more popular codecs in the software world are lossy, meaning that they reduce quality by some amount in order to achieve compression. Smaller data sets ease the strain on relatively expensive storage sub-systems such as non-volatile memory and hard disk, as well as write-once-read-many formats such as CD-ROM, DVD and Blu-ray Disc.
*'''Lossy codecs''' - Many of the more popular codecs in the software world are lossy, meaning that they reduce quality by some amount in order to achieve compression. Smaller data sets ease the strain on relatively expensive storage sub-systems such as non-volatile memory and hard disk, as well as write-once-read-many formats such as CD-ROM, DVD and Blu-ray Disc.
Line 11: Line 11:


==Video Codecs==
==Video Codecs==
Currently, many formats exist for video codecs, here are the more common ones found on BoxTorrents:
Currently, many formats exist for video codecs, here are the more common ones found on BakaBT:


<!--  Needs some more information  -->
<!--  Needs some more information  -->
Line 22: Line 22:


==Audio Codecs==
==Audio Codecs==
Several audio formats exist as well, these apply to both movies and music/sounds.  Here are some of the common ones used on BoxTorrents.  (Coming soon!)
Several audio formats exist as well, these apply to both movies and music/sounds.  Here are some of the common ones used on BakaBT.  (Coming soon!)


<!-- Needs verification  -->
<!-- Needs verification  -->
Line 28: Line 28:
Text codecs are used for files that contain softsubs, they are basically text that is rendered during playback separately from the video track instead of being rendered directly to the video file during encoding (hardsubs).  The main advantage of using softsubs being that multiple subtitle/karaoke tracks can be packaged into one file or not used at all during playback.  The main drawback is that it adds more overhead to the file.
Text codecs are used for files that contain softsubs, they are basically text that is rendered during playback separately from the video track instead of being rendered directly to the video file during encoding (hardsubs).  The main advantage of using softsubs being that multiple subtitle/karaoke tracks can be packaged into one file or not used at all during playback.  The main drawback is that it adds more overhead to the file.


The softsub file is sometimes a separate file, .sub for example, but is usually inside the [[Containers|container]] file.  Here are the most common codecs used on BoxTorrents:
The softsub file is sometimes a separate file, .sub for example, but is usually inside the [[Containers|container]] file.  Here are the most common codecs used on BakaBT:
   
   
*'''SubStation Alpha''' - Commonly used on BoxTorrents.  Supports both styled text and metadata.  Has a precision of 10 milliseconds.  Frequently encoded within a [[Containers|container]], thus rarely seen as a separate file.  Uses a .ssa or .ass extension.
*'''SubStation Alpha''' - Commonly used on BakaBT.  Supports both styled text and metadata.  Has a precision of 10 milliseconds.  Frequently encoded within a [[Containers|container]], thus rarely seen as a separate file.  Uses a .ssa or .ass extension.
*'''VobSub''' - Common on BoxTorrents as well.  VobSub is image-based so it doesn't support styled text or metadata.  This is the codec used when the subtitles are ripped directly from the source DVD.  These have a precision of 1 millisecond.
*'''VobSub''' - Common on BakaBT as well.  VobSub is image-based so it doesn't support styled text or metadata.  This is the codec used when the subtitles are ripped directly from the source DVD.  These have a precision of 1 millisecond.





Revision as of 21:14, 16 June 2009

This article is meant as a brief explanation of the most common codecs used on BakaBT and is purely information. For codec troubleshooting, see the Common Playback Problems BakaBT Wiki article, or visit the Playback Forum for help playing/installing codecs.

Overview

A codec is a device or software that is capable of decoding and/or encoding data, wether it be a digital data stream or signal. Basically, they are what we use to encode and decode virtually all of the content found on BakaBT. For the most part, we only worry about the decoding.

Compression

Basically, two types of compression exist, Lossy, and Lossles. For example, most of the anime found on BakaBT will use Lossy codecs, where as several soundtracks use Lossless.

  • Lossy codecs - Many of the more popular codecs in the software world are lossy, meaning that they reduce quality by some amount in order to achieve compression. Smaller data sets ease the strain on relatively expensive storage sub-systems such as non-volatile memory and hard disk, as well as write-once-read-many formats such as CD-ROM, DVD and Blu-ray Disc.
  • Lossless codecs - There are also many lossless codecs which are typically used for archiving data in a compressed form while retaining all of the information present in the original stream. If preserving the original quality of the stream is more important than eliminating the correspondingly larger data sizes, lossless codecs are preferred. Especially if the data is to undergo further processing (for example editing) in which case the repeated application of processing (encoding and decoding) on lossy codecs will degrade the quality of the resulting data such that it is readily identifiable (visually, audibly or both). Using more than one codec or encoding scheme successively can also degrade quality significantly. The decreasing cost of storage capacity and network bandwidth has a tendency to reduce the need for lossy codecs for some media.

Video Codecs

Currently, many formats exist for video codecs, here are the more common ones found on BakaBT:

  • MPEG-2 - the codec which is used on DVDs and on some Blu-ray/HD-DVD discs.
  • MPEG-4 Part 2 - also known as MPEG-4 SP/MPEG-4 ASP. Popular software implemantations are: DivX, Xvid, 3ivx
  • MPEG-4 Part 10 - also known as MPEG-4 AVC/H.264. Used on Blu-ray/HD-DVD discs.
  • WMV - codec developed by Microsoft.
  • VC-1 - H.264 rival. Used on Blu-ray/HD-DVD discs.
  • x264 - free implementation of H.264 standard.

Audio Codecs

Several audio formats exist as well, these apply to both movies and music/sounds. Here are some of the common ones used on BakaBT. (Coming soon!)

Text Codecs

Text codecs are used for files that contain softsubs, they are basically text that is rendered during playback separately from the video track instead of being rendered directly to the video file during encoding (hardsubs). The main advantage of using softsubs being that multiple subtitle/karaoke tracks can be packaged into one file or not used at all during playback. The main drawback is that it adds more overhead to the file.

The softsub file is sometimes a separate file, .sub for example, but is usually inside the container file. Here are the most common codecs used on BakaBT:

  • SubStation Alpha - Commonly used on BakaBT. Supports both styled text and metadata. Has a precision of 10 milliseconds. Frequently encoded within a container, thus rarely seen as a separate file. Uses a .ssa or .ass extension.
  • VobSub - Common on BakaBT as well. VobSub is image-based so it doesn't support styled text or metadata. This is the codec used when the subtitles are ripped directly from the source DVD. These have a precision of 1 millisecond.


  • Hardsubs are rendered directly into the video stream so a separate codec isn't required

References