hi guys, i wrorte an app a while ago based on directshow.net form the opensource guys in c#.net, i had set it up to play for example only the left audio channel of a video, sometimes only the right, also, i have videos with like 3 AC3 audio tracks and i enumrated all of the pin types and make a menu based on the amount of tracks.
WPF is great, i've been loving the CTP's and i've made some really cool stuff, but when can i get directshow functionality will mediaelement be like directshow on relase or not i wont want to hwnd a video onto winfx app because i would like to use all the really cool effects it offers, i figured i would end up waiting it out will christmas relase or something.
Iknow its not mature platform yet, but seeing asi dont know the path ahead, if directshow has a future in winFX or mediaelement will take over, to be honest i could achive what i want by using a few filters, but im manualy constructing the graphs for these videos and it will have to stay like that, because of the variable platform this app is designed to live on, could have allsorts of filters with high values, thanks for your time guys
si
also, when will we get previews and stuff on visual studio 2k5, the visual design element is pretty much broke right and wont display any 3d

3D video, more control using mediaelement
Bill Howell
i did some great things with directshow, equaly i've done some cool things with WinFX, example, i video previews on rectangles that spin around, alot like the northface proof of concept, how would i mess around with graphs and filters using directshow in WinFX, the Hwnd solution doesnt work because of the movement and stuff right, were rendering a video as a texture, would i need to write something to turn that video into a texture and plonk it on to the rectangle, im assuming winFX will do the trandofmations and stuff, seems like alot of overhead.
dont want to be fubar on this, i there is a solution, just don't know it yet, but to hand that was the best solution i could think of, basicly writing a custom mediaelement, or sort of feeding the video through mediaelement somehow, after i've messed around with it in directshow, to be honest i wrote something like this in Direct3D, but using the texture method but thats alot of code to maintain, might aswell go make the next doom 3 haha
si
dutchie63
The MediaElement will not have all the functionality that DirectShow exposes. So, the two choices for our initial release will be to use the MediaElement with its current limited functionality, but a first class citizen in terms of integration with the rest of Avalon, or use DirectShow through hwndhost, with the limitations that come from that in terms of integration (no using it as a texture on 3D :-( ).
If you want to manually build the graphs, I think the best option would be for you to have your own media type, which causes your decoder to be instantiated when the MediaElement tries to play it back.
Not sure if someone out there in the community has already tried this and has a sample posted somewhere.
Clearly not what you wanted, but something we will keep in mind for future releases. Thanks for the interest and feedback.
-Pablo