Difference between revisions of "Codec"

From VideoLAN Wiki
Jump to navigation Jump to search
(Add subtitle section)
Line 154: Line 154:
| [[MusePack]]
| [[MusePack]]
==Subtitle Codecs==
| '''Chaoji VCD (CVD)'''
| [[CVD]]
| '''SVCD (Overlay Graphics)'''
| [[OGT]]

Revision as of 02:27, 7 February 2006

See Also the Official documentation: list of codecs

For more information of codecs in general, look ar wikipedia and wiki.multimedia.cx.

Codec is short for coder/decoder. For portability to almost all decoders, we recommend using the MPEG-1 standard of vcodec=mp1v, acodec=mpga, and mux=mpeg1.

To save a file in a different codec, you can use the transcoding wizard or transcode from the command prompt with a command like this:

vlc file --sout='#transcode{vcodec=mp1v, vb=1024, acodec=mpga, ab=128}:std{access=file, mux=mpeg1, url=C:\file_name.mpg}'

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
SVQ1 Sorenson Video v1
SVQ3 Sorenson Video v3
WMV1 Windows Media Video v1
WMV2 Windows Media Video v2
WMV3 Windows Media Video v3 / VC9 (unsupported)
DVSD Digital Video
H263 H263
h264 H264
theo Theora
IV20 Indeo Video
RV10 Real Media Video
cvid Cinepak
VP31 On2 VP
FLV1 Flash Video
CYUV Creative YUV
HFYU Huffman YUV
MSVC Microsoft Video v1
MRLE Microsoft RLE Video
AASC Autodesc RLE Video

Audio Codecs

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

name description
mpga MPEG audio (recommended for portability)
mp3 MPEG Layer 3 audio
mp4a MP4 audio
a52 or ac3 Dolby Digital (A52 or AC3)
vorb Vorbis
spx Speex
AAC (Advanced Audio Coding)
Windows Media Audio
DV Audio
flac or fl32 FLAC
QuickTime Audio
Real Audio

Subtitle Codecs

Chaoji VCD (CVD) CVD
SVCD (Overlay Graphics) OGT


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

name description
ts MPEG Transport Stream, primarily used for streaming MPEG
ps MPEG Program Stream, primarily used for saving MPEG data to disk
avi AVI
mp4 MPEG-4
asf ASF
dummy dummy output, can be used in creation of MP3 files.
ogg Xiph.org's ogg container format. Can contain audio, video, and metadata.
Help VideoLAN by adding to this page!
Create an account to start editing, and then click here to add to this article.