iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🎬

[UE5] How to Add Custom Settings to Movie Render Queue

に公開

Environment at the time of writing

Item Version
Unreal Engine 5.5.4
OS Windows11
Platform Windows

What is MovieRenderQueue?

It is a plugin that enables you to output videos and image sequences from the Sequencer.
It is not enabled by default, so search for Movie Render Queue in the plugins and enable it.
(A restart is required)

Official documentation is below.
How to use Movie Render Queue for high-quality rendering in Unreal Engine | Epic Developer Community

What are Settings?


When configuring rendering settings from MovieRenderQueue, you can set options such as anti-aliasing, console variables, and the format of the output images.
(The part enclosed in the red frame in the image)
By default, only features provided by the engine exist, but you can add your own custom features here.

How to do it

In the case of Settings

It is not particularly difficult; you just need to inherit the base class provided by MovieRenderQueue and override the functions. However, C++ is required.

Add the MovieRenderPipelineCore module to the Build.cs of the plugin or game you are adding it to.

PublicDependencyModuleNames.AddRange(
new string[]
    {
        "Core", 
        "MovieRenderPipelineCore",
        // ... add other public dependencies that you statically link with here ...
    }
);

Create a class inheriting UMoviePipelineSetting like the class below, and ensure that either IsValidOnShots or IsValidOnPrimary returns true. Since SetupForPipelineImpl is called at the start of rendering, you can implement the functionality you want to extend there.

https://github.com/KTA552/UE-MRQ_Extensions/blob/main/Source/MRQ_Extensions/Public/MyMRQSetting.h
https://github.com/KTA552/UE-MRQ_Extensions/blob/main/Source/MRQ_Extensions/Private/MyMRQSetting.cpp

Results


The custom setting you added will be included in the Settings.


The result after adding it. Properties with UPROPERTY are properly added as parameters.

Sample Project

Although I implemented this as a plugin, it is only a plugin because it is a bit of a hassle to put it inside a project. When you actually implement it, there is no problem with adding it directly to the source code within your project.
https://github.com/KTA552/UE-MRQ_Extensions

Reference Links

【For Beginners】How to use UE5 Sequencer and Movie Render Queue 【Cinematic Dive 2023】 | Docswell
[UE4] About the Movie Render Queue feature for video #UnrealEngine - Qiita

GitHubで編集を提案

Discussion