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
4
votes
2 answers

Multiple side-to-side video streams in one file without transcoding

I am investigating a possibility to store video streams which are coming from few sources already coded in h264 without video transcoding as the device I would like to use for this project won't be capable of transcoding combined video on the…
Serg Fillipenko
  • 141
  • 1
  • 2
4
votes
0 answers

Delay audio track in AVI programmatically

I'm building an AVI file programmatically from a list of images (MJPG) and a sound track. Until now it's working well, but I'd like to delay the audio at some sync position. This is for a mobile app (Cordova) so I can't use a program like ffmpeg,…
Patrick
  • 3,578
  • 5
  • 31
  • 53
4
votes
2 answers

Saving to .mp4 file in MATLAB

I'm editing all frames of an existing mp4 video in MATLAB (doing it in a for loop). After I'm done editing, I want to save the new set of frames to a new output video file, but in mp4 rather than .avi (that seems to be the default). I thought…
guyts
  • 899
  • 2
  • 17
  • 34
4
votes
0 answers

I can't open video file with C++ & OpenCV3

I tried to read saved video file (.avi) using the following code: #include // for standard I/O #include // for strings #include #include using namespace std; using…
Feten Besbes
  • 186
  • 1
  • 10
4
votes
1 answer

How to save two camera's data but not influence their picture-acquire speed?

I am using a multispectral camera to collect data. One is near-infrared and another is colorful. Not two cameras, but one camera can obtain two different kinds of images in the same time. There are some API functions I could use like…
Panfeng Li
  • 3,321
  • 3
  • 26
  • 34
4
votes
1 answer

How to view the header information of a video file AVI or FLV?

How do you view and or edit the metadata or header of a video file?
Chris
  • 470
  • 1
  • 4
  • 15
4
votes
2 answers

Randomly extract video frames from multiple files

Basically I have a folder with hundreds of video files(*.avi) each one with more or less an hour long. What I would like to achieve is a piece of code that could go through each one of those videos and randomly select two or three frames from each…
PatraoPedro
  • 197
  • 1
  • 16
4
votes
1 answer

play an avi video file in java swing

I need to play an avi video file and add it to a jpanel. All I need to be able to do is to play from beginning to end of the video and then proceed with my program. I don't need any seek functions or anything like that. What is the simplest way…
jordan shedletzky
  • 103
  • 1
  • 2
  • 6
4
votes
3 answers

100% Java encoder for AVI animation

I am looking for a 100% Java solution for encoding software generated images into an AVI stream together with an uncompressed audio track. At the moment I am using JMF, but its size and installation problems make it a bad solution for my purpose.
Timo
  • 902
  • 1
  • 10
  • 21
4
votes
0 answers

Python OpenCV, can't write a video (.avi) to file

I'm writing a programme in Windows XP using Python and OpenCV that adds image frames captured from a webcam to a video (.avi), but only when a certain condition is met. For testing purposes this condition is time based, but this will change. The…
GenericGuy
  • 41
  • 1
  • 3
3
votes
1 answer

Get an error bitrate tolerance too small for bitrate when recording using opencv

I'm new to opencv and I have a problem when writing into a video file. Basically I'm reading from a HD webcam and write to an avi. The runable codes: #include "cv.h" #include "highgui.h" int main(int argc, char** argv){ CvCapture* capture=NULL; …
YankeeWhiskey
  • 1,522
  • 4
  • 20
  • 32
3
votes
6 answers

MATLAB getframe captures whatever is on screen

I am trying to create a movie from my MATLAB plot. When I call getframe, it "usually" captures the plot image, but sometimes if there is something else active on the screen (which is normal if I continue to use the computer) it captures whatever…
paul simmons
  • 5,568
  • 13
  • 51
  • 78
3
votes
1 answer

fobs4jmf.dll Error in Java Swing playing .avi videos

I recently started helping a colleague with debugging a video crash issue with her Java Swing application. The application makes a native call to fobs4jmf.dll for playing .avi files. Sometimes, not always, the native code crashes the application. I…
3
votes
0 answers

How to avoid compression options pop up box in avisaveoptions

I am using AviFile api to make a screen capture video. I want to capture it as small videos of 2 minutes length instead of creating one single video at a stretch. When the video starts getting recorded, a pop-up box to chose the compression option…
Niranjan
  • 813
  • 2
  • 12
  • 33
3
votes
2 answers

Is there a Linux library for creating AVI files?

I need to create an app which gets raw video (RGB 32bits) data and store this data in an AVI file. Is a "simple" library is available out there ? I'm mean low footprint as it's for an embedded project.
Emeric L
  • 55
  • 7
1 2
3
35 36