Re: Which codec is required?



"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
.



Relevant Pages

  • Re: resouce
    ... SDK which can be helpful, I'm not the best one to try and teach you how to ... suggest getting a test machine and experienting with codec packs and such. ... my test machine I put the K-Lite Codec Pack on, uninstalled it and WMP would ... I think RealPlayer/RealOne uses DirectShow, it would be better to ask them. ...
    (microsoft.public.windowsmedia.player)
  • Re: Where can I get the ACDV codec?
    ... ACDV is a codec. ... ACDV is a fourcc code. ... Fourcc codes are normally associated with codecs using the Windows ...
    (rec.video.desktop)
  • Re: Uncompressed Video in ASF File.
    ... compared against other ASF files. ... you can only display a bitmap in a format the ... DMO, QuickTime codec, RealPlayer codec... ... decoding and DirectShow supports DirectShow filters, ...
    (microsoft.public.windowsmedia.sdk)
  • Re: codecs? which ones to use...
    ... I Installed a codec pack, and it sounds like we have the same problem. ... DivX 3.11 Alpha ... Audio Codecs ... Divx 3.11 Alpha Directshow ...
    (microsoft.public.windowsmedia.player)
  • Re: MP3
    ... I never use DirectShow and I don't ... know how can I control used codec. ... > Since you mention DirectShow filters, MCI must be using the ...
    (microsoft.public.win32.programmer.mmedia)

Loading