

Features: (Please include a full, comprehensive list of the features of the product)
- Smooth, low-CPU use playback of high resolution video direct to video textures (4k, 8k, 360 degree)
- Drop-in replacement for standard media player
- Did I mention it is FAST, really FAST
Code Modules:
- AndroidVulkanVideo – the main video player code, runs on Android only.
- AndroidVulkanVideoFactory – this lets Unreal know about our media player, and lets you set it as player in the editor.
- DirectVideoMeshRenderer (beta) – This is an ActorComponent which you can add to a StaticMeshActor. It will then render the selected video player (in component properties) onto that mesh, and disables other drawing of the mesh). This renders directly to the framebuffer, which means it is even faster than the usual rendering via a copied texture, at the cost of removing compatibility with other Unreal video players. It renders unlit and opaque, with absolutely no clever stuff. Stereo and MSAA output are supported (e.g. for Meta Quest)
Number of C++ Classes: 1 public class, 10ish private
Supported Development Platforms: Windows, Linux , probably Mac, but I haven’t tested yet
Supported Target Build Platforms: Android (with Vulkan enabled)
Documentation: https://joemarshall.github.io/directvideo/
特点:(请包括一个完整的,全面的产品功能列表)
- 平滑,低CPU使用播放高分辨率视频直接视频纹理(4k,8k,360度)
- 标准媒体播放器的下拉式替换
- 我有没有提到它是 快,真的 快
代码模块:
- [医]雄性激素 -主要视频播放器代码,仅在Android上运行。
- N.雄性激素,雄性激素 -这让虚幻了解我们的媒体播放器,并让您在编辑器中将其设置为播放器。
- DirectVideoMeshRenderer(测试版) -这是一个ActorComponent,您可以将其添加到StaticMeshActor。 然后,它会将选定的视频播放器(在组件属性中)渲染到该网格体上,并禁用网格体的其他绘制)。 这将直接渲染到帧缓冲区,这意味着它比通过复制纹理进行的通常渲染更快,但代价是消除了与其他虚幻视频播放器的兼容性。 它呈现不亮和不透明,绝对没有聪明的东西。 支持立体声和MSAA输出(例如对于Meta Quest)
C++类数:1个public class,10个private
支持的开发平台:Windows,Linux,可能是Mac,但我还没有测试
支持的目标构建平台:Android(启用Vulkan)
文件: https://joemarshall.github.io/directvideo/
DirectVideo Android is a replacement for the built in Unreal media player, optimized for performance. By directly rendering video to Unreal textures using Vulkan, it enables playback of high resolution and 360 degree video content without frame drops.
The performance gains are sometimes ridiculous – for example on both Meta Quest 3 and a mid-range phone (Oppo Find X3 Neo 5G with Snapdragon 865), I can play 7680x3840x30fps video while maintaining full engine frame rate (72fps on Quest and 60fps on phone). Using the built in player, the game fps drops to under 14 fps and the entire game stutters; it is just not possible to play high resolution video using Unreal’s default player.
This is pretty much a drop-in replacement – just add the plugin, then make sure your media sources are set to use DirectVideo as the player (or just disable the Unreal default Android Media Player plugin).
Right now only local content is supported, either from assets or local storage. It might work with streaming video, but it is untested right now.
This is priced at $99.99 as an introductory special. Similar plugins for Unity cost $200 plus, and as far as I am aware this is the only plugin for Unreal.
Updates:
V1.1 – Support for encrypted video files embedded in .pak file.
V1.2 – Fixes to multiple video loading.
V1.3 – R10G10B10 format support for better colour rendering.
V1.4.1 – Fixes for videos without sound, more accurate looping, and rate setting for videos without sound.
V1.5 – Faster start / seeking / looping, support for pure audio file playback (without video), bugfixes.
V1.6 – Improved color space rendering to make video brightness consistent with Android default player.
V1.7 – Smoother seeking
V1.83 – Improved performance on Meta Quest 2, support for clear background when closed.
V1.84 – Fixed non-looped playback
V1.85 – Colour rendering altered to be more consistent with Unreal default mediaplayer.
V2.01 – Fixed black-screens on some devices. Added DirectVideoMeshRenderer
V2.05 – Made it output end of video events etc. consistently with the built in media player.
V3.01 – Major update:
- Support for multi-track video files.
- Fixed crash on Pico headsets.
- Audio now runs through the standard mediaplayer path, which means you can add a MediaAudio object if you want more control over it in the mixer etc.
More reliable handling of headset removal / putting back on
V3.02 – Support for UE5.2
V3.06 – Support for UE5.6 (beta). Version checking of implementation library. Fixes to weird looping if video has negative timestamps and intermittent crash in development mode with vulkan validation layer enabled.
DirectVideo Android是内置虚幻媒体播放器的替代品,针对性能进行了优化。 通过使用Vulkan直接将视频渲染到虚幻纹理,它可以播放高分辨率和360度视频内容,而不会丢帧。
性能提升有时是荒谬的-例如在Meta Quest3和中档手机(Oppo Find x3Neo5g与Snapdragon865)上,我可以播放7680x3840x30fps视频,同时保持全引擎帧速率(Quest上的72fps和电话上的 使用内置播放器,游戏fps下降到14fps以下,整个游戏结巴;使用虚幻的默认播放器播放高分辨率视频是不可能的。
这几乎是一个下拉式替换-只需添加插件,然后确保您的媒体源设置为使用 [医]直接视频 作为播放器(或者只是禁用虚幻默认的Android媒体播放器插件)。
目前仅支持来自资产或本地存储的本地内容。 它 可能 使用流媒体视频,但它现在未经测试。
这是一个介绍性的特别价格为99.99美元. Unity的类似插件花费$200plus,据我所知,这是Unreal的唯一插件。
更新资料:
V1.1-支持嵌入的加密视频文件。pak文件。
V1.2-修复多个视频加载。
V1.3-R10G10B10格式支持更好的色彩渲染。
V1.4.1-修复没有声音的视频,更准确的循环和没有声音的视频的速率设置。
V1.5-更快的启动/寻求/循环,支持纯音频文件播放(无视频),错误修正。
V1.6-改进的色彩空间渲染,使视频亮度与Android默认播放器一致。
V1.7-更平滑的寻找
V1.83-改进了Meta Quest2上的性能,支持关闭时清晰的背景。
V1.84-固定非循环播放
V1.85-颜色渲染改变为更符合虚幻默认mediaplayer。
V2.01-修复了某些设备上的黑屏。 新增DirectVideoMeshRenderer
V2.05-使其输出结束视频事件等。 与内置的媒体播放器一致。
V3.01-主要更新:
- 支持多轨视频文件。
- 修正了Pico耳机的崩溃。
- 音频现在通过标准的mediaplayer路径运行,这意味着如果您希望在混音器中对其进行更多控制,则可以添加MediaAudio对象。
更可靠地处理耳机拆卸/重新戴上
V3.02-支持UE5.2
V3.06-支持UE5.6(测试版)。 实现库的版本检查。 修复了在启用vulkan验证层的开发模式下,如果视频具有负时间戳和间歇性崩溃,则奇怪的循环。

评论(0)