[英]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
我在GraphEdit
有一个Graph
,它可以将USB Webcam
转换成不同形式的视频,例如.MKV
Input -> ffdshow Video Converter -> Smart Tee -> AVI Mux -> file.mkv 输入-> 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#
? 如何在DirectShow.Net
创建ffdshow codec
过滤器,以便可以在C#
创建此设置? I looked and I don't have ffdshow
listed FilterCategory
. 我看了看,没有ffdshow
列出FilterCategory
。
Are you using a 64 bit version of Windows? 您使用的是Windows的64位版本吗? If you are, did you make sure you have a 64 bit version of ffdshow installed? 如果是,是否确定已安装64位版本的ffdshow? or that you are building your .net application as X86 explicitly? 或者您正在显式地将您的.net应用程序构建为X86? Additionally, you cannot use an AVI muxer to create an mkv file. 此外,您不能使用AVI混合器创建mkv文件。 You should use a matroska muxer instead. 您应该改用Matroska混合器 。
ffdshow is listed under ffdshow列在
FilterCategory.LegacyAmFilter
actually a lot of the encoders, decoders and filters are listed in it. 实际上其中列出了很多编码器,解码器和过滤器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.