X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12 Aug 2013 02:20 AM by  anon
READ_VIDEO
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
12 Aug 2013 02:20 AM
    Hi I am not sure I understand the usage of the new method READ_VIDEO in combination with the HANDLE keyword. Anyway, I need to load a large HD video (1 GB) and process each frame in a loop. Which is the most efficient way to do that? Thanks

    Deleted User



    New Member


    Posts:
    New Member


    --
    14 Aug 2013 10:52 AM
    Hi Konstantinos, Well, the IDL help for READ_VIDEO's HANDLE keyword says: "When reading from a file multiple times (for example, frames 0 - 74 read via a loop structure), by default IDL opens, reads, and closes the file one for each frame. When using a handle, IDL opens the video, reads each of the 75 frames, then closes the file." So, I think this is what you will need to use when reading all those frames that you have. It will be much more efficient than opening reading and closing each frame. For example, take a look at the following examples: http://www.exelisvis.com/Company/Pres... and http://www.exelisvis.com/Company/Pres... I hope they will help you. Cheers, Fernando
    You are not authorized to post a reply.