World Library  
Flag as Inappropriate
Email this Article

Xvid

Article Id: WHEBN0000201544
Reproduction Date:

Title: Xvid  
Author: World Heritage Encyclopedia
Language: English
Subject: Ffdshow, Global motion compensation, HDX4, Stage6, Iriver H300 series
Collection: Cross-Platform Software, Free Video Codecs
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Xvid

Xvid
Xvid logo
Stable release 1.3.3 / April 6, 2014 (2014-04-06)
Operating system Cross-platform
Type Video codec
License GNU General Public License
Website www.xvid.com

Xvid (formerly "XviD") is a video codec library following the MPEG-4 standard, specifically MPEG-4 Part 2 Advanced Simple Profile (ASP). It uses ASP features such as b-frames, global and quarter pixel motion compensation, lumi masking, trellis quantization, and H.263, MPEG and custom quantization matrices.

Xvid is a primary competitor of the DivX Pro Codec. In contrast with the DivX codec, which is proprietary software developed by DivX, Inc., Xvid is free software distributed under the terms of the GNU General Public License.[1] This also means that unlike the DivX codec, which is only available for a limited number of platforms,[2] Xvid can be used on all platforms and operating systems for which the source code can be compiled.

Contents

  • History 1
  • Patent issues 2
  • Sigma Designs controversy 3
  • Playing Xvid encoded files 4
  • Encoding applications 5
  • Identifying encoder version 6
  • See also 7
  • References 8
  • External links 9

History

In January 2001, DivXNetworks founded OpenDivX as part of Project Mayo which was intended to be a home for open source multimedia projects. OpenDivX was an open-source MPEG-4 video codec based on a stripped down version of the MoMuSys reference MPEG-4 encoder. The source code, however, was placed under a restrictive license and only members of the DivX Advanced Research Centre (DARC) had write access to the project CVS. In early 2001, DARC member Sparky wrote an improved version of the encoding core called encore2. This was updated several times before, in April, it was removed from CVS without warning. The explanation given by Sparky was "We (our bosses) decided that we are not ready to have it in public yet."[3]

In July 2001, developers started complaining about a lack of activity in the project; the last CVS commit was several months old, bugfixes were being ignored, and promised documentation had not been written. Soon after, DARC released a beta version of their closed-source commercial DivX 4 codec, which was based on encore2, saying that "what the community really wants is a Winamp, not a Linux."[4] It was after this that a fork of OpenDivX was created, using the latest version of encore2 that was downloaded before it was removed. Since then, all the OpenDivX code has been replaced and Xvid has been published under the GNU General Public License.

Patent issues

As an implementation of MPEG-4 Part 2, Xvid uses many patented technologies.[5] For this reason, Xvid 0.9.x versions were not licensed in countries where these software patents are recognized. With the 1.0.x releases, a GNU GPL v2 license is used with no explicit geographical restriction. However, the legal usage of Xvid may still be restricted by local laws.[6]

Sigma Designs controversy

In July 2002, Sigma Designs released an MPEG-4 video codec called the REALmagic MPEG-4 Video Codec. Before long, people testing this new codec found that it contained considerable portions of Xvid code. Sigma Designs was contacted and confirmed that a programmer had based REALmagic on Xvid, but assured that all GPL code would be replaced to avoid copyright infringement. When Sigma Designs released the supposedly rewritten REALmagic codec, the Xvid developers immediately disassembled it and concluded that it still contained Xvid code, only rearranged in an attempt to disguise its presence. The Xvid developers decided to stop work and go public to force Sigma Designs to respect the terms of the GPL. After articles were published in Slashdot[7] and The Inquirer,[8] in August 2002 Sigma Designs agreed to publish their source code.[9]

Playing Xvid encoded files

Encoder and decoder configuration dialog

Primarily due to concerns over patents, the official Xvid web site does not provide binary versions of the Xvid codec. However, it does link to supporting web sites that provide [10]

Xvid is not a video format – it is a program (codec) for compressing and decompressing to the MPEG-4 ASP format. Since Xvid uses MPEG-4 Advanced Simple Profile (ASP) compression, any video that is encoded with it is termed "MPEG-4 ASP video" – not "Xvid video" – and can therefore be decoded with all MPEG-4 ASP compliant decoders. This includes a large number of media players and decoders, in particular all the ones based on the free/open source libavcodec library from FFmpeg (for example, MPlayer, VLC, ffdshow or Perian).

Xvid encoded files can be written to a CD or DVD and played in some (not all) DivX compatible DVD players and media players. However, Xvid can optionally encode video with advanced MPEG-4 features that most DivX Certified set-top players do not support. Files encoded with global motion compensation, Qpel, MPEG quantization, multiple B-frames or files that exceed the VBV limitations may not play back properly on DivX Certified hardware devices.

For example, Xvid specifies three warp points for its implementation of global motion compensation as opposed to the single warp point implementation of DivX. Enabling some of the more advanced encoding features can compromise player compatibility. Some issues exist with the custom quantization matrices used in tools such as AutoGK that automate encoding with Xvid. This can (depending on the decoder chipset of the set-top player in question) produce videos that have unstable playback and artifacts. However, most recent model DivX compatible DVD players have improved support for custom quantization matrices.

Encoding applications

Operating systems Software Comment
Windows VirtualDub, DVDx, xvid encraw, AutoGK etc. And all other applications that support encoding through the VfW framework.
Mac OS X, Linux, BSD, and Windows MEncoder, Transcode, Avidemux, VLC,[11] etc. These platform and framework independent applications access the Xvid library directly.

Identifying encoder version

Xvid encoded videos include, in the video stream, a textual identifier that can be mapped to the Xvid version used for encoding.[12][13]

Identifier Version Release date
XviD0021 Beta1 2003/11/03
XviD0023 Beta2 2003/12/05
XviD0025 Beta3 2003/12/26
XviD0026 RC1 2004/01/25
XviD0028 RC2 2004/02/07
XviD0029 RC3 2004/02/29
XviD0030 RC4 2004/04/05
XviD0034 1.0.0 2004/05/16
XviD0035 1.0.1 2004/06/05
XviD0036 1.0.2 2004/08/29
XviD0046 1.1.2, 1.1.3
XviD0047 1.2.0 (dev)
XviD0048 1.2.0 (dev)
XviD0049 1.2.0
XviD0050 1.2.1, 1.2.2
XviD0055 1.3.0 (dev)
XviD0057 1.3.0 (dev)
XviD0061 1.3.0 RC1
XviD0062 1.3.0
XviD0063 1.3.1
XviD0064 1.3.2
XviD0065 1.3.3
XviD0070 1.4.0 (dev)

See also

References

  1. ^ "Xvid.org FAQ". Xvid is Free Software and published under the GNU GPL license. 
  2. ^ "DivX download page". 
  3. ^ DLFP: Interview de l'équipe XviD et sortie de la version 1.0.1
  4. ^ [vorbis] Vorbis ACM codec
  5. ^ MPEG-4 Visual Patent Portfolio License Cross-Reference Chart (PDF)
  6. ^ See mailing list discussions [1], [2], [3].
  7. ^ Slashdot | Sigma Designs Accused of Copyright Infringement
  8. ^ XVID asks Sigma to stop copyright breach - The INQUIRER
  9. ^ SIGMA MAKES SOURCE CODE AVAILABLE FOR ITS MPEG-4 VIDEO CODEC archived (PDF)
  10. ^ Xvid.org: Downloads. Accessed on May 25, 2009.
  11. ^ vlc and xvid encoding
  12. ^ The bitstream revision number is defined as XVID_BS_VERSION in xvid.h.
  13. ^ http://forum.doom9.org/showthread.php?t=83172

External links

  • Xvid.org web site
  • Xvid Setup/Reference Guide @ Digital Digest
  • Xvid Binary Download Page - Links to Windows/Linux binaries on the official site
  • Xvid Source Code Download Page - includes daily snapshots on the official site
  • Xvid QuickTime Component - unofficial Xvid component for Mac OS X
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.