简体   繁体   中英

Record USB Webcam to MKV and other formats using DirectShow.Net

I have a Graph in GraphEdit which converts a USB Webcam into different forms of video like .MKV

Input -> ffdshow Video Converter -> Smart Tee -> AVI Mux -> file.mkv

How can I create the ffdshow codec filter in DirectShow.Net so I can create this setup in C# ? I looked and I don't have ffdshow listed FilterCategory .

Are you using a 64 bit version of Windows? If you are, did you make sure you have a 64 bit version of ffdshow installed? or that you are building your .net application as X86 explicitly? Additionally, you cannot use an AVI muxer to create an mkv file. You should use a matroska muxer instead.

ffdshow is listed under

FilterCategory.LegacyAmFilter

actually a lot of the encoders, decoders and filters are listed in it.

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