[英]How do I use ffmpeg to extract frames starting at a specific number?
I've decided for some reason to upscale an entire 90-minute movie using AI.出于某种原因,我决定使用 AI 放大整部 90 分钟的电影。 Problem is, I have several demo scenes that have already been upscaled, and I want to keep those frames rather than upscaling them again.问题是,我有几个已经放大的演示场景,我想保留这些帧而不是再次放大它们。 Basically I want to export frames starting at a specific number, like ffmpeg -i scene1.mp4 scene1/%10d+[starting number].jpg
.基本上我想导出从特定数字开始的帧,比如ffmpeg -i scene1.mp4 scene1/%10d+[starting number].jpg
。 If the specified number were 1550, for example, the first frame it would export would be 0000001550.jpg
.例如,如果指定的数字是 1550,那么它将导出的第一帧将是0000001550.jpg
。 I still want it to start at the first frame of the input video, though;不过,我仍然希望它从输入视频的第一帧开始; the only things I want to change are the names of the output files.我唯一想改变的是输出文件的名称。 Is there a way to do this?有没有办法做到这一点?
Use the -start_number
option for image2 muxer.对 image2 -start_number
使用-start_number
选项。
Use用
ffmpeg -i scene1.mp4 -start_number 1550 scene1/%10d.jpg
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.