How to extract a specific frame from a video based on user input?
Show older comments
I have a robot that collects a ton of data. Some of those include a video (saved as an MP4), time and lat long. One thing I want to do is plot the lat long, when I click a point on the graph I am getting the time information from that point. What I want to do is then extract the frame from that time stamp and plot it on the map. I have never worked with video before so im not sure where to start. Right now I am plotting my lat and long, when a user clicks the figure I am then saving the time stamp at that point in the same format as the video (hh:mm:ss). How do I then extract the one frame that corresponds to that time frame. Thanks!
Answers (1)
Matt J
on 22 Oct 2025
0 votes
This example looks applicable to you: Read Video Frames Starting at Specific Time.
Categories
Find more on Video Formats and Interfaces 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!