如何在C#中提取关键帧 [英] how to extract key frames in C#

查看:104
本文介绍了如何在C#中提取关键帧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好我的多媒体应用程序需要关键帧提取视频并在时间轴上映射这些关键帧,以便在时间线上的特定时间显示缩略图。



我不想在MATLAB中进行图像处理。我想要一些捷径,因为我没有时间。我在C#工作。请有人能告诉我该怎么做?是否有任何库提取关键帧?



我听过ffmpeg-c#我下载了它但我不知道如何使用它。任何使用它进行关键帧提取的人都可以详细告诉我吗?或者一步一步?

或者我的问题还有其他解决办法吗? ?请帮帮我。

解决方案

很多文章,你会发现此处 [ ^ ]和其中 [ ^ ]



例如:

用于AviFile库的简单C#包装器 [ ^ ]

从视频文件中提取帧 [ ^ ]

另一个FFmpeg.exe C#Wrapper [ ^ ]

FrameGrabber [ ^ ]


我想你的意思是说你想要使用视频的帧。这些帧是视频中的静止图像,在较小的时间内用下一帧改变,以显示内容在运动中。那是视频!实际上没有实际的视频类型的东西。您可以在Wikipedia上阅读有关Frame的更多信息, https://en.wikipedia.org/wiki/Frame_(video) [ ^ ]



既然你说你已经下载并尝试了使用Frames的API,那么你就无法理解它了。因此,我可能为您提供的任何其他API都是相同的。你将无法理解它。



这里只有解决方案,首先要学习编程语法,语言以及如何为API编程。然后,您可以使用任何API来执行此任务。在此之前,您可以使用专业人士的文章或博客文章。 CodeProject上也有很多已经写过的文章,可以让你使用C#。你真的不需要坚持使用MATLAB来做到这一点。



从视频中提取帧文件 [ ^ ]



使用C#从电影文件中提取静态图片 [ ^ ]



祝你好运!


hi everyone. my multimedia application requires key frames extraction of the video and mapping these key frames on the timeline so that it show thumbnails at a specific time on the timeline.

i don't want to work in MATLAB for image processing. i want some shortcut as i have lack of time. i am working in C#. please anyone can tell me how can i do this? is there any library that extract the key frames?

i had listen about ffmpeg- c# i downloaded it but i dont know how to use it. can anyone who have worked with it for key frame extraction purpose tell me in detail ? or step by step?
or is there any other solution for my problem? ? help me please.

解决方案

A lot of articles, you'll find here[^] and here[^]

For example:
A Simple C# Wrapper for the AviFile Library[^]
Extract Frames from Video Files[^]
Another FFmpeg.exe C# Wrapper[^]
FrameGrabber[^]


I guess you meant to say you want to work with the frames of the video. These frames are still images in the video, which are changed with the next frame in a small instance of time as to show that the content is in motion. That is video! There is no actual video kind of thing in real. You can read more on Frame here on Wikipedia, https://en.wikipedia.org/wiki/Frame_(video)[^]

Since you're saying that you've already downloaded and tried an API for working with Frames, and you were not able to understand it. So any other API that I might provide you with will be same. You won't be able to understand it.

Only solution here would be, to first learn the programming syntax, language, and how to program for an API. Then you can use any API to do this task. You can use an article or a blog post of a professional until then. There are many already written articles here on CodeProject too, which would let you work with C#. You don't really need to stick with MATLAB for doing so.

Extract Frames from Video Files[^]

Extracting still pictures from movie files, with C#[^]

Good luck!


这篇关于如何在C#中提取关键帧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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