简体   繁体   English

libvlc能否在同一个window中同时显示多个视频?

[英]Can libvlc display multiple videos at the same time in the same window?

When libvlc starts to display video, it launch new window, can I do otherwise and display multiple videos in the same window?当 libvlc 开始显示视频时,它会启动新的 window,我可以不这样做并在同一个 window 中显示多个视频吗?

When libvlc starts to display video, it launch new window当 libvlc 开始显示视频时,它会启动新的 window

That is the default behavior when you have not told libvlc in which window to draw the video.当您没有告诉 libvlc 在 window 中绘制视频时,这是默认行为。 See https://stackoverflow.com/a/65060714/4064749https://stackoverflow.com/a/65060714/4064749

libvlc currently cannot draw multiple videos in a single window handle. libvlc 目前无法在单个 window 句柄中绘制多个视频。 However, you could arrange several windows together and have multiple mediaplayers draw to each of them, creating the illusion that multiple videos are played in the same window.但是,您可以将多个 windows 排列在一起,并让多个媒体播放器吸引每个播放器,从而产生多个视频在同一个 window 中播放的错觉。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM