简体   繁体   中英

How to learn DirectShow Encoder/decoder programming?

I have created a project using directShow that takes the captured video from a webcam and preview it. Now I want to encode on run time video captured alive and save it on desk then play it back I want to use it as part from my code(dll for example) not a standalone part.

Any links can help me to get how to do that please I am in search process for a week and feel not understood with the methodology?

If you're writting new app, or you're interested in learn about video processing you should consider using Microsoft Media Foundation . DirectShow is an 'obsolete' and shortly will be discontinued technology.

If despite this, you're still interested in DirectShow, you could start with MSDN DirectShow Documentation (Examples are in C++ but the idea is the same).

As short summary you must understand this concepts.

  • What is a DirectShow Filter , and wich types exists (Source,Transform,Renderers and Capture). Introduction to DirectShow
  • How can I connect multiple Filters in a Graph ,how filters are connected between them, and how I can control the playback. Start with Building the Filter Graph .

Some utils that can help you:

NOTE: As you tagged this post with 'C#' and 'Directshow.NET' tags, I will consider that you're using DirectShow.NET library (the unofficial port of DirectShow to .NET).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM