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
Improvement Suggestions
Subtitles and dxva
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="sonix1977nl" data-source="post: 314300" data-attributes="member: 76936"><p>Thanks tourettes for the information.</p><p></p><p>When the output pin from my test filter is connected to the input pin of another filter I do the following:</p><p>- Get the filter of the input pin I am connecting to.</p><p>- Try to get the IBasicVideo interface from the filter. If it does not support that interface I fail.</p><p>- Query the video width and height from IBasicVideo.</p><p>- Use that width and height to play the whole GetMediaType, CheckMediaType, etc. game.</p><p></p><p>So now I have my test filter indeed rendering at the same resolution as the video itself.</p><p></p><p>My test filter is a source filter that creates an alpha bitmap with the background some transparent blue and some text that changes over time (long live the Lorem Ipsum generators on the internet for creating some nonsense text <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" />). Because the video is still showing, but with a blue transparent window over it with some non-transparent text, I know the thing is working. Checking the CPU usage between DXVA enabled and disabled I can also verify that DXVA works.</p></blockquote><p></p>
[QUOTE="sonix1977nl, post: 314300, member: 76936"] Thanks tourettes for the information. When the output pin from my test filter is connected to the input pin of another filter I do the following: - Get the filter of the input pin I am connecting to. - Try to get the IBasicVideo interface from the filter. If it does not support that interface I fail. - Query the video width and height from IBasicVideo. - Use that width and height to play the whole GetMediaType, CheckMediaType, etc. game. So now I have my test filter indeed rendering at the same resolution as the video itself. My test filter is a source filter that creates an alpha bitmap with the background some transparent blue and some text that changes over time (long live the Lorem Ipsum generators on the internet for creating some nonsense text ;)). Because the video is still showing, but with a blue transparent window over it with some non-transparent text, I know the thing is working. Checking the CPU usage between DXVA enabled and disabled I can also verify that DXVA works. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Subtitles and dxva
Contact us
RSS
Top
Bottom