Hi, thank you very much for the video, It is very helpful for me, I need to extract the frames of a video for each 100ms timestamps. Is it possible to do so, have you written a similar code or do you know any repository that I can find a code that can do this task for me, thank you very much in advance:)
There should be a method where the video can be decimated given the original frame rate and your target frame rate. Unfortunately, I don’t have the exact code to do so yet.
For this specific file, I have it uploaded to a GitHub repository here: github.com/MichaelTr7/MATLAB-Multimedia-Functions/tree/master/Importing%20Video%20Files
Hello, good video and explanation! by the way, can you give the tutorial for downloading the mathlab in mac ? because i've problem with that. Thank you so much
You may need to activate it by using a licence or signing into an account with a valid license (many academic institutions have student license permissions). Alternatively, Octave is an open source alternative that shares the same/similar coding structure. I can make a video on any issues if you encounter any specific problems.
@@designed.with.stardust I see...The problem is because my univ doesn't have a license😂 thank you sir for your recommendation. Thank you so much for your replying🙏 Wish you a good health always
@@febbyfitri1753 Octave would be a good alternative in that case. Pretty much almost all MATLAB code can be used in Octave: www.gnu.org/software/octave/index
Good day, I would like to ask you, how is it possible to get every nth frame within a specific time period? I got the point about defining the time periods, but I can't understand how to write the code, so I will get the frame every 150 ms and then import this frame by frame www.mathworks.com/matlabcentral/answers/380986-how-read-frames-within-specified-time-interval-exactly-from-video
There is no guarantee that a frame will land on every 150ms unless your original frame period is a factor of 150ms such as 30ms, 50ms etc. Can you specify what is the frame rate of your video? If the frame period is not a factor 150ms then some 'if statements' may be able to approximate that functionality. Here is the script for extracting the frames within a specified time period:
@@designed.with.stardust FPS is 25. Well, I wrote the code using python OpenCV and after hard work I got every frame on 200 ms. But thank you very much, I will try your code in Matlab! ^^