从.mov文件用抓帧DirectShow.net文件、mov、用抓帧、net

由网友(爱丶不在服务区)分享简介:如何通过抓住从C#.NET .mov文件框架DirectShow.net How to grab frame from .mov file in c#.net by using DirectShow.net推荐答案DirectShow和DirectShow.NET不作任何特殊与 .MOV 文件。通常,您可以创建一个...

如何通过抓住从C#.NET .mov文件框架DirectShow.net

How to grab frame from .mov file in c#.net by using DirectShow.net

推荐答案

DirectShow和DirectShow.NET不作任何特殊与 .MOV 文件。通常,您可以创建一个过滤器图,您管理的样品采集卡过滤器,它的回调为您提供了通过视频流的帧。

DirectShow and DirectShow.NET don't make it any special with .MOV files. You typically create a filter graph with a Sample Grabber filter that you manage, and its callback gives you frames of video stream that passes through.

您可能想看看DirectShow.NET DxScan样本,样本编辑 DxScan。它抓住帧从一个给定的电影文件。

You might want to look at DxScan sample in DirectShow.NET, SamplesEditingDxScan. It grabs frames from a given movie file.

一个示例应用程序扫描的媒体文件寻找黑帧

A sample application scanning a media file looking for black frames

大多数工作在ISampleGrabberCB.BufferCB完成。查看评论   那里。此外,用于扫描黑色帧的算法是效率不高   因为它可以。然而,样品给你如何这可能是一个想法   完成的。

Most of the work is done in ISampleGrabberCB.BufferCB. See the comments there. Also, the algorithm used to scan for black frames isn't as efficient as it could be. However, the samples gives you an idea of how this could be done.

阅读全文

相关推荐

最新文章