Access of time stamps in .avi files
17 views (last 30 days)
Show older comments
From what I've read, most .avi files lack timestamps for each frame. Yet .avi files can contain timestamps for each frame which are not simply the frame number divided by the frame rate. I have .avi files created by Plexon's Cineplex software which do contain the time stamps within the files. They're in the application for viewing the .avi files supplied by Plexon. I would like to find a way to access these timestamps within MATLAB, but I can't seem to find anyway to do this. aviinfo only provides a preset list of fields. Does anyone have any idea how to access metadata from an .avi file if this data is not within the scope of aviinfo?
Thanks!
Matt
0 Comments
Answers (1)
Walter Roberson
on 31 Aug 2012
AVI can be fixed frame rate or variable frame rate.
Fixed frame rate can have time offsets calculated by knowing the frame rate and frame number.
Variable bit rate are a bit of a nuisance to work with, as you cannot seek to a particular frame using MATLAB's readers. You can, however, read a frame at a time and get() the time property from the avi object.
See Also
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!