c# - 将 WriteableBitmap C# WPF 视频流保存到文件
问题描述
我有一个英特尔实感摄像头,它基于https://github.com/IntelRealSense/librealsense/blob/master/wrappers/csharp/cs-tutorial-2-capture/Window.xaml 在 WPF 图像上显示视频“流”。 CS
每次有新图像时,我都想写一个视频。
imgDepth.Source = new WriteableBitmap(p.Width, p.Height, 96d, 96d, PixelFormats.Rgb24, null);
当我关闭程序时,我会有一个视频(.avi、mp4..)。我怎样才能做到这一点。我正在考虑使用 EMGUCV 库的 VideoWriter 类。或者有没有更简单的方法?谢谢
解决方案
推荐阅读
- react-native - react-native 上传图片 react-native-fetch-blob
- mysql - phpmyadmin 与 azure 中国
- kdb - 如何在 kdb 中使用类型“c”和“C”
- python - 在 Pandas Dataframe 中访问感兴趣的行之前和之后的行
- c++ - 这是我的 .h 文件的一些错误,当我在其中包含我的类模板时显示 [Error] unterminated #ifndef
- pycharm - 如何使用 Pycharm 找出谁在特定行上进行了最后一次更改
- angularjs - 无法在 AngularJs 中获取选定的单选按钮值
- r - RMarkdown 图以 101% 的宽度和高度插入 Word
- openshift - 小贩数据访问错误
- jenkins - Jenkins + (yarn or npm) - 如何从命令行设置内部版本号