Difference between revisions of "AVI"

From VideoLAN Wiki
Jump to navigation Jump to search
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.
 +
 +
; NOTE
 +
: The VLC AVI [[muxer]] (encoder) is severly broken. In newer VLC versions you should use the [[ffmpeg]] muxers instead. (This basically means: delete your avi mux plugin file)
 +
 +
== 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 (default)
 +
*:* 1: Always fix
 +
*:* 2: Never fix
  
 
== 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|input demuxer}}
'''Note:''' The VLC AVI muxer is severly broken. In newer VLC version you should use the ffmpeg muxers instead. (This basically means: delete your avi mux plugin file)
 

Revision as of 06:46, 17 December 2006

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.

NOTE
The VLC AVI muxer (encoder) is severly broken. In newer VLC versions you should use the ffmpeg muxers instead. (This basically means: delete your avi mux plugin file)

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 (default)
    • 1: Always fix
    • 2: Never fix

Source code