从DVD上的avi文件中提取帧 [英] Extract a frame from an avi file on a DVD
本文介绍了从DVD上的avi文件中提取帧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
作为新手,我不具备从DVD上的avi文件中提取/捕获帧并将其另存为jpg文件在硬盘驱动器上的知识(不需要播放avi).
最近三天,我一直在网上寻找各种信息(DirectShow,ffmpeg,DrawToBitmap,MemoryStream ...),但似乎没有显示我所需要的信息.
是否有一段简单的代码可以从avi文件中提取帧?
任何建议或信息将不胜感激.
谢谢.
As newbie I don''t have the knowledge to extract/capture a frame from an avi file on a DVD and save it as a jpg file on the Hard Drive (the avi doesn''t need to be played).
I have been looking on the net for the last 3 days, following-up various information (DirectShow, ffmpeg, DrawToBitmap, MemoryStream... ), but nothing seems to show what I need.
Is there a simple piece of code that will extract a frame from an avi file?
Any advice or information would be greatly appreciated.
Thanks.
推荐答案
您可能必须分两步来完成.首先,您必须将DVD翻录为AVI或其他某种视频格式.然后,您必须提取帧.
如果要这样做,我将从 vStrip [从视频文件中提取帧 [
you''ll probably have to do it in a couple of steps. First, you''ll have to rip the dvd to an avi or some other video format. Then, you''ll have to extract the frames.
If I were going to do it, I would start with vStrip[^]. It''s a command-line DVD ripping program, so you can interact with it programmatically. Then, I would look at this article: Extract Frames from Video Files[^]
这篇关于从DVD上的avi文件中提取帧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文