Imx8MM如何用gst-launch工具设置多视频同屏显示
在imx6上设置4视频同屏显示操作如下:gst-launch-1.0 playbin uri=file://$FILE1 video-sink=”overlaysink overlay-width=960 overlay-height=540”playbin uri=file://$FILE2video-sink=”overlaysink overlay-left=960 overlay-width=960 overlay-height=540” playbin uri=file://$FILE3video-sink=”overlaysink overlay-top=540 overlay-width=960 overlay-height=540” playbin uri=file://$FILE4video-sink=”overlaysink overlay-left=960 overlay-top=540 overlay-width=960 overlay-height=540”在imx8上如何操作??
目前了解到gstreamer 的waylandsink插件可以设置播放窗体大小,但是不能控制视频播放窗体的位置,各位是怎么解决的?
我所用参数命令如下:
gst-launch-1.0 filesrc location=H265_1080.mp4 typefind=true ! video/quicktime ! aiurdemux ! queue max-size-time=0 ! vpudec ! imxvideoconvert_g2d ! video/x-raw, format=RGB16, width=1024, height=600 ! waylandsinkwindow-height=384 window-width=512 filesrc location=H265_1080.mp4 typefind=true ! video/quicktime ! aiurdemux ! queue max-size-time=0 ! vpudec ! imxvideoconvert_g2d ! video/x-raw, format=RGB16, width=1024, height=600 ! waylandsinkwindow-height=384 window-width=512 filesrc location=H265_1080.mp4 typefind=true ! video/quicktime ! aiurdemux ! queue max-size-time=0 ! vpudec ! imxvideoconvert_g2d ! video/x-raw, format=RGB16, width=1024, height=600 ! waylandsinkwindow-height=384 window-width=512 filesrc location=H265_1080.mp4 typefind=true ! video/quicktime ! aiurdemux ! queue max-size-time=0 ! vpudec ! imxvideoconvert_g2d ! video/x-raw, format=RGB16, width=1024, height=600 ! waylandsinkwindow-height=384 window-width=512
用waylandsink 设置完窗口大小在屏幕上是随机位置显示的,并且只有window-height window-height参数,没有imx6平台left top参数。 论坛都没有技术支持的吗? 我们对gst-launch也不熟悉,没有做过相关的测试,不能跟您提供很好的方法,非常抱歉!
页:
[1]