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!)
MP1 EVR Presenter/dshowhelper community development
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="Owlsroost" data-source="post: 636312" data-attributes="member: 83973"><p><strong>Re: AW: MP1 EVR Presenter/dshowhelper community development</strong></p><p></p><p></p><p></p><p>I didn't intend to totally rework parts of the code - it just worked out that way <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>It's good to get some feedback from an ION/Win7 user - especially someone willing to experiment with the code <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p></p><p></p><p>I usually get about 0.02% dropped frames on my system (Vista/E4400/9500GT) - normally due to time stolen by Windows from MP i.e. 10-20ms time lost = dropped frame.</p><p></p><p>As Tourettes said, the dwshowhelper code itself should use very little CPU/CPU time - it's just deciding when things happen. not actually doing the processing itself.</p><p></p><p>You could try playing around with the thread priorities - the base priorities are set in StartWorkers().</p><p></p><p>In 'Scheduler.cpp' the Timer and Worker threads are under <a href="http://msdn.microsoft.com/en-us/library/ms684247(VS.85).aspx" target="_blank">Multimedia Class Scheduler Service</a> (MMCSS) control - the SchedulerThread isn't (because it seems to have side effects sometimes) but you could try enabling it - just un-comment the code blocks at the beginnng & end of the function.</p><p></p><p>You could also try commenting out:</p><p></p><p> p->pPresenter->NotifyTimer(hnsTargetTime); //Wake up Timer thread</p><p></p><p>and modify 'timDel + 1' to 'timDel' on the next line, so that the TimerThread timer isn't used - it will save a little bit of CPU time.</p><p></p><p>In 'EVRCustomPresenter.h' if you:</p><p></p><p>// uncomment the //Log to enable extra logging</p><p>#define LOG_DELAYS //Log</p><p></p><p>you'll get info in the log file about high internal latencies and delays which might help to see why the frames are being dropped.</p><p></p><p>Have fun....</p><p></p><p>Tony</p></blockquote><p></p>
[QUOTE="Owlsroost, post: 636312, member: 83973"] [b]Re: AW: MP1 EVR Presenter/dshowhelper community development[/b] I didn't intend to totally rework parts of the code - it just worked out that way :) It's good to get some feedback from an ION/Win7 user - especially someone willing to experiment with the code ;) I usually get about 0.02% dropped frames on my system (Vista/E4400/9500GT) - normally due to time stolen by Windows from MP i.e. 10-20ms time lost = dropped frame. As Tourettes said, the dwshowhelper code itself should use very little CPU/CPU time - it's just deciding when things happen. not actually doing the processing itself. You could try playing around with the thread priorities - the base priorities are set in StartWorkers(). In 'Scheduler.cpp' the Timer and Worker threads are under [URL="http://msdn.microsoft.com/en-us/library/ms684247(VS.85).aspx"]Multimedia Class Scheduler Service[/URL] (MMCSS) control - the SchedulerThread isn't (because it seems to have side effects sometimes) but you could try enabling it - just un-comment the code blocks at the beginnng & end of the function. You could also try commenting out: p->pPresenter->NotifyTimer(hnsTargetTime); //Wake up Timer thread and modify 'timDel + 1' to 'timDel' on the next line, so that the TimerThread timer isn't used - it will save a little bit of CPU time. In 'EVRCustomPresenter.h' if you: // uncomment the //Log to enable extra logging #define LOG_DELAYS //Log you'll get info in the log file about high internal latencies and delays which might help to see why the frames are being dropped. Have fun.... Tony [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MP1 EVR Presenter/dshowhelper community development
Contact us
RSS
Top
Bottom