简体   繁体   English

.net应用程序可以用来控制视频文件(尤其是mts和m2ts)的内容是什么?

[英]What can be used for a .net application to control video files (especially mts and m2ts)?

I am trying to build an application which will be used for analysing video files; 我正在尝试构建一个用于分析视频文件的应用程序; pause, play, slow forward/backward, go to time and get time. 暂停,播放,慢速前进/后退,按时获取时间。

I am trying to use MediaElement for Wpf. 我正在尝试将MediaElement用于Wpf。 But it does not support slowing down the movie for some file types (like MTS, that I will use a lot). 但是它不支持减慢某些文件类型的电影速度(例如MTS,我会经常使用)。

What is the best way, or best control, or best library for this? 什么是最佳方法,最佳控制或最佳库?

In Windows 7 .MTS files are readable through DirectShow via Media Foundation's MFSourceFilter and Media Foundation MP2demux filters (chances are that they can also be played through Media Foundation directly), and so you can play and otherwise control them through DirectShow.NET library. 在Windows 7中,可以通过Media Foundation的MFSourceFilterMedia Foundation MP2demux筛选器通过DirectShow读取Media Foundation MP2demux (可能是它们也可以直接通过Media Foundation播放),因此您可以通过DirectShow.NET库播放和控制它们。

Support for container formats and encodings depend on availability of underlying components, such as filters, including stock and third party, capable of dealing with these formats. 对容器格式和编码的支持取决于能够处理这些格式的基础组件(例如过滤器,包括库存和第三方)的可用性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM