[英]searching for best video compressing with java
I need to greatly reduce the filesize of a large set of jpg images created by a java program. 我需要大大减少由Java程序创建的大量jpg图像的文件大小。 I thought video should be best choice and in particular mp4.
我认为视频应该是最好的选择,尤其是mp4。 but, I don't know why the size of mp4 video with h.264 codec is bigger than the size of the image set in the only implementation I found, so I made my own archive format that is basically the imageset merged together in 1 file and compressed with Snappy , plus the info for split them again.
但是,我不知道为什么带有h.264编解码器的mp4视频的大小比我发现的唯一实现中的图像集大 ,所以我制作了自己的存档格式,基本上就是将图像集合并为1文件,并使用Snappy压缩,再加上重新分割的信息。 so the question are:
所以问题是:
EDIT: the jpg single images are already greatly compressed so i don't need a jpg algorithm. 编辑:jpg单个图像已经被大大压缩,所以我不需要jpg算法。
Only have your program record an image if something in the camera changes. 仅当相机中的某些内容发生变化时,程序才记录图像。 This should be fairly easy to code, and will reduce the file size by a ton.
这应该相当容易编码,并且将使文件大小减少一吨。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.