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

  • SEARCH
  • Home
  • 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 8385095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:34:55+00:00 2026-06-09T17:34:55+00:00

I need to take UIImages that are being fed in a video stream, all

  • 0

I need to take UIImages that are being fed in a video stream, all of this is on the iPad with limited memory, save them to the file system quickly while the stream is still feeding, then process them after a “recording” session. I need to save the UIImages coming in quickly to avoid interrupting the feed which will still be viewing on the iPad. I’m thinking of saving each frame to a separate file then afterward reading these files sequentially and combining them into a .mov file.

The tricks are: how to save the UIImages quickly, maybe raw data, then when processing the movie, append each UIImage file to it to make a seamless movie file? I will need to do some processing of each frame like scaling and transforms before appending.

Any advice would be greatly appreciated.

  • 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-09T17:34:56+00:00Added an answer on June 9, 2026 at 5:34 pm

    Depending on how big your images are, you could let the new coredata “use external storage” attribute do this for you.
    Here is the explanation what it does copied from another answer of mine:

    Since we are on IO5 now, you no longer need to write images to disk neccessarily.
    You are now able to set “allow external storage” on an coredata binary attribute. According to apples release notes it means the following:

    Small data values like image thumbnails may be efficiently stored in a
    database, but large photos or other media are best handled directly by
    the file system. You can now specify that the value of a managed
    object attribute may be stored as an external record – see
    setAllowsExternalBinaryDataStorage: When enabled, Core Data
    heuristically decides on a per-value basis if it should save the data
    directly in the database or store a URI to a separate file which it
    manages for you. You cannot query based on the contents of a binary
    data property if you use this option.

    There are several advantages using this approach.
    First coredate is saving the files at least as fast as you could when writing to the file system. But if there are any small images which apply to the conditions described above, it’ll be much faster because they will be saved directly in the coredata sqlite file.

    Further with iOS 5 it is very easy possible to work on separate managed contexts and perform changes on a child context in background. If finished successfully you can merge this child context into your main managed object context and do the processing you need.

    [child performBlock:^{
    [childsave:&parentError]; //do this in background on child context
    }];
    

    There is a NSPrivateQueueConcurrentType for creating “child-moc” – see [apple documentation][1]

    And at least you can work with coredata objects which enables you to cache, limit and optimize further processing after your download completed

    [1]: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CoreData/Articles/cdConcurrency.html#//apple_ref/doc/uid/TP40003385 for more info

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

Sidebar

Related Questions

We need to take the actual date from the IPad and save it in
My app need to take some screenshot when a video is being played on
I need to take rows from two separate tables, and arrange them in descending
I need to take an uploaded image, resize it, and save it to the
I need to take a textbox that is full of formatted info about accounts
I need to take a variable that contains a URL, and check to see
I need to take a caught exception and get a String that is what
I need take an old software that was built in 4D 2004 (you probably
I'm trying to render some UIImages into 1 single image that I can save
I need to work with many images, and I can't hold all of them

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.