Is there a way to render high res videos out of UE4?

I created a shader effect that I want to render out.

If you have supported hardware your best bet is Nvidia’s ShadowPlay

Otherwise what other recording software have you tried that doesn’t give you wanted results? (Fraps, GameCam, …)

Yes you can! :slight_smile: It’s done with command line options. Here is the docs page:

https://docs.unrealengine.com/latest/INT/Programming/Basics/CommandLineArguments/index.html

Look under the Rendering category. Here are the relevant options:

ResX: Set horizontal resolution for game window.

ResY: Set vertical resolution for game window.

BENCHMARK: Run game at fixed-step in order to process each frame without skipping any frames. This is useful in conjunction with DUMPMOVIE options.

DUMPMOVIE: Dump rendered frames to files using current resolution of game.

DUMPMOVIE_TILEDSHOT: Dump rendered frames to files using the specified resolution multiplier. Uses tiled shots for high resolution frames (e.g. DUMPMOVIE_TILEDSHOT=4).

FPS: set the frames per second for benchmarking.

Below is the command line I used to render 5 seconds of the “Stylized” demo. It output the frames in C:\Users[YourUsername]\Documents\Unreal Projects\Stylized 4.1\Saved\Screenshots\Windows\

Replace [YourUsername] and put the following line in a batch file called “MakeMovie.bat” and run it.

“C:\Program Files\Unreal Engine\4.1\Engine\Binaries\Win64\ue4editor.exe” “C:\Users[YourUsername]\Documents\Unreal Projects\Stylized 4.1\Stylized.uproject” -game Maps\Stylized_Kingdom.umap?-ResX=1920 -ResY=1080 -BENCHMARK -FPS=24 -DUMPMOVIE -SECONDS=5 -SILENT -NOWRITE -NOTEXTURESTREAMING -WINDOWED

Awesome! Thats exactly what I was looking for. Thank you!

I don’t think Fraps works with Unreal 4. Any time I have tried to use it, it has failed and Unreal suggests using Microsoft Expressions Encoder.

I use ShadowPlay quite a bit. It works very well for in-game recording as well as desktop recording. You need an Nvidia card though… obviously.

I can get this to work in 4.7.3 but it doesn’t seem to same anything out.

I really wish people would stop recommending shadow play as if were an alternative to the ability to render actual frames from the engine. it is no substitute for the -DUMPMOVIE function. I’m not going and buying a $1000 video card so that I can record this thing. The function in the engine should be fixed. Shadow play is limited to HD 1080p and is going to record every missed frame and laggy spot.

Elaborating on James’ point;
When you record from screen, you record what’s shown on screen. Not what’s actually happening. Screen cap software will occupy computation resources, which means your computer is running the game less optimally than when you actually play with the same hardware. It’s a generally unclean way to do it.
Also, frame dumping will consistently output the same frames. If you simply capture what’s actually shown on screen, there’s no guarantee that a given frame will match up from one recording to the next. So if you’re editing a trailer and want to change some particles or adjust lighting, the next time you render out it’s not going to match up exactly and you must spend time fiddling around with the editing. This isn’t conducive to good editing.
This can now done from Sequencer, so look at sequencer rendering and exporting for these purposes.

confirmed works in 4.24