Questions tagged [avi]

This tag is for questions about playback of, creation of, and programmatic interaction with, Audio Video Interleave (*.avi) files. The AVI format was introduced by Microsoft in 1992 and has been widely adopted and modified since, but remains mostly supported on Microsoft devices

The AVI - "Audio Video Interleave" - format was introduced by Microsoft in 1992 and has been widely adopted and modified since, notably with the widely-used file format extensions developed by the Matrox OpenDML group in February 1996.

AVI files can contain both audio and video data in a file container that allows synchronous audio-with-video playback.AVI is a derivative of the Resource Interchange File Format (RIFF), which divides a file's data into blocks, or "chunks." Each "chunk" is identified by a FourCC tag. An AVI file takes the form of a single chunk in a RIFF formatted file, which is then subdivided into two mandatory "chunks" and one optional "chunk". By way of the RIFF format, the audio-visual data contained in the "movi" chunk can be encoded or decoded by software called a codec, which is an abbreviation for (en)coder/decoder. Upon creation of the file, the codec translates between raw data and the (compressed) data format used inside the chunk. An AVI file may carry audio/visual data inside the chunks in virtually any compression scheme, including Full Frame (Uncompressed), Intel Real Time (Indeo), Cinepak, Motion JPEG, Editable MPEG, VDOWave, ClearVideo / RealVideo, QPEG, and MPEG-4 Video.

Since AVI's introduction in the 1990s, evolving requirements for computerized video files have resulted in many situations that the original AVI spec did not anticipate, and a variety of responses have come forward. As a result, AVI-based videos have fallen victim to some format fragmentation, although there are widely-available codecs and other software (e.g. VLC Player) which can play all major types of video files.

526 questions
0
votes
1 answer

"Parameter is not valid" When getting a frame from an avi file.

so I have this code here that pulls out the frames from an AVI file, makes a clone of them, and stores them in an array. After a few hundred times, I get an error saying "Parameter is not valid." I've searched around for answers, but all the answers…
0
votes
2 answers

How to split AVI files

I am trying to split a large AVI 2.0 (OpenDML format) file in smaller parts (under 1GB in my case) in order to be able to open the parts with VFW (avifil32.dll). What is the best way to achieve this splitting (preferably in C#)? One of the options…
Vlad
  • 85
  • 1
  • 7
0
votes
1 answer

How to find which of two AVI files that should be equal has an error?

I've got two very large AVI files that are supposedly backup copies of one another. They differ in exactly one bit (yes bit, not even a byte): Windows "fc /b" reports the following as the only difference: 3759B86F: B1 B3 ffmpeg -v error reports same…
Oopsilon
  • 23
  • 3
0
votes
1 answer

websend.avi as a custom resource for TAnimate?

In Delphi XE2, I try to use websend.avi as a custom resource for TAnimate, by including it in Project/Resources and Images, in the same way as referred here: Animate1.ResName := 'WEBSENDAVI'; Animate1.Active := True; However, while the same…
user1580348
  • 5,721
  • 4
  • 43
  • 105
0
votes
1 answer

Getting AVI file duration

I am using VFW unit from JEDI wrapper on WinAPI. The code I am writing is intended to search user drives and detect warez (note: deciding if some file is legal or not is beyond scope of this question). We do MP3, WMA and some graphic file search.…
smok1
  • 2,940
  • 26
  • 35
0
votes
1 answer

Saving AVI files in C++ after creating

I'm using Wischik's example code for creating AVI files, however after I run the code and it exits successfully no AVI file is created. I looked through the code and cannot find where it writes/saves/creates an AVI file on your computer. Does…
rails_developer
  • 149
  • 1
  • 17
0
votes
2 answers

Error on getting AVI file duration

I am using VFW unit from JEDI wrapper on WinAPI. The code I am writing is intended to search user drives and detect warez. We do MP3, WMA and some graphic file search. Now we want to detect illegal movies. I want to open AVI file, read some details…
smok1
  • 2,940
  • 26
  • 35
0
votes
0 answers

HAVI undefined error when creating AVI files

I'm trying to create an AVI file from a series of BMP images and am using Lucian Wischik's source code from http://www.wischik.com/lu/programmer/avi_utils.html however when I #include "avi_utils.h" I get a bunch of errors when compiling that…
rails_developer
  • 149
  • 1
  • 17
0
votes
1 answer

What can cause erroneous or missing index in AVI file?

I've built an AVI M-jpeg encoder which basically build an AVI Riff header with all the infos. I'm adding a frame index at the end of the video stream as specified in the specs. Index is built as follow: idx1[Size], then…
Léon Pelletier
  • 2,701
  • 2
  • 40
  • 67
0
votes
1 answer

Avi file compression

Im writing a .Net application, which joins bitmap files into .avi video file. To do that im using AVIFile api. Everything went fine until i've got to the point where i needed to compress resulting video. I've found a method AVISaveOptions which…
Nikita B
  • 3,303
  • 1
  • 23
  • 41
0
votes
1 answer

Is there any reasonably easy way to provide and stream .avi and .wmv videos on web browser?

Is there any reasonably easy way to provide .avi and .wmv videos on webpages and later stream the videos directly off the web browser? I realize there might have been similar questions asked around google in the past, I wanted to see if there are…
Hank Liu
  • 85
  • 1
  • 3
  • 9
0
votes
1 answer

How to subplot and save movies in MATLAB?

I've made two movies in MATLAB and I am attempting to get them both in the same figure and save the result as an AVI file. I understand how to use the subplot() function, but for some reason it just won't display properly. My attempt so far is…
Kadin
  • 160
  • 2
  • 5
  • 17
0
votes
1 answer

Get error info from cvCaptureFromAVI

I'm working with a program, which I need to document and review, but which I did not write, nor did anyone I can easily reach. One of the problems I've run into is that it is supposed to read and work with .avi files, but every time I try, it fails.…
Bill
  • 698
  • 1
  • 5
  • 22
0
votes
0 answers

using cvRetrieveFrame get strange image

I am reading a avi file, and do some background subtrcation work. The wierd thing is when I use cvRetrieveFrame, I got a strange image, like below: origin: cvRetrieveFrame returns: I don't know what's the problem. Here is my code…
hakunami
  • 2,351
  • 4
  • 31
  • 50
0
votes
0 answers

Save video read from VirtualDubMod to file using command line only?

I want to compile several video clips using Avisynth on a server. I generate the .avs file and let VirtualDubMod read the file. How do I save the video read from VirtualDubMod to an avi file using the command line only? If I open VirtualDubMod then…
Simon Zettervall
  • 1,764
  • 1
  • 15
  • 31