Difference between revisions of "Codec"

From VideoLAN Wiki
Jump to navigation Jump to search
(Delete porno spam links; add example of how to call vlc.)
Line 4: Line 4:
 
layer 1 audio), and mux=mpeg1 (MPEG 1 multiplexing).
 
layer 1 audio), and mux=mpeg1 (MPEG 1 multiplexing).
  
The minimal command to transcode from a capture card to  
+
Some examples are in the [[How to/Use a Capture Card|capture card how to]]
a portable MPEG file is thus:
 
vlc v4l:// :v4l-norm=1: '--sout=#transcode{vcodec=mp1v,vb=2030,audio-sync,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=file,mux=mpeg1,url="out_file.mpg"}}'
 
  
These MPEG files have been verified to work with:
 
  
* Windows Media Player 10
+
==Video Codecs==
* Apple QuickTime Player 7
+
 
* XINE 1.0
+
Use the "name" part in you vcodec=... commands
* ffplay
 
* xanim 2.80 (no audio)
 
  
==Video Codecs==
+
{|
 +
| '''name'''
 +
| description
 +
|-
 +
| '''mp1v'''
 +
| [[MPEG-1]] Video - recommended for portability
 +
|-
 +
| '''mp2v'''
 +
| [[MPEG-2]] Video - used in DVDs
 +
|-
 +
| '''mp4v'''
 +
| [[MPEG-4]] Video
 +
|-
 +
|
 +
| [[Sorenson Video]]
 +
|-
 +
|
 +
| [[Windows Media Video]]
 +
|-
 +
|
 +
| [[Digital Video]]
 +
|-
 +
| '''MJPG'''
 +
| [[MJPEG]]
 +
|-
 +
| '''H263'''
 +
| [[H263]]
 +
|-
 +
| '''h264'''
 +
| [[H264]]
 +
|-
 +
| '''theo'''
 +
| [[Theora]]
 +
|-
 +
|
 +
| [[Indeo Video]]
 +
|-
 +
|
 +
| [[Real Media Video]]
 +
|-
 +
|
 +
| [[Cinepak]]
 +
|-
 +
|
 +
| [[On2 VP]]
 +
|-
 +
|
 +
| [[Flash Video]]
 +
|-
 +
|
 +
| [[Creative YUV]]
 +
|-
 +
|
 +
| [[Huffman YUV]]
 +
|}
  
* (vcodec=mp1v) [[MPEG-1]] (recommended for portability)
 
* (vcodec=mp2v) [[MPEG-2]]
 
* (vcodec=mp4v) [[MPEG-4]]
 
* [[Sorenson Video]]
 
* [[Windows Media Video]]
 
* [[Digital Video]]
 
* (vcodec=MJPG) [[MJPEG]]
 
* (vcodec=H263) [[H263]]
 
* (vcodec=h264) [[H264]]
 
* (vcodec=theo) [[Theora]]
 
* [[Indeo Video]]
 
* [[Real Media Video]]
 
* [[Cinepak]]
 
* [[On2 VP]]
 
* [[Flash Video]]
 
* [[Creative YUV]]
 
* [[Huffman YUV]]
 
  
 
==Audio Codecs==
 
==Audio Codecs==
  
* (acodec=mpga) [[MPEG audio]] (recommended for portability)
+
{|
* (acodec=mp3) [[MP3 audio]]
+
| '''name'''
* (acodec=mp4a) [[MP4 audio]]
+
| description
* (acodec=a52 or ac3) [[Dolby Digital]] ([[AC3]] or [[A52]])
+
|-
* [[DTS]]
+
| '''mpga'''
* (acodec=vorb) [[Vorbis]]
+
| [[MPEG audio]] (recommended for portability)
* (acodec=spx) [[ Speex]]
+
|-
* [[AAC (Advanced Audio Coding)]]
+
| '''mp3'''
* [[Windows Media Audio]]
+
| [[MP3 audio]] - see also [[How To/Create an MP3]]
* [[DV Audio]]
+
|-
* (acodec=flac or fl32) [[FLAC]]
+
| '''mp4a'''
* [[LPCM]]
+
| [[MP4 audio]]
* [[ADPCM]]
+
|-
* [[AMR]]
+
| '''a52''' or '''ac3'''
* [[QuickTime Audio]]
+
| [[Dolby Digital]] ([[AC3]] or [[A52]])
* [[Real Audio]]
+
|-
* [[MACE]]
+
|
* [[MusePack]]
+
| [[DTS]]
 +
|-
 +
| '''vorb'''
 +
| [[Vorbis]]
 +
|-
 +
| '''spx'''
 +
| [[ Speex]]
 +
|-
 +
|
 +
| [[AAC (Advanced Audio Coding)]]
 +
|-
 +
|
 +
| [[Windows Media Audio]]
 +
|-
 +
|
 +
| [[DV Audio]]
 +
|-
 +
| '''flac''' or '''fl32'''
 +
| [[FLAC]]
 +
|-
 +
|
 +
| [[LPCM]]
 +
|-
 +
|
 +
| [[ADPCM]]
 +
|-
 +
|
 +
| [[AMR]]
 +
|-
 +
|
 +
| [[QuickTime Audio]]
 +
|-
 +
|
 +
| [[Real Audio]]
 +
|-
 +
|
 +
| [[MACE]]
 +
|-
 +
|
 +
| [[MusePack]]
 +
|}
 +
 
 +
 
 +
== Muxers ==
 +
 
 +
{{stub}}
 +
 
 +
{|
 +
| '''name'''
 +
| description
 +
|-
 +
|
 +
|
 +
|}

Revision as of 17:43, 14 January 2006

Codec is short for coder/decoder. For portability to almost all decoders, we recommend using vcodec=mp1v (MPEG 1 video), acodec=mpga (MPEG 1 layer 1 audio), and mux=mpeg1 (MPEG 1 multiplexing).

Some examples are in the capture card how to


Video Codecs

Use the "name" part in you vcodec=... commands

name description
mp1v MPEG-1 Video - recommended for portability
mp2v MPEG-2 Video - used in DVDs
mp4v MPEG-4 Video
Sorenson Video
Windows Media Video
Digital Video
MJPG MJPEG
H263 H263
h264 H264
theo Theora
Indeo Video
Real Media Video
Cinepak
On2 VP
Flash Video
Creative YUV
Huffman YUV


Audio Codecs

name description
mpga MPEG audio (recommended for portability)
mp3 MP3 audio - see also How To/Create an MP3
mp4a MP4 audio
a52 or ac3 Dolby Digital (AC3 or A52)
DTS
vorb Vorbis
spx Speex
AAC (Advanced Audio Coding)
Windows Media Audio
DV Audio
flac or fl32 FLAC
LPCM
ADPCM
AMR
QuickTime Audio
Real Audio
MACE
MusePack


Muxers

Help VideoLAN by adding to this page!
Create an account to start editing, and then click here to add to this article.
name description