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

Transforming images and mp3 files into a video file on android

I am thinking to start the development of a new project and I have some ideas in mind, but I am not sure how much is doable in android. The steps of the app would be: The user selects a set of images from Gallery The user selects an audio file…
Alin
  • 14,809
  • 40
  • 129
  • 218
0
votes
1 answer

How can I save samplegrabber file to avi?

sampGrabber = new SampleGrabber() as ISampleGrabber; capGraph = (ICaptureGraphBuilder2)new CaptureGraphBuilder2(); hr = m_FilterGraph.AddSourceFilterForMoniker(dev.Mon, null, dev.Name, out capFilter); DsError.ThrowExceptionForHR(hr); //…
Vahid K.
  • 440
  • 4
  • 14
0
votes
1 answer

unable to play Y800 monochrome AVI file using OpenCV in C++

I am facing the following problem. As I want to record and play back RAW image data from a camera, I am currently recording the images using VideoWriter outputVideo1("camera1.avi", CV_FOURCC('Y','8','0','0'), frameRate, frameSize, false); This…
0
votes
1 answer

AVI file created by OpenCV 2.4.6 not always valid when app exits

I'm currently using OpenCV 2.4.6 with gcc 4.7.3 on Lubuntu x64. To view the AVI I use gnome-mplayer 1.0.8 (installed with Lubuntu). All the kit is running on a VM in VirtualBox. I use the common code suite to grab images then add them to the…
dom_beau
  • 2,437
  • 3
  • 30
  • 59
0
votes
1 answer

unable to read an AVI file in OpenCV

I am trying to open an AVI file using OpenCV, Here is the code line which i used to read the video file. CvCapture* capture = cvCaptureFromAVI(video_file_name); But it returns a cvCapture ponter which points to an address of 0x00000000 (hence an…
Varo
  • 831
  • 1
  • 7
  • 16
0
votes
2 answers

How can I get the frames per sec from the header of an avi xvid video file?

The following is a hex-ascii dump of the first 300 bytes of an avi xvid file: |52|49|46|46|8c|79|95|00|41|56|49|20|4c|49|53|54|94|6a|00|00 RIFF.y..AVI LIST.j.. |68|64|72|6c|61|76|69|68|38|00|00|00|40|9c|00|00|00|ec|36|00…
user2989402
  • 83
  • 1
  • 1
  • 6
0
votes
3 answers

Node-Webkit: How to play AVI videos?

I am trying to make a simple node-webkit app that lets you play .avi videos (which should work both on windows and mac). Is there a way to do this with node-webkit?
Jason Blade
  • 373
  • 2
  • 4
  • 17
0
votes
3 answers

video file is not working properly in html media player

I have some video files of format avi,mp4,flv. I am trying to run those in my html page. I used video tag. But by using video tag only mp4 file is running and all controls(start,pause,volume) are visible. Again I am trying to integrate by embed tag.…
Srim
  • 527
  • 2
  • 8
  • 23
0
votes
1 answer

Big file conversion .ogv to .avi ogv2avi on Ubuntu

I'm trying to convert a 200MB .ogv file to .avi with a script I found online: #!/bin/bash # ogv to avi # Call this with multiple arguments # for example : ls *.{ogv,OGV} | xargs ogv2avi N=$#; echo "Converting $N files !" for ((i=0; i<=(N-1);…
Arturo
  • 3,679
  • 6
  • 34
  • 43
0
votes
0 answers

opencv (Non Interleaved AVI) captured from File on BeagleBoard

I am trying to capture a video from a file on BeagleBoard-xm with ubuntu-12.04 with Kernel version 3.6.8-x4, but when run the program which is exactly same & working fine onto my host machine (pc) which is also ubuntu-12.04 in code i am trying to…
Ayush joshi
  • 305
  • 1
  • 5
  • 14
0
votes
2 answers

OpenCV - Play AVI File

I am trying to play in avi file using opencv c++ in ubuntu but i am getting no output. The code im using is a standard code that i found online that is used to play an avi video but im seeing no output. And yes the video is in the same directory as…
ueg1990
  • 1,003
  • 2
  • 19
  • 39
0
votes
0 answers

MOV to AVI Conversion - file size 0 bytes

I want to convert a MOV file to AVI file as a part of my project. The MOV is getting converted properly from a set of JPEG files. But am not able to convert the MOV to AVI. It says the output .avi file is of 0 bytes. Can somebody help please? Here…
0
votes
0 answers

How to turn bitmaps into a video with arbitrary framerate?

I've got an OpengGL based rendering engine that I use for some scientific visualization and I capture .bmps from the frames. I was looking for something to write them into a video that allowed arbitrary framerates? I found something (a windows…
Chad Mourning
  • 608
  • 2
  • 12
  • 25
0
votes
1 answer

How to play the avi video file in a new browser using html code

I have the video url, i try to play that video , but it is not playing, it is downloaded. How to play the video
chakri
  • 629
  • 3
  • 11
  • 21
0
votes
1 answer

Opening uncompressed grayscale videos in OpenCV

I have a medical device that saves uncompressed grayscale AVI videos on which I would like to conduct some offline analyses. The pixels in the videos are unsigned 8 bit with only one color channel. When I use OpenCV's VideoCapture class and the read…
Girish
  • 1