Public dwMaxBytesPerSec As UInt32 ' Dword 4 max. Public dwMicroSecPerFrame As UInt32 ' Dword 0 frame display rate (or 0) The specification is 26 pages long, I imagine if you spend the hour or two it will take to read(and understand) it, you will be an expert in avi when you're done. I briefly took a look at the following specification of the AVI file, and I was easily able to extrapolate the following structure: Maybe you can read the header bytes and derive a calculation that returns the length based on the following header structure for an avi file:
There are inherent dangers in the use of any software found on the Internet,Īnd Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
Or information found on these sites therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Microsoft does not control these sites and has not tested any software Microsoft is providing this information as a convenience to you. This response contains a reference to a third party World Wide Web site. Audio: MP3 (Id3v2), OGG, WAV, PCM, RA, AC3, DTS, AAC, M4A, AU, AIFF, WMA, APE/MAC, FLAC, and more.
Chapters: Number of Chapters, List of Chapters (names).Įxamples of just some of the supported formats: Video: AVI, MKV, OGM, DV (RAW), MPEG-1, MPEG-2, MPEG-TS, MPEG-4, WMV, MOV, IFO/VOB (DVD-Video), CDXA (VCD/SVCD), Blu-ray and HD DVD files,Īnd more. Text Language of Subtitles (SRT, SSA, ASS, SAMI, and many more). Audio: Codec, Sample Rate, Channels, Language, Bit-rate, ReplayGain, and much more. Video: Codec, Resolution, Pixel Aspect Ratio, FPS, Bit-rate, and much more. General: Title, Author, Director, Album, Track Number, Date, Duration, and much more. What information MediaInfo will get from looking at a container:
MediaInfo is cross-platform (Win32, Linux, and Mac), open source code (GPL/LGPL dual-license), and can be compiled into a. MediaInfo supplies technical and can read tag/atom information about a video or audio file containers. MediaInfo is developped in C++ and is not a COM Interop assembly but you can import its methods as you will see in the examples. Check out the C# examples when you download the package.
Of course you can If you use MediaInfo.dll.