如何在视频中将图像作为信箱
How to put image as letterbox in video
当我使用 Azure 媒体服务将我的视频转换为格式 9x16 信箱出现在顶部和底部时。我用了 stretchMode: "AutoFit"
所以 letterbox 实际上是这里的正常效果。
Pad the output (with either letterbox or pillar box) to honor the output resolution, while ensuring that the active video region in the output has the same aspect ratio as the input. For example, if the input is 1920x1080 and the encoding preset asks for 1280x1280, then the output will be at 1280x1280, which contains an inner rectangle of 1280x720 at aspect ratio of 16:9, and pillar box regions 280 pixels wide at the left and right.
但是我想知道是否可以将图像放在那里而不是让它们只是黑色。
我的视频是这样的:
不,我们目前不支持在拉伸或信箱操作期间放置背景图片。如果可能,并且您没有大量这些视频要处理,我建议 运行 通过免费的合成应用程序(如 BlackMagic 的 Davinci Resolve)来获得预期效果,然后上传最终输出以进行流式传输。
当我使用 Azure 媒体服务将我的视频转换为格式 9x16 信箱出现在顶部和底部时。我用了 stretchMode: "AutoFit"
所以 letterbox 实际上是这里的正常效果。
Pad the output (with either letterbox or pillar box) to honor the output resolution, while ensuring that the active video region in the output has the same aspect ratio as the input. For example, if the input is 1920x1080 and the encoding preset asks for 1280x1280, then the output will be at 1280x1280, which contains an inner rectangle of 1280x720 at aspect ratio of 16:9, and pillar box regions 280 pixels wide at the left and right.
但是我想知道是否可以将图像放在那里而不是让它们只是黑色。
我的视频是这样的:
不,我们目前不支持在拉伸或信箱操作期间放置背景图片。如果可能,并且您没有大量这些视频要处理,我建议 运行 通过免费的合成应用程序(如 BlackMagic 的 Davinci Resolve)来获得预期效果,然后上传最终输出以进行流式传输。