我想从AVI转换为BITMAP [英] I want convert from AVI to BITMAP

查看:76
本文介绍了我想从AVI转换为BITMAP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将视频(.avi)转换为文件位图。我认为将视频分成几帧。将帧组装到一个文件Bitmap之后。你有什么提示可以帮助我吗?你有一个示例项目吗?



谢谢

I want convert a Video (.avi) to file bitmap. I think that suddivide the video to frame. After assemble the frame to one file Bitmap. Any tips you can give me to help me out? And do you have an example project?

Thanks

推荐答案

我们有一篇关于这个主题的文章:提取AVI帧 [ ^ ]。
We have an article on this very topic: "Extracting AVI Frames"[^].


可能你没有。

AVI是一种容器格式,这意味着它可以包含各种视频和音频格式 - 其中大部分是高度压缩的。位图不是。

如果我们从我的收藏中采用AVI的例子:1.46GB,640x480,1:28:16 @ 25FPS

所以这是5296秒的视频,每秒25帧,所以我们得到132,400帧。每个,作为640乘480位图将大约1MB。

所以要将整个视频转换为Bitmap文件,你需要相当多的可用空间:130~ 140GB

随着源AVI的分辨率上升,所需的磁盘空间也会增加 - 指数级!



将它组装成一个单个位图文件将为您节省少量空间,但您仍然可以查看84,000,000像素宽的图像!



我无法相信你正在尝试做的事情!
Probably, you don't.
AVI is a container format, which means that it can contain a variety of video and audio formats - most of which are highly compressed. Bitmaps aren't.
If we take an example AVI from my collection: 1.46GB, 640x480, 1:28:16 @ 25FPS
So that's 5296 seconds of video, at 25 frames per second, so we get 132,400 frames. Each of which, as a 640 by 480 bitmap will be around 1MB.
So to convert the whole video to Bitmap files, you are going to need quite a bit of free space on your HDD: 130~140GB
And as the resolution of your source AVI goes up, so does the disk space required - exponentially!

To assemble it into a single Bitmap file will save you a small amount of space, but you will still be looking at an image 84,000,000 pixels wide!

I can't believe that is what you are trying to do!


这篇关于我想从AVI转换为BITMAP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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