I work in C # and have the need to shoot individual frames of video files. As quickly as possible (faster than in real time), I want to search for a specific frame number and write every nth frame to a graphic file format such as BMP or JPEG. It is highly desirable that the frame that was captured be predictable and repeatable, i.e. Did not drop frames.
I have experience with DirectShow, but I donβt know whether it is better to use this technology for this problem in a modern Windows.NET environment. Ideally, I would like to find a .NET or COM library to abstract as much as possible. I do not need to actually display the video file on the screen, and in fact he would prefer not to have a Windows user interface for playing the video.
Does anyone have any suggestions for using technology or specific products? They must be compatible with MPEG-2 and MPEG-4 video files, including DivX. QuickTime support will be a great bonus.
source
share