ffmpeg文件名输出格式 [英] ffmpeg filename output format
问题描述
当使用 ffmpeg
将一系列帧作为图像输出时,我可以找到的文档的唯一格式是 frame_%d.jpg
。 %d
标识符被顺序帧计数替换。
When using ffmpeg
to output a series of frames as images, the only format I can find documentation for is frame_%d.jpg
. The %d
identifier is replaced by the sequential frame count.
是否有其他可以在输出中使用的参数文件格式?具体来说,我需要添加特定框架的时间戳的能力。
Are there other parameters I can use in the output file format? Specifically, I need the ability to add the timestamp of the specific frame.
推荐答案
原来这个行为还没有在时间。
Turns out this behavior was not yet implemented at the time.
我在FFmpeg的叉子上实现了%t
支持的初始版本( https://github.com/yuvadm/FFmpeg ),目前正在清理补丁,以便可以在上游合并。
I implemented an initial version of %t
support on my fork of FFmpeg (https://github.com/yuvadm/FFmpeg), and am currently working on cleaning up the patch so that it can be merged upstream.
这篇关于ffmpeg文件名输出格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!