In DirectShow, what determines the graph source?
Posted
by Seva Alekseyev
on Stack Overflow
See other posts from Stack Overflow
or by Seva Alekseyev
Published on 2010-05-02T14:10:55Z
Indexed on
2010/05/02
14:17 UTC
Read the original article
Hit count: 189
directshow
Hi all,
I have two machines - A (XP SP2) and B (Win7). Machine B has trouble playing OGM files - enabling subtitles causes a crash in the player. Investigation shows that the DirectShow graphs are quite different. On A, the source is a file source, which produces a stream of subtype OGG, which goes into "Ogg Splitter". On B, the source is an instance of Haali Media Splitter, which produces video, audio, and subtitles as separate streams. Machine A has Haali splitter installed as well, but it is not invoked somehow.
Question - what determines the source filter? Is there a file type to preferred source mapping, or does the system load and ask all suitable filters if they would take this file? On machine A, the merit of Haali splitter is higher than that of File source, so it's probably not about relative merits.
© Stack Overflow or respective owner