Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将视频转换为图像。一项要求是索引从 0 开始。执行以下命令。
avconv -i INPUT %04d.png
但是,生成的图像索引从 0001.png 开始,而不是 0000.png。
哪个选项将指定起始编号?
使用-start_number开关:
-start_number
avconv -start_number 0 -i '%04d.png' -qmax 16 out.mp4