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 6082195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:15:43+00:00 2026-05-23T11:15:43+00:00

I am currently having a problem with matlab in that when I try and

  • 0

I am currently having a problem with matlab in that when I try and read in some data from a video I am presented with an error:

??? Not enough memory available for 990 frames.

I have enough memory available for reading about 100 frames or so.

I say alternate solutions in the title as I would assume the obvious answer would be to buy more memory. Are there any other ways of reading these frames and processing them? For example I thought that perhaps I may be able to read in a frame at a time via a loop and resize the video frame in order to use less memory (or do this via an alternate program)? The video is pretty memory intensive at 1024×1024. However by downscaling I am worried that I will be losing valuable data from the video.

Any help would be greatly appreciated!

Thanks in advance 🙂

ps. Current code:

vid = VideoReader('video.avi');
frames = read(vid);
  • 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-05-23T11:15:44+00:00Added an answer on May 23, 2026 at 11:15 am

    You can read spesific frame(s) by giving the indices instead of reading all of the frames into the memory as given in the documentation.

    frames = read(vid); %# Read all
    frames = read(vid, index); %# Read only the specified frames
    

    Example

    frames = read(vid, [1 50]); %# Read the first 50 frames
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently having the problem that when I use the login_required decorator from
Currently i am having some problems with getting some data out of a DataTable
i'm currently having some issues by using the cakePHP data validation. I've tried to
I am currently having the problem that I have a (partial) program that is
I'm currently having a problem with events in Javascript. I'll first try to explain
I'm currently having the following problem: I've got a TableView that is given TableRow's
Currently having this really odd problem with my layout IE7. I'm not very experienced
I'm currently having a problem with bitshift operators. I'm not familiar with it so
I am currently having the problem of not able to run the following code
Problem: https://postimg.cc/image/tunhwh8qj/ The trouble I am currently having is that the border around my

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.