我可以使用什么来自动拍摄视频快照
我可以使用什么命令行实用程序来创建我制作的视频的缩略图预览? 我不想要 Windows 制作的单个拇指,我想要一个包含 30 个或更少镜头的大 jpg 文件,这样我就可以在不运行它的情况下预览电影。
我要么需要一个可以一次执行批处理的应用程序,要么需要一个命令行实用程序,这样我就可以循环遍历文件夹或w/ei需要并将其提供给实用程序。 我正在考虑破解 ffplay 来做到这一点,我不知道我会让自己陷入什么境地,所以这是推荐的吗? (我多次使用SDL,从来没有使用过它的YUV设置,也没有使用过ffmpeg)
What command line util can i use to create a thumbnail preview of a video i made? I do not want a single thumb that windows make, i want a large jpg file that has 30 or less shots so i can preview the movie w/o running it.
I either need an app that can do a batch at once or a command line util so i can loop through a folder or w/e i need and feed it to the util. I was thinking of hacking up ffplay to do this, i dont know what i am getting myself into so is that recommended? (i used SDL many times, never its YUV settings nor with ffmpeg)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您可以使用 ffmpeg 来执行帧提取,这是我完成类似操作的方法
一旦你收集了 jpeg,你就可以使用 ImageMagick montage 命令来构建蒙太奇图像。
You can use ffmpeg to perform frame extraction, here's how I've done something similar
Once you have your collection of jpegs, you can use ImageMagick montage command to build a montage image.
您可以使用MTN。 它可以扫描整个目录并为找到的每个视频创建缩略图。
You could use MTN. It can scan whole directories and create thumbnails for every video found.
使用 mplayer:
将提取第一帧。
Use mplayer:
Will extract the first frame.
Potplayer 可以自动为文件夹甚至子文件夹中的一批视频生成缩略图。 只需点击几下即可。
Potplayer can automatically generate the thumbnails for a batch of videos in folders or even in subfolders. It just takes a few clicks.
Media Player Classic 可以制作一个集合(称为另存为缩略图;矩阵为 4x4),但是仅来自单个文件。
Media Player Classic can make a collection (it's called save as thumbnail; with matrix i.e. 4x4), but only from a single file.