从image_100开始的图像序列创建视频 [英] Create video from image sequence starting at image_100

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

问题描述

我正在使用ffmpeg将一系列图像转换为.mov文件.我使用的命令行是:

I'm using ffmpeg to convert a sequence of images into a .mov file. The command line I use is:

ffmpeg.exe -f image2 -i im_%04d.jpeg -r 25 -sameq -vcodec mjpeg out.mov

如果序列的第一张图片开始于im_0000,效果很好,但是当第一张图片开始于例如im_0100时,我得到一个

It works fine if the first image of the sequence starts at im_0000, but when the first image starts for example at im_0100, then I get an

im_%04d.jpeg: Error number -2 occurred

无论第一张图像是多少,如何强制它分析序列?

How can I force it to analyse the sequence, no matter what number the first image is?

推荐答案

这是个老问题,但我认为答案应该在这里:

It is old question, but i think that answer should be here:

您可以使用"-start_number 100"

You may use "-start_number 100"

FFmpeg文档

这篇关于从image_100开始的图像序列创建视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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