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

ffmpeg Sound going out of sync with -concat or -ss

I have a tool that spits out video from a 3D application and then concats the individual videos to make a sequence. But the sound seems to go out of sync in the sequence (the inividual files are fine) and it stutters in VLC and Quicktime. Windows…
Jay
  • 3,373
  • 6
  • 38
  • 55
3
votes
1 answer

FFmpeg - Converting AVI to MP4 (no audio in QuickTime player)

I converted an avi file to a mp4 file with the following command, but the converted mp4 file produced no audio when played with QuickTime (no such problem with other players). I was able to convert mkv to mp4 with the same command without the audio…
Shiping
  • 1,203
  • 2
  • 11
  • 21
3
votes
0 answers

Xuggler-Java-How to write the header of a IStreamContainer for .mp4 and/or .avi?

Does anybody know how to set/add additional information to the header of an IStreamContainer for .mp4 format type and/or .avi? Using writeHeader for the Icontainer is not giving the right thing beacuse the resulting file contains frames that…
player
  • 71
  • 6
3
votes
0 answers

How to get first frame from a video url using react?

It may be in .mp4 or .avi formats. I know how to get the first frame from the video tag for .mp4 format. Since video tag does not support .avi format, I don't know how to get its first frame
madhavan
  • 31
  • 1
3
votes
1 answer

bitmap row size calculation

I found this source which works quite well, I just want to ask about this piece of code which I dont get: //calculate total size of RGBQUAD scanlines (DWORD aligned) bih.biSizeImage = (((bih.biWidth * 3) + 3) & 0xFFFC) * bih.biHeight ; I get…
Smejki
  • 197
  • 1
  • 2
  • 12
3
votes
2 answers

Create a video with timestamp from multiple images with "picture taken date/time" in the meta data with ffmpeg or similar?

I have two time lapse videos with a rate of 1 fps. The camera took 1 Image every minute. Unfortunately it was missed to set the camera to burn/print on every image the time and date. I am trying to burn the time and date afterwards into the video. I…
m4D_guY
  • 166
  • 1
  • 11
3
votes
0 answers

Reading and Editing Video File Metadata in .NET

I'm writing an application in .net that will organise my video library. Windows Media Center reads the video metadata and displays the video title etc. I'd like to be able to read and edit this information using my .net application (I can do batch…
Stephen
  • 33
  • 5
3
votes
1 answer

Convert an image shown in python, into an OpenCV image.

So, I would like to simply take an existing plot that I have made via plt.plot(x,y), convert it into an "image", so that I can then give it to OpenCV's video writer via: cv2.VideoWriter('myMovie.avi', fourcc, 20.0, (640,480)) writer.write(image) My…
Spacey
  • 2,941
  • 10
  • 47
  • 63
3
votes
0 answers

ExoPlayer AVI files

I'm using ExoPlayer to play video & audio files in my app. Recently I've discovered that ExoPlayer does not support AVI files. What I'm asking for is the way to make it support AVI. As per this issue, they are not going to add AVI support, but there…
Vladyslav Matviienko
  • 10,610
  • 4
  • 33
  • 52
3
votes
1 answer

Modifying Creation Date from Filename for mp4 videos

I have a bunch of DV avi videos which I want to cut together. I managed to save the Creation Date out so the videos are named after their creation date. So after I cut them together, I still have the original date of the creation. But then I would…
Balázs Orbán
  • 559
  • 1
  • 4
  • 26
3
votes
2 answers

split video (avi/h264) on keyframe

Hallo. I have a big video file. ffmpeg, tcprobe and other tool say, it is an h264-stream in an AVI-container. Now i'd like to cut out small chunks form the video. Problem: The index of the video seam corrupted/destroyed. I kind of fixed this via…
m.sr
  • 131
  • 1
  • 4
3
votes
2 answers

FFMPEG Create internal pipeline for adding raw frames to AVI file (no input file)

I have an application that reads in a raw video file, does some image processing to each frame, then feeds the resulting BGRA-format byte[] frames to the FFMPEG container to eventually create an AVI file. Since this process works slightly…
Katie
  • 307
  • 1
  • 5
  • 16
3
votes
2 answers

How to convert AVI to 3gp in C#?

Is it possible to convert an AVI file to 3gp in C# ? If so how could I do this? Any ideas will be appreciated, thanks in advance.
yasemin
  • 91
  • 1
  • 7
3
votes
3 answers

OpenCV write frame to file python

Hey so im starting to play around with OpenCV and I cant get my webcam output saved to a file. Here is what I have. This runs fine, launches the webcam and creates "output.avi" The issue is output.avi is tiny(414 bytes) and the same exact bytes each…
preezzzy
  • 598
  • 5
  • 23
3
votes
3 answers

C++ - What libraries or command line programs will I need to create a program that takes an AVI file and burns it to a DVD?

My goal is to create a program that will take an AVI file as input and then do whatever is necessary to burn it to a DVD. Currently, I use three separate programs to accomplish this. The first tool requires me to convert it from an AVI file to an…
xian
  • 4,657
  • 5
  • 34
  • 38