UE5 accesses online live video source, such as hls(m3u8) format

1. Achieve goals

By recompiling the VlcMedia plug-in to support the playback of online live video in UE5, the GIF animation is as follows:

insert image description here

2. Implementation process

This article mainly includes three parts: the recompilation of the plug-in, the access of online live video, and the creation of materials.

2.1 VlcMedia plug-in recompile

There is a plugin on GitHub Ue4VlcMedia, but the latest version only supports UE4.19, so the source code needs to be recompiled to support UE5. The VlcMedia plug-in supports a variety of live broadcast formats. The live video source of Hls (m3u8 format) used in this article (and the engine version is 5.0.3).

(1) Download the Github source code, the address is:

Guess you like

Origin blog.csdn.net/weixin_45782925/article/details/131463555