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

Playing AVI files with the JMF

I have long been trying to use the Java Media Framework in order to play a video inside a JFrame. I have chosen the JMF, as it appears to have the structure that I like the most. I have been trying to play an AVI video, however it comes up with this…
0
votes
1 answer

Kinect Color Stream to AVI Video

I trying to save video from Kinect. I have WritableBitMap: //Color frame ready private void SensorColorFrameReady(object sender, ColorImageFrameReadyEventArgs e) { //Get Color Frame using (ColorImageFrame colorFrame =…
Norbert Pisz
  • 3,392
  • 3
  • 27
  • 42
0
votes
1 answer

How to use Animation Control to play a transparent AVI?

I'm using the Animation Control on a WTL dialog window, like this: if (!Animate_IsPlaying(m_aviWindow)) { PTSTR pszAviFile = _T("C:\\build\\VS2008ImageLibrary\\Animations\\FILEMOVE.AVI"); //MAKEINTRESOURCE(IDR_AVI1); …
nim
  • 384
  • 2
  • 14
0
votes
0 answers

How to save an animation and a graph in the same video file MatLab?

I am doing an experiment where i measure the temperature of a substance and want to record the results in a video file. I want the video file to have the actual video of the experiment and the graph of the temperature in the SAME video file. I was…
0
votes
3 answers

Html can't load avi file in parent directory

In html, this line succesfully loads a local avi I have in my hard disk
Muteking
  • 1,465
  • 5
  • 18
  • 31
0
votes
1 answer

Include function to generate TIFF files from .AVI

I am trying to make a function that takes in a movie (.AVI) and produce series of images (.TIF). I know that I can use this in the command line: obj = VideoReader('movie.m'); vid = read(obj); frames = obj.NumberOfFrames; for x = 1 : frames …
0
votes
1 answer

Media Element speedratio rewind does not work

I was following a tutorial on how to control video using WPF mediaelement. For most parts, all is good except the rewind video function. I tried looking for solutions and came across on a thread that suggested pausing the video and changing the…
Tumelo
  • 301
  • 3
  • 18
0
votes
1 answer

How can I take a .avi file from a webcam and transform it into a .mat file for use in matlab?

I am using a commercial webcam (GearHead) which records .avi video files. I want to analyze the individual frames of the .avi file matlab code, but the series of frames first need to be in .mat format. I don't need/want audio. How can I convert…
AmyNerd
  • 21
  • 1
  • 3
0
votes
2 answers

How to use OpenCV VideoWriter on Mac

I have the following code which writes a few frames to a .avi video file. This works perfectly fine on a windows machine but when I try it on my Mac it creates the .avi file and displays no errors, but the file will not play. I haven't been able to…
Tom smith
  • 670
  • 2
  • 15
  • 31
0
votes
1 answer

BMP2avi in python

I am looking for a python code that takes series of BMP file and merges them into Avi file (and get the parameter frames per second from the user) does anyone has an idea where to begin? Ariel
ariel
  • 2,637
  • 4
  • 20
  • 12
0
votes
1 answer

How to findout codec of a video?

I bought a CSS tutorial. It has many videos that can not played by anything expect their own player. The format of videos are AVI but when you play them it play as sound only and no sound plays. I want to play it with other media players too. I…
mpower
  • 197
  • 1
  • 1
  • 12
0
votes
0 answers

how to create the bitmap from intptr

i am making a video stegnaography project, in which I got the clone of the selected frames from the video and then I have to replace these embedded frames with the real frames in the video. I have used the avifile library so far and i use the cut…
0
votes
1 answer

How play video in Windows Phone application

How to play video on the Windows Phone telephone kept at project resources? The codec is MPEG-1 Layer 2 and the multimedia container is avi. I would like to play this file in Windows Phone Page without any controls(play, pause, stop) visible. I can…
Yoda
  • 17,363
  • 67
  • 204
  • 344
0
votes
1 answer

ImageJ API: how to change the framerate when writing AVI

I would like to use the AVI_Writer from the ImageJ API in my java program. However, even though I can automate the movie writing, I haven't found out how to change the framerate when using the method: writeImage(ImagePlus imp, java.lang.String path,…
Myoch
  • 793
  • 1
  • 6
  • 24
0
votes
1 answer

OpenCV - cvQueryFrame + avi file issue

I'm getting some trouble while opening a no compression avi file on Visual Studio 2012 with OpenCV 2.4.5 (I've tried 2.4.2 to 2.4.8 versions) and it give me the following error, video file c:\ ... \30-1.avi warning: Error opening file…
MSO
  • 409
  • 1
  • 9
  • 22