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
0 answers

Append images to a video

Due to the lack of DirectShow filter for the Kinect, I am forced to capture each RGB bitmap individually and merge them. I am currently using the fragile AviFile C# Wrapper, which causes slow frame rate and syncing issues with the audio. How would…
Uri Goren
  • 13,386
  • 6
  • 58
  • 110
0
votes
1 answer

AForge AVI Writer exception

I have written a bit of code that's supposed to create an avi file out of a List. // instantiate AVI writer, use WMV3 codec internal static AVIWriter writer = new AVIWriter( "wmv3" ); private static List imgList = new…
0
votes
1 answer

How to Bundle all required codec in the AVI module?

I had developed the program that let user record a avi file. I used vfw.h lib for AVI record and avi codecs option dialog to let user choose what the codecs option need to be used. This dialog list all AVI codecs that had installed all the computer…
TTGroup
  • 3,575
  • 10
  • 47
  • 79
0
votes
2 answers

Capture stills from avi on Windows

I need to capture stills from avi files. I also need to know avi file duration. The Platform is Windows, the language is C++ (with Qt library). I don't know much about DirectShow or Qt Phonon and I have no time to learn any of them. So I'm looking…
Sergey Skoblikov
  • 5,811
  • 6
  • 40
  • 49
0
votes
2 answers

Avifile32, can't open file with AviManager

I am facing an issue with the AviManager library. I want to create an AVI file to store a video, but I keep getting an error on this line: _aviManager = new AviManager(@"c:\\Recordings\\test.avi", false); Looking into the library, this method looks…
LaCartouche
  • 121
  • 1
  • 11
0
votes
1 answer

Streaming video file through flash player

Well, I am not really sure what are the tags applicable for this thread. I would like to show video files (mp4, avi) in my website but no one should be able to download (unlike youtube, dailymotion, because there are downloaders to download video…
bkrish
  • 627
  • 1
  • 11
  • 23
0
votes
1 answer

OpenCV error (cvCreateFileCapture())

I'm working with OpenCV in C. I intend to run a video on a window (and image process the frames a little before displaying them with an algorithm I made). However the following line: CvCapture* capture = cvCreateFileCapture("eve.avi"); …
0
votes
1 answer

How To Play .avi videos using url in android by programing

How can I play .avi video in android? The video in coming from a url.
Shadik Khan
  • 1,217
  • 1
  • 8
  • 18
0
votes
1 answer

Sheared AVI Files Read with Matlab

I am trying to read an AVI file into Matlab but am having a problem with the frames being sheared. I am using the Matlab code from Mathworks for VideoReader with only a few minor modifications. xyloObj = VideoReader('video.avi'); nFrames =…
Eric
  • 244
  • 5
  • 10
0
votes
1 answer

AviFile Library creates avi bigger than 2 GB- not useable

I am using the AviFile Library to make a avi video from Bitmaps, comming from Kinect. The file size gets really high, and over 2 GB I cannot open these files anymore. I will have to compress these files. Does anyone know a tool how I can compress it…
xandi1987
  • 519
  • 1
  • 5
  • 17
0
votes
3 answers

Convert a Flash movie that only appears to have one frame to AVI

I have never used Flash before but have been given an FLA file which I would like to convert to an AVI file and upload to Youtube. When the file is opened in Adobe Flash CS6, only 1 frame appears in the timeline. I have discovered that one of the…
user18577
  • 643
  • 3
  • 9
  • 21
0
votes
2 answers

OSX- is there an easy way to play mp4, avi, and wmv files?

On Windows 7-8 Media Foundation allows playback of many types of video files. Is there something similar on OSX 10.6 and above? Is there an easy way to use Quicktime, for example? I don't need to do anything fancy, just play the video with the…
TomJeffries
  • 558
  • 1
  • 8
  • 25
0
votes
1 answer

Is it a bad idea to store movies on website in MP4 format?

I am posting this question with hope that somebody will migrate it to more appropriate Stackexchange site if Stackoverflow this question does not sastisfly the rules. I could not find a better place. My question is what is wrong with MP4 movie…
Davit
  • 1,394
  • 5
  • 21
  • 47
0
votes
1 answer

Bitmap to avi exception

I am using the Simple C# Wrapper for the AviFile Library, and the code snippet I found here in order create an avi file from Kinect's color frames. And I get this exception: "Exception in AVIFileOpen: -2147205009" aviManager = new…
Uri Goren
  • 13,386
  • 6
  • 58
  • 110
0
votes
1 answer

AVI file header 'file-size' field not matching the actual size of the file

Ok so I am currently trying to make an avi from a set of bitmaps.So I popped open a sample avi file in a hex editor to check things out. It starts out right with "RIFF". The next four bytes represent the file size: which i got "40 6A EA 00" in HEX.…
digvijay91
  • 697
  • 1
  • 6
  • 21