Re: Which codec is required?
- From: Lucian Wischik <lu.nn@xxxxxxxxxxx>
- Date: Wed, 19 Apr 2006 02:20:08 +0100
"UJ" <fred@xxxxxxxxxxx> wrote:
No. Let's try again. Suppose I have an .avi file that has been compressed
using some codec. What I'd like to do is open the file and find out what
codec was used. If I don't have it loaded on the machine, I'll display an
error to the user saying that it's not playable.
There must be somewhere an object that will read an .avi file or an .mov
file and provide that kind of information.
This kind of functionality is built into win32 (look up "FourCC" and
"AVISTREAMINFO" &c.) It's also built into DirectShow (look up "FourCC"
again).
I don't know how you'd call this from C#/.net... I've never myself
tried. Maybe DirectShow is exposed as standard objects in .net. Maybe
instead for C# this article would be helpful:
http://www.codeproject.com/csharp/riffparser.asp
--
Lucian
.
- References:
- Which codec is required?
- From: UJ
- Re: Which codec is required?
- From: Kevin Spencer
- Re: Which codec is required?
- From: UJ
- Re: Which codec is required?
- From: Kevin Spencer
- Re: Which codec is required?
- From: UJ
- Which codec is required?
- Prev by Date: Re: C# version of std::map
- Next by Date: Re: redicting standard output
- Previous by thread: Re: Which codec is required?
- Next by thread: Re: Which codec is required?
- Index(es):
Relevant Pages
|
Loading