Jump to content
Sign in to follow this  
philipp.hofmann

Video with Overlays is very jerky

Recommended Posts

Hi,

I play a video in my app and in the normal display it's absolutely okay. But if I display some information with overlays the video playback is jerky then.
How I can prevent this?
Best regards, Philipp

VideoWithOverlay.png

Share this post


Link to post
58 minutes ago, philipp.hofmann said:

if I display some information with overlays the video playback is jerky then.
How I can prevent this?

If you have code that is used to update the information in the overlays, try removing it temporarily, to see whether it's caused by the overlays themselves. If that improves the playback, you may want to consider executing the code in a separate thread, synchronize with the main thread when it is done, and update the overlays then.

Share this post


Link to post

This was my first test, but without any effect. Because of the overlay each information is rendered always again. One positive effect seems to reduce the internal image size of the icons from 224x224 to 56x56. 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×