I need a simple component for .NET that will extract frame from WMV movie.
## Deliverables
Software component should be built. Small application should be built also for testing the component.
Component should extract frames from the WMV. Two modes of operation should be supported, and here is their description by means of steps of operation:
mode #1.
1. open file
2. read file duration (milliseconds and frame count)
3. (optional) seek to some file position
4. get frame image from that position
5. advance to next frame
6. repeat to step 4.
mode #2.
1. open file
2. read file duration (milliseconds and frame count)
3. seek to some position
4. read frame image from that position
5. repeat to step 3. as desired
I guess that that two modes might be identical, but I also guess that mode #1 should be more efficient.
When returning the frame image, timestamp of the image should also be returned (absolute movie time).
Component should return the frame at exact time position, regardless of the keyframe interval or anything like that.
Audio is irrelevant in this project.
Component should provide frame information (size and format) and allow user to choose desired return format (if feasible).
Form for testing should include media player component for finding the movie frame, file picker for opening the file, picturebox component for displaying results, and few buttons.
When operating in mode #1 at full speed, frames should be extracted as fast as possible. Following test shoud be made: play a movie with Windows Media Player. Observe CPU usage. If it is for example 10%, it means that frame extractor should run 10x faster than the real-time.
Windows format sdk should be used ([login to view URL]).
No DirectShow should be used!
Coder should submit to subversion and be able to use mantis bugtracker as issue tracker.
Visual Studio 2005 should be used.