开发者

ffmpeg date time overlay without vhook

开发者 https://www.devze.com 2023-02-26 04:48 出处:网络
I n开发者_如何学运维eed to put current date and time on a video with ffmpeg (overlay). Date and time must increase (16:10, 16:11, 16:12 ...) in sync with real time.

I n开发者_如何学运维eed to put current date and time on a video with ffmpeg (overlay). Date and time must increase (16:10, 16:11, 16:12 ...) in sync with real time. With vhook I can use a text file with %d and so on..

As vhook is no more present in the newer versions of ffmpeg, how can I obtain the same result?


You can now use libavfilter :

http://www.ffmpeg.org/libavfilter.html

From ffmpeg :

Libavfilter is the filtering API of FFmpeg. It is the substitute of the now deprecated 'vhooks' and started as a Google Summer of Code project.

Good luck ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号