Click here to Skip to main content
14,208,504 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
Hi,
I developped an application capable of playing video with DirectShow and scrolling text with layered windows. Text is drawn using GDIPlus.

I remarked text was sometimes stuttering when using EVR renderer.
I could point out that stuttering occurs exactly during the RenderFile method call.
In fact, I finally did noticed it's also stuttering with VMR9, but almost not perceptible.

So it looks like RenderFile is locking GDIPlus access, particularly noticeable when in EVR mode.
My application is fully multi-threaded.

Any idea of what can happen, and how to fix it ?

Thanks in advance.

What I have tried:

I did not try anything special so far.
The application was VMR9 based and I just implemented EVR and discovered the issue.
Any idea of things I can try would be appreciated, provided that it does not reconsider use of GDIPlus for text scrolling and DirectShow for video playback.
Posted

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



Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190612.1 | Last Updated 29 Feb 2016
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

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