Yes it can, but you need dshow-compatible ogg codec in the system
-Nik
EDIT: I would've posted a link to the codec download page, but noticed that the site is down: Vorbis
EDIT 2: However, here is the codec download!
[edited by - Nik02 on April 21, 2004 10:24:50 AM]
How to play OGG file in Managed C# DirectX
quote:Original post by noVum
I really doubt that DirectShow can playback Ogg files per default
That''s the whole idea of DirectShow, it uses filters. If a user installs a filter for xyzzy music format or supermpeg88 video, then if he tries to play an AVI or WMV with the video stream in supermpeg88 and the audio in xyzzy, with ANY player, then it will work. DirectShow will identify the stream format, notice that it has a decompressor, and load it.
This way the possibilities are not hardcoded in DirectShow, and anyone can write filters for new formats. So if you have an ogg playback filter, then even your own game can play ogg files as background music.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement