如何在C ++或MFC中获取视频缩略图? [英] How can I get thumbnail of a video in C++ or MFC ?

查看:169
本文介绍了如何在C ++或MFC中获取视频缩略图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨...

我正在尝试用C ++制作视频缩略图。我只想要第一个应该显示视频图像的缩略图。任何人都可以帮助我吗?



我的尝试:



我尝试使用IMFSourceReader API。但我只有黑色缩略图。

Hi...
I am trying to take thumbnail of an video in C++. I just want first thumbnail which should show image of a video. Can anyone help me?

What I have tried:

I tried by using IMFSourceReader API. But i got only black color thumbnail.

推荐答案

你可以使用 ffmpeg Documentation [ ^ ],可以使用命令行实用程序或使用libav * - FFmpeg [ ^ ](图书馆)。
You can use ffmpeg Documentation[^], either by using the command line utility or by Using libav* – FFmpeg[^] (the library).


这篇关于如何在C ++或MFC中获取视频缩略图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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