Input formats

1.File format

    Format Restriction
    Avi None, multiple audio tracks supported
    OpenDML None, multiple audio tracks supported
    Mpeg1/2 Elementary stream, program stream (including vob), transport stream (dvb)
    NuppelVideo Regular/nuppel_gatos/Myth Tv/FFV1rec
    Images Set of bmps or jpeg , name like im0001.bmp im0002.bmp ...
    H263(+) Raw h263(+) video stream
    Mpeg4 Raw mpeg4 video stream (incomplete)
    Mov/3GP/Mpeg4 Simple 3gp/MP4/mov file. Compressed header not supported
    Ogm None i'm aware of

2.Video codec

    Name Comment Dependancy
    DivX,XviD 3.11,4,5 with or without B-frames Lavcodec(bundled)
    VP3 Bundled
    Mpeg1/2 libMpeg2 based Bundled
    Mjpeg Lavcodec based Bundled
    Huffyuv Lavcodec based Bundled
    WMV2 Lavcodec based Bundled
    H263 Lavcodec based Bundled
    FFV1 Lavcodec based Bundled
    H264 Lavcodec based Bundled, experimental
    MSMP4V2 Lavcodec based Bundled
    SVQ3 Lavcodec based Bundled
    Raw rgb Internal Bundled
    DV type ? Lavcodec based Bundled

3.Audio codec

    Name Comment Dependancy
    Uncompressed (PCM)
    AMR Narrow Band Etsi code bundled
    MP3/2 CBR/ABR/... Mad
    AAC Very preliminary support libfaad2
    AC3 A52Dec
    WMA Mostly Working Bundled(libavcodec), works only with gcc 3.4.x!
    Vorbis Mostly Working libvorbis, only in ogm files

4.Codec problem

Problem decompressing frame 

    It means that either the codec returned an error or that avidemux could not find the appropriate video codec.

    You can process the audio and save the avi anyway but cannot process the video.

Save(A+V) will generate bad AVI Save audio will work 

    Same message for audio. The audio codec was not found (not compiled in or unknown).

    You can save and cut the avi, but cannot process the audio

After saving the audio is full of noise (WMA) 

    WMA needs custom muxing problem. Look at the blockalign value in the console (generally 373 or 768)

    Enter that value as bytes per packet in file -> mux options.

5.Format specific

Mpeg file 

    Avidemux cannot open raw mpeg streams. Instead it can open indexed mpeg streams. The index is a text file containing navigation informations. It is needed to allow frame accuracy.

    So either you use the misc->index mpeg menu entry or open directly the mpeg. In the latter case, you will be redirected to the index mpeg dialog with the fields pre-filled. Once the index is created, it will be silently re-opened.

    If the selected file looks like foo1.xxx, avidemux will try to append foo2.xxx, foo3.xxx It is done automatically but the file must have a name like *[0-9].xxx

    Avidemux can handle one (and only one) audio stream from mpeg. This audio stream is referenced by its mpeg (sub) stream id.

    It is C0--c7 for mpeg audio (.mpg, vcd,...), A0--A7 for PCM audio, and 0--7 for AC3 audio.

    So if you want the second ac3 track from your mpeg file, enter 1.

    Of course, you will need the audio codec to play it back (mad or a52).

    You can let avidemux autodetect the audio tracks available using Scan File for audio stream, be aware that it can take a few seconds.

    Mpeg-TS will be considered perfect, i.e. there will be no correction for dropped or damaged packets. It means that if your captured stream is not perfect you will have async problems. In that case, better to use another tool, such as mencoder or transcode.

    If you happen to have a non perfect Mpeg-Ts stream or a mpeg-PES (such as the ones generated by some DVB cards), you can try to use replex to convert them to a proper mpeg PS stream.

Nuppel Video 

    As for mpeg streams, nuppel video file has no internal index.

    Avidemux will rebuild it automatically upon loading (that could take some minutes).

    Avidemux will try to maintain audio/video sync, but it could cause a "plop" from time to time. From personal experience, it is rather good (i tried with a 8 hours long nuppel_gatos file without problem).

    If you used the menu (and not the command line) you will be asked to save an index upon loading. If you say yes and save it, loading this index will load the same nuv file but very quickly.

    For mythTv users with a WinTv PVR x50 or similar cards, the nuv files are in fact plain mpeg, see above.

WMV2 Video 

    Although Avidemux can now open the contents of a WMV2 file (Windows Media Player 7.x/8.x format) - the video data must be contained within an AVI container.

    To create this container, you can use the MEncoder package in copy mode (eg.): mencoder [wmv file] -oac copy -ovc copy -cache 8192 -ofps 100.0 -o [avi file]

    Currently, you must also forcefully set the framerate of the output file to 100.0 frames per second (FPS), otherwise you will experience large amounts of frame dropping when you come to edit your actual video footage.

    After you have created your output file, you can load it into Avidemux for editing.

BMPs Video / Jpeg videos 

    Avidemux can also open a stream of uncompressed bmp files (rgb) or a set of jpeg files.

    Their name must follow the pattern xx0000.bmp xx00001.bmp (that is :m letters + n digits+.bmp). Change bmp to jpg if it is jpeg.