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
6
votes
1 answer

Parse AVI video with Perl

I have a surveillance .avi video file that includes mostly still (unchanging) frames. However, certain objects (and people) enter the field of view and exit within short period of time. I need to extract those frames. The entire video lasts very…
Zhang18
  • 4,800
  • 10
  • 50
  • 67
5
votes
1 answer

Getting frames from .avi video using OpenCV

#include "cv.h" #include "highgui.h" int main(int argc, char** argv) { CvCapture* capture=0; IplImage* frame=0; capture = cvCaptureFromAVI("C:\\boy walking back.avi"); // read AVI video if( !capture ) throw "Error when reading…
sue-ling
  • 399
  • 2
  • 11
  • 21
5
votes
4 answers

GIF to AVI with windows Animate Control

I was trying to convert a GIF image (Ajax waiting like): to AVI that will be used with TAnimate control (win32 animation control). I have tried a few tools, but the problem is that the output AVI is either not suitable for the Animation control or…
kobik
  • 21,001
  • 4
  • 61
  • 121
5
votes
1 answer

Error while converting Bitmaps to AVI using Accord.Video.VFW.dll

While converting Bitmaps to AVi with Accord.Video.VFW.dll, i use this code: AVIWriter writer = new AVIWriter(); // create new AVI file and open it writer.Open( "test.avi", 320, 240 ); // create frame image Bitmap image = new Bitmap( 320, 240 ); for…
5
votes
2 answers

How to play avi files on browser

My team needs to develop a system that plays avi files on the web. These files are recorded by a hardware whose firmware we don't have access to. We are trying to negotiate it with the manufacturer to change the file format to mp4, but until now we…
mvalencaa
  • 451
  • 1
  • 6
  • 16
5
votes
1 answer

Unable to open video file in OpenCV python

I'm trying to use the basic example code from OpenCv's Website to open a video file. I have tried everything I could find online but no matter what I get this error VIDEOIO(cvCreateFileCapture_AVFoundation (filename)): raised unknown C++…
babbitt
  • 103
  • 12
5
votes
0 answers

Editing metadata of a video file in Android

I'm want to be able to programmatically edit the metadata of a video file after it has already been saved. Can someone point me in the right direction? Are the MediaSession and MediaMetadata classes the ones to use?
Will
  • 163
  • 4
  • 12
5
votes
1 answer

How to get AVICOMPRESSOPTIONS without AVISaveOptions Dialog?

I am attempting to programmatically generate a AVI file from Bitmaps using an example I found somewhere online (can't remember the exact source). Here is my code to get the options unsafe private void SetOptions() { AVICOMPRESSOPTIONS…
5
votes
2 answers

Create an .avi file from a list of bitmap images

I am currently trying to make a screen recorder. I made list of bitmap images and want to put them in an .avi file. Is there anyway to do that in C#? note: i'm a novice, so keep things simple
grabthefish
  • 962
  • 14
  • 30
5
votes
1 answer

OpenCV frame capture from AVI

I am working on a project with openCV 2.2. I need to do processing on each frame of an AVI file but when I run my code it only grabs the first frame of the file. The CV_CAP_PROP_POS_FRAMES does not seem to be working. Any ideas why not? …
Chris Mondiek
  • 153
  • 4
  • 7
4
votes
1 answer

Library or component for creating video files (AVI, etc.) with Delphi 6 (C/C++ OK too)?

I have a stream of JPEG frames and accompanying audio buffers that I want to write to a video file. If possible, I'd like to let the user choose their format from the available Windows codecs if the library/component supports the use of those. If…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
4
votes
3 answers

how to embed an .AVI in html?

I've found some examples of .AVI in html on the web. But my page http://pianocheater.com/VIDEO.html is problematic. It's fine with chrome on my pc. In IE, you get that dang bar at the top and then the videos are blank after that. It works on my pc,…
Stephen Hazel
  • 859
  • 2
  • 12
  • 27
4
votes
0 answers

Embed AVI as a resource file in Delphi

I have a TForm with a TPanel which is linked to the display properties of a TMediaPlayer. By selecting Project -> Resources and Images I was able to insert my video as a resource file, where filename = abc.avi type = RCDATA identifier =…
4
votes
1 answer

Capture video using webcam and save as avi using c#

Possible Duplicate: Webcam capture and convert to avi Is there any way of capturing video from webcam, encode and save the video as an avi file (as a movie) using c#?
Dulini Atapattu
  • 2,735
  • 8
  • 33
  • 47
4
votes
3 answers

iOS Convert AVI to MP4

(Please note I've already looked at this other SO post.) The Problem I'm trying to convert an avi video to an mp4 so that I can play it natively on an iOS app using Objective-C What I've Tried I'm trying the following code to do that conversion: -…
Swinny89
  • 7,273
  • 3
  • 32
  • 52
1
2
3
35 36