将缩略图链接到视频文件并添加标题
远景,但是……
我有 200 个缩略图和 50 个视频。每个视频有 4 个缩略图可供选择,但我只需将 1 个缩略图链接到相应的视频。
所以我有 video1thumb1、video1thumb2.jpg、video1thumb3.jpg、video1thumb4.jpg ---- video1.avi video2thumb1、video2thumb2.jpg、video2thumb3.jpg、video2thumb4.jpg ---- video2.avi video3thumb1、video3thumb2.jpg、video3thumb3.jpg、video3thumb4.jpg ---- video3.avi ...等等...图像位于 /Image 文件夹中,视频位于 /videos 文件夹中。
现在...是否有一个脚本/程序/代码可以让我选择最佳图像或每个视频并为每个视频添加标题?
Long shot here but...
I have 200 thumbnails, and 50 videos. That's 4 thumbnails per video that I can choose from, but I only need to link 1 thumbnail to the appropriate video.
So I have
video1thumb1, video1thumb2.jpg, video1thumb3.jpg, video1thumb4.jpg ---- video1.avi
video2thumb1, video2thumb2.jpg, video2thumb3.jpg, video2thumb4.jpg ---- video2.avi
video3thumb1, video3thumb2.jpg, video3thumb3.jpg, video3thumb4.jpg ---- video3.avi
... and so on... Images are in the /Image folder, and videos are in the /videos folder.
Now... Is there a script/program/code out there that will allow me to choose the best image or each video AND add a title to each video?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将问题分解为不同的部分:
对于第一部分,您可以使用 bash(如果您使用的是 Linux)和 imagemagick(跨平台成像库)轻松完成此操作。
对于每个视频,您都需要执行以下操作(我感觉到一个
for
循环):You can break down your problem into separate parts:
For the first part, you can easily get this done using bash (if you're on Linux) and imagemagick (cross-platform imaging library).
For each video, you would want to do something like this (I sense a
for
loop):