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

Can not reuse OpenCV::VideoWriter

I'm using Visual Studio 2008 and OpenCV 2.4.5. I have a class that contains processed video frames and I'd like to save them as video files. I created a cv::VideoWriter object in constructor and write frames to cv::VideoWriter object by looping and…
Horizon1710
  • 792
  • 10
  • 28
0
votes
1 answer

avi recording index failure

Since 3-4 Weeks I have Problems with Video-File Recording. Everytime I become an Index Fail after close / finish the Recorded File. But the Index is very important for me, because the recorded files should be used later for some Cut Processes. With…
Z3roP
  • 1
  • 1
0
votes
0 answers

Not able to convert fla in Flash cs6 to avi successfully anymore

I successfully created an avi file through flash cs6. One day after I realized that I wanted just to alter some frames, I didn't do anything in the preferences... But now it creates unsupported files. They don't play anymore.
Serge Inácio
  • 1,366
  • 9
  • 22
0
votes
1 answer

Reversed bitmap when creating AVI container

I have a list of images in my program, and I am generating an AVI video from them. For that purpose I use avifilewrapper_src library that handles the creation of video. The process of creating is: Bitmap bitmap; //load the first…
pheno
  • 43
  • 7
0
votes
0 answers

VideoReader Matlab: Avi movie clip fps, length and number of frames don't match

I have a short 2 minute video and I use the following code to get it's specs: vidObj = VideoReader('./Clip1.avi'); vidHeight = vidObj.Height; vidWidth = vidObj.Width; and then with vidObj.Duration = 121.25 but when I want to get the number of…
Arturo
  • 3,679
  • 6
  • 34
  • 43
0
votes
1 answer

RIFF AVI RLE different to GDI RLE

I have a basic RIFF AVI made in the early 1990's and I'm tyring to make a basic video player in native VB/C# code. According to the header, it uses the old MS RLE codec. The bitmap header in the AVI indicates it is RLE8 compressed. the is the…
Alex Guerin
  • 2,336
  • 10
  • 36
  • 53
0
votes
0 answers

External buttons for playing .AVI files on website

I've got an interesting question. I am building a website which is all about playing my movies. Found a nice script, which plays .avi files (using windows media player I gues). Standard buttons won't work with my graphics, and I like to place them…
Pietertje
  • 43
  • 1
  • 7
0
votes
0 answers

How to compress bitmap by applying Run Length Encoding Compression?

I have referred many codes from the sites for compressing bitmap using RLE compression but its not useful. Actually I am doing project in c# windows application to compress image into video format(.avi) by applying various compression by using…
0
votes
0 answers

parameter 'probesize' out of range

Refer to the following URL. OpenCV - Play AVI File I found the red message in the console while testing it. Actually, that code works well on my PC. But I found the red message in my eclipse console. [NULL @ 0x83c020] Value…
joe
  • 8,383
  • 13
  • 61
  • 109
0
votes
2 answers

Using eclipse for java, why can't i open avi video in opencv?

I have looked through the question "why can't i open avi in opencv?" already. But the solution mentioned there can not solve my problem, since there is no "opencv_ffmpeg*.dll" in the opencv for java at all. Even though I copied the…
0
votes
1 answer

Playing Avi video in swift based application

I'm trying to play a video of type avi in an application created in xcode written in swift. The thing is all of the videos I have are in avi and I cannot afford time spent converting the videos right now. Is there a way to play the video in the…
0
votes
1 answer

AVISaveOptions without AVIStream

I am coding a program which exports AVI files into directories, is it possible to get an AVISaveOptions dialog without having access to an avistream? The AVICOMPRESSOPTIONS already has all the data, doesn't it? I am not able to create a stream using…
hl3mukkel
  • 5,369
  • 3
  • 21
  • 21
0
votes
0 answers

How to write AVI from a Callback, keep UI responsive and wait for completion

I have to use a camera SDK for a microscope that comes with a sample C# Windows Forms application. The SDK functions are imported to the app via DLLImport. In this sample application the single frames from the camera are read from RAM via a callback…
Daniel M
  • 105
  • 2
  • 11
0
votes
1 answer

Matlab: Creating a video using VideoWriter

How can I create an avi video in Matlab using the VideoWriter class, but defining its content pixel by pixel? Having the original pixel by pixel, line by line information, is there any way to implement this on Videowriter when using open?
Heikki
  • 335
  • 1
  • 4
  • 9
0
votes
2 answers

Playing MP4 file in Powerpoint

I have a huge MP4 file (4GB) an hour long video. I want to extract port of the file. So I used the following command to extract 70 seconds(00:01:10) of video starting from 11 minutes ffmpeg -i INPUT.mp4 -ss 00:11:00 -t 00:01:10 -c:v copy…
BrewGold
  • 3
  • 1
  • 4