English 中文(简体)
仍存图像到视频存储 - 但又回到静止图像供查看
原标题:Still images to video for storage - But back to still images for viewing

使用 ffmpeg 我可以用一些静止图像, 并将其转换成视频。 我想这样做来减少我所有时间折叠照片的总大小。 但我也想提取这些静止图像, 以便在稍后的日期使用 。

In order to use this method: - I will need to correlate the original still image against a frame number in the video. - And I will need to extract a thumbnail of a given frame number in a video.

但在我进入这个兔子洞之前, 我想知道这些要求 是否可以使用 ffmpeg, 如果可以的话, 任何关于如何完成这项任务的暗示。

注意:静态图像从一个摄像头一天的时间折叠,因此与堆积的jpegs相比,时间压缩是可以测量的。

最佳回答

当您使用 ffmpeg 从图像序列中创建视频时, 图像不会受到任何影响。 您仍然应该能够使用它们来完成您想要做的事情, 除非我误解您的问题 。

编辑 : 您可以使用 ffmpeg 从已有的视频中创建图像 。 我不确定它能对您有用, 但是图像质量相当高, 如果与原始图像不同的话。 您需要玩它, 才能确保提取的图像与输入图像在顺序顺序和命名方面完全相同, 但是如果您考虑到 fps, 它应该起作用 。

这样做的命令(来自ffmpeg < a href="http://ffmpeg.org/faq.html#How-do-I-encode-movie-to-single-pictures_003f" rel=“nofollow” > document )如下:

ffmpeg - i 电影.mpg 电影 %d.jpg

问题回答

暂无回答




相关问题
BlackBerry - Unpack Zip File

I m developing a BlackBerry application in which I need to unpack a zip file compressed with PKZIP. The package could have one file in it, or it could have 10; it will vary in each case. I know that ...

How to find if a request is for js or css in httpHandler

is there any way to find if a particular request is for JS or CSS in httphandler to improve the performance of my website i was using HttpCompress from Code Project http://www.codeproject.com/KB/...

Compress data before storage on Google App Engine

I im trying to store 30 second user mp3 recordings as Blobs in my app engine data store. However, in order to enable this feature (App Engine has a 1MB limit per upload) and to keep the costs down I ...

How to process compressed data in Java

I have some data which takes up more than 50MB in an uncompressed file, but compresses down to less than half a MB using gzip. Most of this is numerical data. I m trying to figure out how to process ...

What is the best way to extract a zip file using java

I have a a zipped file. That file contains various directories and files also. I want to extract all those and save in a specified path. So How to write a java program to extract the zipped file. ...

热门标签