PDA

View Full Version : DirectShow issue


divxdede
19th March 2002, 16:21
So i'm currently in a developpement of an AutoRun !
so i detect if the "Morgan Média Switcher" is installed and launch the movie with the correct way (GraphEdit ShortCut or real avi vidéo)

So it work well !!

but i don't success to launch the main movie with a particular audio stream !
i wrote to the official contact of this DirectShow filter and he say to me to use IAMStreamSelect

so if someone can explain me in simply exemple how can i confugure the filter for that when i launch the movie, it start with the correct audio stream !! i will be very happy :)))))

i wrote my programm in VC++ !! but i'm a newbie in DirectX way !

Derrow
20th March 2002, 13:27
I also just started using DirectX in my IfoEdit. I'm a newbie in there too.

But I must say, if you've got an example source, it's realy easy to use.
So I suggest, you have a look at the DirectX sample source codes that come with the SDK 8.1.
There are so many samples, there's sure one that right fit your needs.

BlackSun
20th March 2002, 14:34
You are doing a player or an autorun program ? because with a launcher you can't access the player's graph...

divxdede
20th March 2002, 14:37
yes it's i think !
but no way then ?

sh*t :mad: :mad: !! i he used a base register key for know wich audio stream to play at start, it was be easy for me to use it :D :D
like for DVobSub i can use register keys :p

But thx for help mo to take an idea on this point !