我如何使用 gstreamer 将一组图像拼接在一起以形成视频幻灯片
我想拍摄一组图像和一个音轨,并使用它来使用 gstreamer 形成一个基本的视频幻灯片。
似乎有很多关于 gstreamer 基本用法的文档和示例,例如播放视频或音频文件,甚至转码等。但我认为,我似乎找不到任何对视频编辑任务特别有用的东西。
我觉得我已经很好地掌握了 gstreamer 的基础知识,但是可以这么说,我很难概念化如何将这些点连接起来。具体来说,我拍摄一组图像并将它们转换为单个视频输出。
I'd like to take a set of images and a sound track and use that to form a basic video slideshow using gstreamer.
There seems to be a lot of documentation and examples of basic gstreamer usage like playing a video or audio file, or even transcoding and the like. But I can't seem to find anything particularly useful for, I suppose, video editing tasks.
I feel that I have a decent grasp of the fundamentals of gstreamer, but I'm having trouble conceptualising how I would join the dots, so to speak. Specifically the bit where I take a set of images and turn them into a single video output.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
MultiFileSrc 模块将为您完成此操作。
来自 文档
The module MultiFileSrc will do that for you.
From the doc
使用皮蒂维。
如果你想编写程序,你应该使用 gnonlin,pitivi 库是建立在它之上的。您将组合一个 gnlcompositon。另请参阅http://wiki.pitivi.org/wiki/PyGST_Tutorial
Use pitivi.
If you want to write the program anyway you should use gnonlin, the library pitivi is built upon. You would be putting together a gnlcompositon. See also http://wiki.pitivi.org/wiki/PyGST_Tutorial
Gstreamer 中的图像幻灯片
尝试使用此替代解决方案。为我工作。
Images Slideshow in Gstreamer
try this for an alternative solution. Worked for me.
你想写一个程序吗?我认为您应该查看 ffmpeg 通过提供一组图像来制作视频。它是跨平台的,因此可能适合您的需求。
我希望它有帮助。
如果您想与 gstreamer 库相关,那么您可以在 此处。
Do you want to write a program? I think you should check out ffmpeg for making a video by providing a set of images. Its cross platform and hence may suit your need.
I hope it helps.
If you want related to gstreamer library then you can check out source code of various gstreamer based open source applications here.