Skip to content


AVI multiplexer

Register name used to load filter: avimx
This filter may be automatically loaded during graph resolution.

This filter multiplexes raw or compressed audio and video to produce an AVI output.

Unlike other multiplexing filters in GPAC, this filter is a sink filter and does not produce any PID to be redirected in the graph.
The filter can however use template names for its output, using the first input PID to resolve the final name.
The filter watches the property FileNumber on incoming packets to create new files.

The filter will look for property AVIType set on the input stream.
The value can either be a 4CC or a string, indicating the mux format for the PID.
If the string is prefixed with + and the decoder configuration is present and formatted as an ISOBMFF box, the box header will be removed.


dst (cstr): location of destination file
fps (frac, default: 25/1): default framerate if none indicated in stream
noraw (bool, default: false): disable raw output in AVI, only compressed ones allowed
opendml_size (luint, default: 0): force opendml format when chunks are larger than this amount (0 means 1.9Gb max size in each riff chunk)