如何使用Microsoft Media Foundation逐帧获取视频? [英] How to get the Video frame by frame using Microsoft Media Foundation?

查看:689
本文介绍了如何使用Microsoft Media Foundation逐帧获取视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想知道MF中我可以使用什么API来进行特定时间并从中提取一个帧。 


案例1:


    1。我希望所有帧都以4秒到10秒的间隔作为图像。


     我可以使用FFMPEG执行此操作,但我如何访问特定的框架?



此外,如果我提取的框架应该始终保持相同也重复实验。





解决方案

Source Reader 是所描述方案的API。

Hi,

I want to know exactly what API in MF I can use to go to the perticular time and extract a frame out of it. 

Case 1:

   1. I want to get all frames from 4 sec to 10 sec interval as Images.

      I can do this using FFMPEG, but How I can access particular frame?

Also, that extracted frame should always remain same if I repeat the experiment also.


解决方案

Source Reader is the API for the described scenario.


这篇关于如何使用Microsoft Media Foundation逐帧获取视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆