Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7739521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:32:41+00:00 2026-06-01T08:32:41+00:00

I have an application that plays back video frame by frame. This is all

  • 0

I have an application that plays back video frame by frame. This is all working. however looking into performance issues and running traceview I noticed that there were a lot of calls to dispatch message, this was using a lot of cpu time.

As I looked at my app, I am using a handler to post a callback to the ui to display the current frame number. When I removed this all the dispatchMessage calls in traceview are gone.

So my question is, what is the best way to update the ui from a worker thread without experiencing so much overhead?

**NOTE, this call is made about 30 times a second.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:32:42+00:00Added an answer on June 1, 2026 at 8:32 am

    The resources stated are good approached depending on needs. In my case it was a result of a couple minor things happening on the ui thread, mainly some simple transformations. I moved all of this to my background thread so I was drawing a pre transformed bitmap. This gave enough relief to the ui thread to resolve my problems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that plays back video frame by frame. This is all
I am working on a small application that plays back eight different .5 second
in my application i have the playvideo page where video will play, below that
I have finished the majority of my application that I am working on, but
I have an iPad application that creates and shows a video with an MPMoviePlayerViewController
I have an application that lets users record video from their webcams. The users
I have made a Android streaming application that plays media from online URL's. For
I have a web application in Drupal 6 that shows video content to users.
I have application that makes different queries with different results so the caching in
I have application that is connecting to the DB and if I enter incorrect

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.