我这儿有很多张连续的图片,如何将其快速地转换成视频流?
1条回答 默认 最新
关注在ubuntu系统下,完成连续帧到视频流的转换,只需要下面两个步骤:
(1) 安装mencoder
sudo apt install mencoder(2) 使用mencoder进行转视频
首先,通过cd命令进入图片文件夹下;
然后,使用mencoder转换操作命令:
mencoder mf://*.png -mf fps=7:type=png -ovc x264 -x264encopts bitrate=440 -vf scale=640:480 -o outVideo.mp4保存后的视频流命名为outVideo.mp4
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报