home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
How can I use PARTS of Mediaportal?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Maephisto" data-source="post: 157375" data-attributes="member: 51044"><p>Hi, I'm back with other questions. Reading the BDA Sample in DirectshowLib I managed to create an application that shows tv in a simple form. Now I need to put OSD (on screen display) on my video. I use VideoMixingRenderer9 and reading its features I've understood that it should be easy to add text or images on a video. On MSDN there is a sample using VMR9 and IVMRMixerBitmap9 methods like GetAlphaBitmapParameters and so on... but in DirectshowLib DxText sample it is shown how to do the same thing with SampleGrabber filter. Two different approaches to obtain a similar result. Now, my questions:</p><p></p><p>1. can I use SimpleGrabber filter over a live video like TV?</p><p>2. in the sample about IVMRMixerBitmap9 methods there are instructions like GetDC or CreateCompatibleDC (I believe they belong to GDI) and all the code is written in C++: how can I turn the code in C# language? Do I have to convert all the required interfaces? How can I know what interfaces are already implemented by DirectshowLib?</p><p></p><p>Thx in advance</p></blockquote><p></p>
[QUOTE="Maephisto, post: 157375, member: 51044"] Hi, I'm back with other questions. Reading the BDA Sample in DirectshowLib I managed to create an application that shows tv in a simple form. Now I need to put OSD (on screen display) on my video. I use VideoMixingRenderer9 and reading its features I've understood that it should be easy to add text or images on a video. On MSDN there is a sample using VMR9 and IVMRMixerBitmap9 methods like GetAlphaBitmapParameters and so on... but in DirectshowLib DxText sample it is shown how to do the same thing with SampleGrabber filter. Two different approaches to obtain a similar result. Now, my questions: 1. can I use SimpleGrabber filter over a live video like TV? 2. in the sample about IVMRMixerBitmap9 methods there are instructions like GetDC or CreateCompatibleDC (I believe they belong to GDI) and all the code is written in C++: how can I turn the code in C# language? Do I have to convert all the required interfaces? How can I know what interfaces are already implemented by DirectshowLib? Thx in advance [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
How can I use PARTS of Mediaportal?
Contact us
RSS
Top
Bottom