avi codec information
-
Hi, after having browsed a lot of sites and read a lot of msdn, now I have still my problem. I'm trying to read codec name from an avi file. I'm using this structure: typedef struct { DWORD dwMaxBytesPerSec; DWORD dwFlags; DWORD dwCaps; DWORD dwStreams; DWORD dwSuggestedBufferSize; DWORD dwWidth; DWORD dwHeight; DWORD dwScale; DWORD dwRate; DWORD dwLength; DWORD dwEditCount; char szFileType[64]; } AVIFILEINFO; which I have done by reading http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/mmstr\_1xf6.asp .... How can I exctract the codec name used to encode the avi file?
-
Hi, after having browsed a lot of sites and read a lot of msdn, now I have still my problem. I'm trying to read codec name from an avi file. I'm using this structure: typedef struct { DWORD dwMaxBytesPerSec; DWORD dwFlags; DWORD dwCaps; DWORD dwStreams; DWORD dwSuggestedBufferSize; DWORD dwWidth; DWORD dwHeight; DWORD dwScale; DWORD dwRate; DWORD dwLength; DWORD dwEditCount; char szFileType[64]; } AVIFILEINFO; which I have done by reading http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/mmstr\_1xf6.asp .... How can I exctract the codec name used to encode the avi file?
-
The Limey wrote: avis aren't compressed They certainly are. ;)
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi -
A basic uncompressed avi 320x 240 takes up roughly 10MB per second. Play around with VirtualDub.
-
A basic uncompressed avi 320x 240 takes up roughly 10MB per second. Play around with VirtualDub.
-
uhm, so after having understood that an avi can be compressed (:P) ... in the end I've not understood how to extrac codec information from .avi files ... is it possibile using that structure?
No, and it is not really possible to get codec info. The codec specifies a FourCC code that is mapped in the system to a codec. More info I do not have. :(