I attended a tech-ed conference a few days ago, and I actually got to know some like-minded friends. MS courses are often just scratching the surface, so the lectures are not interesting. However, I am fortunate to have met some friends in the garden, and I am deeply gratified. The technical staff are really easy to contact and we can quickly get to the topic and discuss it. This may be the innocent side of technicians. In the past two days, I have changed to a new unit. I feel that it is really boring to change. I remember when I first started working, my boss told me not to switch jobs. I told others this at the time, but I didn’t expect that I would end up like this. I have always wanted to find a good team and a good owner, but I have never been able to do so. I don’t know what will happen now, but it doesn’t look optimistic at the moment. The team I expect is a team that is mutually supportive, united, passionate, flexible, respectful, and complementary to each other. It may be very abstract, but all my aspirations stem from Coming from agile software development, I don't like to see teams that are rigid, traditional, and dead. I don’t really like individualistic teams. “Software development is a game between people.” Yes, what I want is such a people-oriented team. The requirements are not high, but it is difficult to achieve. At least I'm confused now. . .
No nonsense, we often generate thumbnails for pictures. In Windows, videos also display pictures when viewing thumbnails. If we build a video system, how to generate thumbnails for videos uploaded by users? To operate video files, the usually used method is DirectX in DirectX. You can use it to realize the functions of screen capture, image capture, and video capture. Thinking of this, I was surprised by the gorgeous 3D effect of the vista app demonstrated by ms. .
If you want to use DirectShow in .net, the first thing you need is an assembly. This assembly can help you complete .net's call to directshow, and you don't need to use com, which saves the registration process. This assembly The name is: Interop.DexterLib.dll, it is like other dll, just add a reference.
Using this dll, a class is encapsulated. Using this class, you can easily generate video thumbnails, and it is suitable for winform and asp.net, cool!
The source code is here. If you are interested, please download it and have a look.
link/Files/jillzhang/extractframe_source.rar
Reference articles:
http://www.yafla.com/dennisforbes/Extracting-Video-Frames-with-NET/Extracting-Video-Frames-with-NET.html
http://www.cnblogs.com/jillzhang/archive/2006/09 /26/515680.html