Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# .NET COM Video directshow , +
I want to render some videos in my Silverlight application.
 
For such aims in desktop-apps I'm using IVideoWindow interface where I'm living in loaf, becuase it's simple.
 
But when I'm embedding such stuff in Silverlight applcation - I've got problems.
 
Silverlight 5th is able to use P/Invoke features and also you could use COM objects via AutomationFactory class and dynamic type.
 
dynamic shell = AutomationFactory.CreateObject("WMPlayer.OCX.7");
shell.openPlayer(@"D:\oleg\vlc_work\6_Sony_Sean_Kingston_Beautiful_girls.mpg");
 
Like smth that, I'm launcing from Silverlight WindowsMedia Player. It's good, but I want to render video inside my Silverlight app.
 
Decoding video to the formats, which Silverlight natively supports - isn't good for me. Because I need to render frames from MPEG-Transport system (using mpeg2) and render frames in Silverlight app.
 
There are 2 ways:
 
• implement well IVideoWindow in my SL-app and render video from Broadcast/Multicast
• implement mpeg2/mpeg-ts algorithms ( with Discreete Cosine Transformation, Huffman Code, RLE, ZigZag algo etc ) and I don't want to use such method because it will be too difficult and long
So, are there any methods to use implement IVideoWindow in my Silverlight app?
 
Thank you
Posted 20-Dec-12 0:24am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 431
1 Afzaal Ahmad Zeeshan 184
2 /\jmot 176
3 Sergey Alexandrovich Kryukov 175
4 Marcin Kozub 175
0 OriginalGriff 8,344
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,634
3 Maciej Los 5,024
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 20 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100