Search code examples
c#directxdirectshowms-media-foundationvideo-editing

Video Editing API Suggestions?


I have a specific requirement of being able to select arbitrary rectangular regions from a source video and to save that region (for a specific time span) to a separate file.

Ideally, the API would support C#/.NET but we're prepared to do it in C++ if that would yield a better end product.

This software will need to run on Windows machines.

I've looked into Direct Show Editing Services and Media Foundation. I've found conflicting information that says DSES is deprecated, but then to use DSES over MF because MF doesn't focus on video editing that much.

Are there are any other APIs that I should look into?
Can you recommend either of the mentioned APIs for the task at hand?

Thanks in advance!


Solution

  • For video editing in Windows desktop apps, DirectShow remains really the only Windows API for this scenario. See Migrating from DirectShow to Media Foundation

    For C#, take a look at DirectShow.NET.

    DirectShow is not supported for Windows Store, universal Windows apps, Xbox One, or Windows phone 8.

    Also keep in mind that DirectShow is impacted by the "N" editions of Windows. See "Who moved my [Windows Media] Cheese"?