I am looking for a Windows based open source method to extract specific frames from video files (*.avi). Ideally the method will be suited to R.
I need to do this as I have annotated (many) video files using Solomon Coder. This is an open source program which, quickly and easily, allows for user specified frame by frame annotation.
I have then summarized the data using R. In my summary I have a behaviour event and the start and end frame numbers. I also have the start and end time in seconds, epoch time and as a POSIXct object.
I'd like to extract the specific frames in some instances.
I am aware of the following options:
ffmpeg in Matlab. However, I do not have access to Matlab nor I am that competent using it.
Using the command prompt and VLC. However, many images seem to get skipped and one ends up with lots of corrupt files. (e.g: https://www.raymond.cc/blog/extract-video-frames-to-images-using-vlc-media-player/)
Potentially calling Octave through R and using similar approach of ffmpeg. Again, this is a bit beyond my ability for the moment.
If anyone has some quick guidance that would be greatly appreciated.