在Rails上使用ruby从图像列表创建视频 [英] Create video from list of images using ruby on rails

查看:81
本文介绍了在Rails上使用ruby从图像列表创建视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我想根据滑轨上的红宝石上的图像列表创建视频.我已经搜索了很多,发现的只是ffmeg,但是我想那是一个命令行工具.如何在轨道上使用纯红宝石创建它.有任何宝石或教程.请帮忙.

Hi I want to create a video from list of images on ruby on rails. I have searched alot and all i found out was ffmeg, but i guess that's a command line tool. How do i create it using pure ruby on rails. Is there any gem or tutorial. Please Help.

推荐答案

感谢 LordNeckbeard ,我在

Thanks to LordNeckbeard, i found this single command to convert images into video here ffmpeg .

ffmpeg -framerate 1/3 -pattern_type glob -i '*.jpg' -c:v libx264 out.mp4

这篇关于在Rails上使用ruby从图像列表创建视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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