tulipe
tulipe

Reputation: 746

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?

Upvotes: 0

Views: 284

Answers (1)

arturn
arturn

Reputation: 763

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).

Upvotes: 3

Related Questions