Difference between revisions of "AVI"
Jump to navigation
Jump to search
m (→Module options: Update module option for --avi-index) |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{mux|id=avi|encoder=y}} | {{mux|id=avi|encoder=y}} | ||
− | {{wikipedia| | + | {{wikipedia|Audio Video Interleave}} |
'''AVI (Audio Video Interleave)''' is a popular [[container]] format used to hold video and audio data. | '''AVI (Audio Video Interleave)''' is a popular [[container]] format used to hold video and audio data. | ||
Line 6: | Line 6: | ||
AVI files aren't designed to hold [[subtitles]]. Also, they don't support some features which more recent container formats support. | AVI files aren't designed to hold [[subtitles]]. Also, they don't support some features which more recent container formats support. | ||
+ | |||
+ | AVIs are based on [[RIFF]]s. | ||
+ | |||
+ | ; NOTE | ||
+ | : The VLC AVI [[muxer]] (encoder) was severly broken in many versions. Please use the latest version, {{VLC}} {{VLC:latest version}}. | ||
+ | |||
+ | == Module options == | ||
+ | When playing AVI files, you can use the following options | ||
+ | * --avi-interleaved ([[boolean]]) | ||
+ | *: Force interleaved method. Default off (false). | ||
+ | * --avi-index ([[integer]]) | ||
+ | *: Recreate a index for the AVI file. Use this if your AVI file is damaged or incomplete (not seekable). Values are | ||
+ | *:* 0: Ask for action (default) | ||
+ | *:* 1: Always fix | ||
+ | *:* 2: Never fix | ||
+ | *:* 3: Fix when necessary | ||
+ | |||
+ | == Specification == | ||
+ | * http://msdn2.microsoft.com/en-us/library/ms779636.aspx | ||
== Source code == | == Source code == | ||
{{file|modules/mux/avi.c|output muxer}} | {{file|modules/mux/avi.c|output muxer}} | ||
− | {{file|modules/demux/avi|input demuxer}} | + | {{file|modules/demux/avi/avi.c|input demuxer}} |
− |
Latest revision as of 06:13, 23 February 2019
avi
|
VLC can encode and decode this container. The module name to use at the command line is avi. |
AVI (Audio Video Interleave) is a popular container format used to hold video and audio data.
To play an AVI file, the audio and video files need to be encoded with codecs the player understands.
AVI files aren't designed to hold subtitles. Also, they don't support some features which more recent container formats support.
AVIs are based on RIFFs.
- NOTE
- The VLC AVI muxer (encoder) was severly broken in many versions. Please use the latest version, VLC media player 3.0.12.
Module options
When playing AVI files, you can use the following options
- --avi-interleaved (boolean)
- Force interleaved method. Default off (false).
- --avi-index (integer)
- Recreate a index for the AVI file. Use this if your AVI file is damaged or incomplete (not seekable). Values are
- 0: Ask for action (default)
- 1: Always fix
- 2: Never fix
- 3: Fix when necessary
- Recreate a index for the AVI file. Use this if your AVI file is damaged or incomplete (not seekable). Values are
Specification
Source code
- modules/mux/avi.c (output muxer)
- modules/demux/avi/avi.c (input demuxer)