Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Android 上从图像(位图)中获取视频轨道?
我需要在我的视频结尾添加一张图片.. 5 秒
谢谢
视频之后的术语称为“后滚动”(或视频之前的“前滚动”)。这将帮助您在以后的搜索中。
如果您尝试使用图片作为 Post Roll,这将无法正常工作,正如其 GitHub 页面底部所说的那样。
所以,你可以做什么?
正如他们在该页面上所说,您可以“使用相同的编码设置附加录音”。因此,您可以使用以下代码将图像编码为视频:
作为您的主要视频,那么它们将正确链接。