FFMPEG 命名约定
我想看看 FFMPEG 的命名约定是什么。我正在尝试拍摄一个视频文件并将其切成图像。我目前已将其设置为从 0 开始计数,但想知道是否可以使用日期和时间而不仅仅是数字表示。
预先感谢您的任何帮助。
I am trying to see what the naming conventions are for FFMPEG. I am trying to take a video file and slice it up into images. I have it currently set to label them from 0 counting up, but was wondering if I could use the date and time instead of just a numerical representation.
Thanks in advance for any help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ffmpeg 不会这样做
ffmpeg 只会根据索引命名解码帧。
但是,您可以编写一个简短的 shell 脚本来获取一组名为 1-30.jpg 的文件,并将其名称更改为 current-time+1-30.jpg。不那么直接,但也不错。
ffmpeg will not do this
ffmpeg is only going to name decoded frames based on their index.
However, you could probably write a short shell script to take a set of files named 1-30.jpg and change their names to current-time+1-30.jpg. Not as direct, but not bad.