DirectShow is a nasty little fella, witha deceptively simple abstraction of filters and sources. There are many little facets about hooking up filters (and sometimes in what order) that you need to pay attention to. But when it works, relying on the windows system api (instead of individual codec apis) to take care of everything from mpgs to avis makes the world better. This includes the ability to quickly track forward and backward the movie, which is the main reason I investigated DirectShow as a movie player engine over OpenCV.
I created a library, "DShowObj", that encapsulates everything I need, including quickly setting up the windowless VMR, and the ability to seek forwards and backwards. Really, it's pretty generic as far as the guts, but with the addition of a function that can return a Bitmap object for display purposes in .Net forms.
I tried to install it recently in a new project, but ran into some problems. Long story short, I had to make sure that project properties included linking strmiids.lib.
Thursday, October 08, 2009
Friday, March 20, 2009
Tuesday, March 17, 2009
Friday, March 13, 2009
Friday, March 06, 2009
Subscribe to:
Posts (Atom)
