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
HTPC Projects
Software
Codecs
SAF v5.02 *final* (based on FFDShow DXVA decoder)
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="tourettes" data-source="post: 705661" data-attributes="member: 10858"><p><strong>Re: AW: SAF v5.00 experimental (based on FFDShow DXVA decoder)</strong></p><p></p><p></p><p></p><p>Why would you change the default renderer? At least MediaPortal wont benefit anything from such change. Also the VMR9 or EVR renderers that you will get into GraphEdit wont be the same as inside MediaPortal (or probably not in many other player applications as well) since there is custom implementation for those renderers (names in GraphEdit will be the same, but the code wont).</p><p></p><p>Unless there is a system wide error there is not that much can go wrong with the setuptv preview. It only does the following:</p><p></p><p>1) loads TsReader to graph</p><p>2) renderes all output pins by using directshow</p><p>3) sets few parameters for renderer by using IVideoWindow interface</p><p></p><p>All I can think is that EVR is not compatible with the overlay type of controlling and it causes the issue to appear when system default renderer is changed to something else.</p><p></p><p>Player.cs is good starting point if someone wants to investigate why the default rendering change will break video preview.</p><p></p><p>[code]</p><p> _videoWin = _graphBuilder as IVideoWindow;</p><p> if (_videoWin != null)</p><p> {</p><p> _videoWin.put_Visible(OABool.True);</p><p> _videoWin.put_Owner(form.Handle);</p><p> _videoWin.put_WindowStyle(</p><p> (WindowStyle)((int)WindowStyle.Child + (int)WindowStyle.ClipSiblings + (int)WindowStyle.ClipChildren));</p><p> _videoWin.put_MessageDrain(form.Handle);</p><p></p><p> _videoWin.SetWindowPosition(form.ClientRectangle.X, form.ClientRectangle.Y, form.ClientRectangle.Width,</p><p> form.ClientRectangle.Height);</p><p> }</p><p>[/code]</p></blockquote><p></p>
[QUOTE="tourettes, post: 705661, member: 10858"] [b]Re: AW: SAF v5.00 experimental (based on FFDShow DXVA decoder)[/b] Why would you change the default renderer? At least MediaPortal wont benefit anything from such change. Also the VMR9 or EVR renderers that you will get into GraphEdit wont be the same as inside MediaPortal (or probably not in many other player applications as well) since there is custom implementation for those renderers (names in GraphEdit will be the same, but the code wont). Unless there is a system wide error there is not that much can go wrong with the setuptv preview. It only does the following: 1) loads TsReader to graph 2) renderes all output pins by using directshow 3) sets few parameters for renderer by using IVideoWindow interface All I can think is that EVR is not compatible with the overlay type of controlling and it causes the issue to appear when system default renderer is changed to something else. Player.cs is good starting point if someone wants to investigate why the default rendering change will break video preview. [code] _videoWin = _graphBuilder as IVideoWindow; if (_videoWin != null) { _videoWin.put_Visible(OABool.True); _videoWin.put_Owner(form.Handle); _videoWin.put_WindowStyle( (WindowStyle)((int)WindowStyle.Child + (int)WindowStyle.ClipSiblings + (int)WindowStyle.ClipChildren)); _videoWin.put_MessageDrain(form.Handle); _videoWin.SetWindowPosition(form.ClientRectangle.X, form.ClientRectangle.Y, form.ClientRectangle.Width, form.ClientRectangle.Height); } [/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Software
Codecs
SAF v5.02 *final* (based on FFDShow DXVA decoder)
Contact us
RSS
Top
Bottom