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

Phonon can read .avi files on MacOS?

I try to read a .avi file on MacOS X with Phonon and Qt. But I can't. Even in QtDemo, the "Media Player" is not able to display those kind of file. Is there a way to make it work ?
Mathieu Mahé
  • 2,647
  • 3
  • 35
  • 50
2
votes
0 answers

Muxing an AVI with PyMedia

I am trying to generate an AVI with PyMedia by muxing together an audio and video stream. However, I can't find any examples on the web, and can't even get a simple example with a single MPEG2 video stream like this working: from pymedia import…
del
  • 6,341
  • 10
  • 42
  • 45
2
votes
1 answer

reducing video sizes from large gigabytes to smaller kilobytes

I will like to know if there is a possiblilty of converting the size of video files from gigabyte to small kilobyte sizes and for the files to still be of high quality resolution and can be played on a flat screen.
Francis
  • 21
  • 1
2
votes
1 answer

How to pass arguments such as username and password in a test

I use below code to initialize connection to avi controller, func TestAvi(t *testing.T) { aviClient, err := clients.NewAviClient("", "", session.SetPassword(""), …
Simon
  • 111
  • 1
  • 9
2
votes
1 answer

x64 Windows 7 version of GStreamer

Can anyone point me to a build of GStreamer for 64 bit Windows 7? I'm looking for a way to play mkv and avi files in Java and all things point to GStreamer, but they don't build for windows, and OSSBuild doesn't build for x64. I would use Xuggler,…
Carrotman42
  • 1,744
  • 1
  • 14
  • 19
2
votes
0 answers

Index broken or missing of AVI encoded with Media Foundation

So I am generating an uncompressed avi using Media Foundation. The frames of the avi originate from in RAM images which are processed. I manage to generate an avi file which can be played in our own application and in windows media player without a…
Heimmot
  • 45
  • 7
2
votes
0 answers

AviReader - getNext

I'm using SharpAvi's AviWriter to create AVI files. I can get any standard video player to play these AVI files. 20 frames per second with no compression. using example from this link so that seems to be working fine. failing to find SharpAVi's…
2
votes
2 answers

Grabbing frames from .avi

I am trying to grab individual frames (and eventually audio) from .avi files. Ultimately i want to make a JNI-bound library that allows me to open .avi files in Java, but for now i'm working in native win32 C++. I have been banging my head against…
Knetic
  • 21
  • 2
2
votes
3 answers

Does flash play .avi or .mpg4 ? If yes, how?

How to load and play .avi or .mpg4 in Flash? Is that possible ? -> This class can play .flv and also .mp4 .. but for .avi it shows error "Error #2044: Unhandled NetStatusEvent:. level=error, code=NetStream.Play.StreamNotFound" package src { …
Katax Emperore
  • 465
  • 1
  • 8
  • 29
2
votes
1 answer

Create a Video Overlaying another Video

I am trying to make a nice pretty video. I have a AVI video from a GOPro video camera, and I hae some info I want to overlay on top of the video. Like Time, GPS, Speed, G-Force etc. I got my raw data, and ActionScript coded it up into a Flash movie,…
greg
  • 333
  • 2
  • 3
  • 9
2
votes
0 answers

RGB24 Error in SubRip,AVISubDetector,AviSynth

Basically, I want to extract burnt-in subtitle from a movie ,which is mp4. I am very new with this stuff, So I got SubRip and AviSynth and converted the movie in .avi , but when I try to open it with SubRip I get this…
Fabian
  • 21
  • 1
2
votes
2 answers

How to read .avi files C++

I want to read in an .avi video file for a program that I am making. I have the file location saved as a string. Is there any good tutorials on using .avi files in c++ or does anyone know who to read one in? Is it the same as normal files? I have a…
Soatl
  • 10,224
  • 28
  • 95
  • 153
2
votes
1 answer

Matlab: using avifile, addframe, getframe; the generated avi is contorted

I'm training a machine learning algorithm, and wanted to make an avi to visualize the appearance of weights over time. I threw together something similar to: aviobj = avifile( 'weights.avi' ); for jj = 1:whatever % do some training imagesc( ...…
Brian Vandenberg
  • 4,011
  • 2
  • 37
  • 53
2
votes
1 answer

How to stream contents of a WPF form (as frames) to an AVI File?

I currently send a live video mix to a output screen (a form on a particular screen). Consider it like a really advanced version of PowerPoint. I call it a video control room for the pc. I want to take 30 frames a second from a screen (of my choice,…
JustinKaz
  • 620
  • 3
  • 10
  • 30
2
votes
1 answer

Video Metadata Tags

I'm trying to develop a simple application to edit the Metadata "seasonNumber", "episodeNumber" and "TV Show", that appears in the "Media Information" of the VLC, but I'm familiar only with C# and I search already for 2 weeks trying to find what…
MMax
  • 21
  • 1