Академический Документы
Профессиональный Документы
Культура Документы
Codec
From VideoLAN Wiki
A part of the program which understands a type of video or audio (short for Coder/Decoder or
Compression/Decompression). DivX and Theora are examples of video codecs; MP3 and Vorbis are audio codecs. The
output stream produced when a codec to audio or video is generally "muxed" into a container format, such as AVI or Ogg.
As certain codecs are often associated with certain container formats, the name of the container is often used to imply the
codec, such as "Ogg", which usually refers to a Vorbis stream in an Ogg container.
To know what codecs are readable with VLC media player, see VLC Features Formats.
To save a file in a different codec, you can use the streaming wizard or transcode from the command prompt with a
command like this:
Contents
1 Video Codecs
2 Audio Codecs
2.1 No-"name" Codecs
3 Subtitle Codecs
4 Muxers
5 See Also
Video Codecs
Use the "name" part in your 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
https://wiki.videolan.org/Codec/ 1/4
1/11/2017 Codec - VideoLAN Wiki
Audio Codecs
Use the "name" part in your acodec=... commands
name description
mpga MPEG audio (recommended for portability)
mp3 MPEG Layer 3 audio
mp4a MP4 audio
a52 Dolby Digital (A52 or AC3)
vorb Vorbis
spx Speex
flac or fl32 FLAC
No-"name" Codecs
DTS
AAC (Advanced Audio Coding)
Windows Media Audio
https://wiki.videolan.org/Codec/ 2/4
1/11/2017 Codec - VideoLAN Wiki
DV Audio
LPCM
ADPCM
AMR
QuickTime Audio
RealAudio
MACE
MusePack
Subtitle Codecs
See Subtitles Codec for more information.
Muxers
Use the "name" part in your mux=... commands
name description
MPEG-1 multiplexing - recommended for portability. Only works with mp1v video and mpga audio, but works
mpeg1
on all known players
ts MPEG Transport Stream, primarily used for streaming MPEG. Also used in DVDs
ps MPEG Program Stream, primarily used for saving MPEG data to disk.
mp4 MPEG-4 mux format, used only for MPEG-4 video and MPEG audio.
avi AVI
asf ASF
dummy dummy output, can be used in creation of MP3 files.
ogg Xiph.org's (http://www.xiph.org/) ogg container format. Can contain audio, video, and metadata.
See Also
FourCC and http://www.fourcc.org/
https://wiki.videolan.org/Codec/ 3/4
1/11/2017 Codec - VideoLAN Wiki
http://discerning.com/topics/audiovideo/video_encoding.html
https://wiki.videolan.org/Codec/ 4/4