开发者

How to paste duration of video on video thumbnail

I want to make a video thumbnail such that the length of the video is pasted on the thumbnail just lik开发者_开发问答e we see video thumbnails on YouTube.

Please help, Muhammad Anas Khan.


If you have the thumbnail image and the duration of the video then you have many options to overlay the duration onto the thumbnail image.

One example on the command line is to use ImageMagick: http://www.imagemagick.org/

If you prefer scripting then one way is to use PHP and its imaging capabilities: http://php.net/manual/en/book.image.php


In Ruby you can use the RVideo gem. The branch working with the latest version of ffmpeg is located here: http://github.com/howcast/rvideo

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜