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

openCV - imshow at 120 fps

I'm working with openCV GPU processing a video file at 120 fps. My question is: Can I display the processed images at the same frame rate? When I'm displaying images using imshow the fps decreases to 20~30. Can I display these images faster (up to…
MSO
  • 409
  • 1
  • 9
  • 22
3
votes
2 answers

c# AForge.NET - how to save video from camera to file

I need some help with saving video from laptop camera to file. Now i use code to search video devices and previous video on pictureBox. I've tried with AVIFileWrite but I failed. How to use VideoFileWriter to achive my goal?? using System; using…
user2706448
  • 41
  • 1
  • 1
  • 2
3
votes
0 answers

How to play other video formats in JavaFX

I am busy with a movie/video-clip player/library. I want to do this in JavafX. Almost 90% of the video clips is in AVI format. I cannot for several reasons covert the movies/video-clips. I also want the program to mark the video files that were…
cp5
  • 1,087
  • 6
  • 26
  • 58
3
votes
3 answers

How do I tell the browser to open an avi file with VLC or similar in HTML?

So I have a list of avi files on a web page (For my own purposes!), and was wondering what do I have to put into the html code to tell the browser to open VLC? or mplayer or simliar?
chutsu
  • 13,612
  • 19
  • 65
  • 86
3
votes
0 answers

OpenCV videocapture for large files

I am using OpenCV 2.4.3 with my own 64-bit binaries that are also built with QT 4.8.3. I am using DirectShow for videocapture and recently encountered a problem that I am unable to solve. Namely, the following code works perfectly on uncompressed…
Terry
  • 31
  • 3
3
votes
1 answer

Find out which codec MATLAB uses while opening avi file

I have a avi file encoded using Microsoft MPEG-4(MP42). Is there a way to find out which codec MATLAB uses (and optionally its location) while opening this avi file using VideoReader ? I am using MATLAB Version 7.12.0.635 (R2011a).
curryage
  • 481
  • 1
  • 6
  • 19
3
votes
1 answer

How to create video from images on Windows 8 (WinRT)

I'm working on creating media file from list of image files. On desktop we have different ways to stich image files into video (AviFile lib, FFMPEG and DirectShow with managed wrapers). Is there a way to use sme of this libraries on WinRT or may be…
3
votes
1 answer

Open and read avi files with OpenCV - Ubuntu

I have just read this in the book OpenCV 2 Computer Vision Application Programming Cookbook by R. Laganiere : It is important to note that in order to open the specified video file, your computer must have the corresponding codec installed, …
CTZStef
  • 1,675
  • 2
  • 18
  • 47
3
votes
2 answers

Create an avi video with opencv and python on a mac

this is my situation: Im trying to use opencv to generate an avi movie from some png images Using OpenCV 2.3.4, Python 2.7 on Mac OSX The program ends with no error, generates the file. But is not playable. Here is the code: import cv def…
3
votes
1 answer

Why is it necessary to nuke the IAviFile pointer in this case before calling AviFileExit()?

I found a Stack Overflow post with a sample showing how to get the duration of an AVI file: Getting AVI file duration I modified it for my purposes in my Delphi 6 app and created the code below. Initially I removed the line that nukes the IAviFile…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
2
votes
0 answers

code actionscript exporting dynamic animation in avi

:) I have a flash module in a simple webpage. In that flash module : some graphic elements are defined by the user. When the user clic on "OK", it should export the animation in .avi format and upload that on a server. Is it possible to create a AS…
2
votes
1 answer

Changing AVI File Title Property with C#

Are there any libraries for C# (maybe ffmpeg, never really used it) that could view and set the Title, Artist, and other such properties of an AVI file?
topherg
  • 4,203
  • 4
  • 37
  • 72
2
votes
0 answers

FFMPEG in android issue

I have successfully compiled the FFMPEG library to android using NDK. (using Rock Player FFMPEG implementation)http://www.rockplayer.com/download/rockplayer_ffmpeg_git_20100418.zip I know that FFMPEG supports .avi, divX, mov ect. But I created a…
Antu
  • 523
  • 8
  • 18
2
votes
1 answer

How to record screen in Java, using newest MonteMedia ScreenRecorder?

I am trying to record screen in Java, using newest MonteMedia ScreenRecorder: ch.randelshofer org.monte.media 17.1 My code is similar to many examples I…
Anna
  • 31
  • 5
2
votes
2 answers

IIS 7 & php big files upload problems

I've been trying to upload some avi files by using several methods. First I've tried using ADOBE's ADDT "UPLOAD FILE" to upload *.avi files, everything was ok, until I've tried to upload a 131.5M video. When the size of the video is less than 40M,…