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

How do I compile an AVI file from a bunch of bitmaps in C# ASP.NET?

Yes, I've already heard of http://www.codeproject.com/KB/audio-video/avifilewrapper.aspx ...but I just can't get it to work with ASP.NET I've perused the source about a hundred times looking for anything that might suggest it's incompatible with…
batman
  • 1,447
  • 5
  • 16
  • 27
2
votes
0 answers

Loseless FFMPEG compression that supports windows media player

I am trying to create a movie file (avi, mp4, etc as long as it support windows media player) from a sequence of png files using ffmpeg.I am using C++ "System("ffmpeg command")" to create the movie files once I create the png files (this shouldn't…
nmr
  • 133
  • 2
  • 11
2
votes
1 answer

GStreamer Python decodebin, jpegenc elements not linking

I'm starting out using GStreamer using the gst-python bindings. An example I'm working on is reading in an .mp4 file, encoding it in a MJPEG stream and saving it in an .avi container. The pipeline I've built for this is: gst-launch-1.0 filesrc…
brvh
  • 264
  • 3
  • 15
2
votes
0 answers

Method or technique to extract metadata from video

I would like to extract some properties and metadata from videos file(to be exact video in AVI format, why AVI format? it is because I get this video files from dashcam). location(latitude,longitude) speed date is there any technique or method…
iuu
  • 49
  • 2
2
votes
1 answer

MATLAB: Combine all videos in directory

I have directories that each have several short (~10 second) .avi videos. Does anybody know how I can concatenate all of the videos in a specific directory in alphabetical order to form one single video? I would try to use VLC, but I have to do…
Austin
  • 6,921
  • 12
  • 73
  • 138
2
votes
1 answer

Directshow capture to file, nothing happens

I am trying to follow through the DirectShow examples on the windows dev center to make my own application that can capture screen and audio to video: Capturing Video to an AVI File All code goes ok but nothing happens, the avi file is not…
novox
  • 143
  • 1
  • 10
2
votes
2 answers

VFW: AVIStreamGetFrameOpen() returns NULL

I'm trying to write a C++ Video class using the Video For Windows interface, based on concepts from this NeHe tutorial, but with more modern code (for OpenGL 3/4). In my function that initially loads the video (not retrieve the frames), I refer to…
TheTrueJard
  • 471
  • 4
  • 18
2
votes
1 answer

How can I capture frames from X11 into a file?

I think there should be some sort of internal support on screen capture utilities with X11. So how can I capture frames from X11 frame-buffer into a file, e.g. AVI, JPEG, etc.?
sultan
  • 5,978
  • 14
  • 59
  • 103
2
votes
2 answers

From where in an AVI file can I extract the recorded date?

The problem explained I am trying to extract the recorded date from some AVI files (in this particular case created with a Sony DV camcorder). Starting with no knowledge on the format, I have been able to make sense of the metadata in the main…
2
votes
2 answers

how to convert avi file to yuv 420 (software/matlab/source code/c/c++ anything)

Guys I want to convert an avi file into yuv 420 video clip. Is there any method to do that? thx!
view
  • 555
  • 2
  • 11
  • 16
2
votes
1 answer

Convert .avi to .gif with ffmpeg with good quality AND subtitles

I want to use ffmpeg to convert .avi to .gif with good quality and subtitles. Now, I use this script to convert from .avi to .gif with good quality: ffmpeg -v warning -ss 10:00 -t 5 -i input.avi -vf "fps=15,scale=420:-1:flags=lanczos,palettegen" -y…
Stergios Marias
  • 118
  • 2
  • 5
2
votes
1 answer

increasing FPS using SharpAVI speeds the video

I am using SharpAVI to record a screen, and I am using their sample Recorder which is here Recoder Sample, the AviWriter in the sample has FPS of 10 when I increase it like for 30-60 and I play the video it becomes faster like I am speeding it, I…
Abanoub
  • 3,623
  • 16
  • 66
  • 104
2
votes
2 answers

Matlab - combine two videos into a single split-screen video

I have 2 videos I would like to play side by side in a split screen. They are same duration and dimensions. I found a code developed few years back to do the job. The problem is, it is full of errors maybe due to the fact I am using a newer Matlab…
Mosawi
  • 197
  • 2
  • 16
2
votes
1 answer

Displaying mp4, avi and mov video formats inside the HTML5 app

How to play .avi and .mov video formats in html ? We are developing the website, where the videos can be uploaded, using html5, videos uploaded are of .ogg, .mp4, .webm. We have native android and ios applicaitons, where the videos can be uploaded…
Sowmya M N
  • 31
  • 1
  • 3
2
votes
1 answer

Parsing BITMAPINFO structure from an AVI file

I'm trying to learn more about the AVI structure, so I started walking through Microsoft's obtuse documentation located here: https://msdn.microsoft.com/en-us/library/ms779636.aspx My hope is to write an AVI creator based on uncompressed bitmap…