Fix header of avi-file
avifix [ -i name [ -F string ] [ -f val1,val2 ] [ -N 0x NN ] [ -b bitrate ] [ -e rate[,bits[,channels]] ] [ -a num ] [ -v ] ]
avifix is Copyright (C) by Thomas Oestreich.
avifix fixes the header of an AVI-file with the supplied parameters.
-i name
Specify the name of the AVI-file.
-F string
Specify the video codec as FourCC.
Possible values are RGB, RIFF and TIFF. ???
-f val1,val2
Use this option to change the frame rate and scale information in the header of the AVI-file. Both values must not be < 0.
-N 0xnn
Use this option to change the audio format identifier in the header of the AVI-file. Here are some possible values:
0x1 PCM uncompressed audio
0x50 MPEG layer-2 aka MP2
0x55 MPEG layer-3 aka MP3
0x2000 AC3 audio
-b bitrate
Use this option to change the encoder bitrate in the header of the AVI-file. bitrate has to be given in units of kbps.
-e rate[,bits[,channels]]
Use this option to change the audio stream parameters of in the header of the AVI-file.
-a num
Use this option to change the audio stream parameters of audio track number num in the header of the AVI-file.
-v
Print version information and exit.
The command
avifix -i my_file.avi -f 30,1
changes the header of the file my_file.avi and sets the frame rate to 30 fps.
avifix was written by Thomas Oestreich
<[email protected]> with contributions from many others. See AUTHORS for details.