# Rendering a movie from commandline quits without progress

**URL:** <https://forums.unrealengine.com/t/rendering-a-movie-from-commandline-quits-without-progress/479371>\
**Category:** Rendering\
**Tags:** command-line, unreal-engine, Rendering, question\
**Created:** [February 25, 2021, 2:03am UTC](https://forums.unrealengine.com/t/rendering-a-movie-from-commandline-quits-without-progress/479371 "2021-02-25T02:03:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aakrasia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aakrasia](https://forums.unrealengine.com/u/Aakrasia)\
**Post date:** [February 25, 2021, 2:03am UTC](https://forums.unrealengine.com/t/rendering-a-movie-from-commandline-quits-without-progress/479371/1 "2021-02-25T02:03:56Z")

</div>

I’ve been attempting to generate a movie from my level sequence to no avail.

Using an almost completely empty project, with only a simple asset imported to have something to recognize in my render, I have built a level sequence and can render it fine within the editor.

When I attempt to use the Automated Level Sequence Capture, [as described in the documentation](https://docs.unrealengine.com/en-US/AnimatingObjects/Sequencer/Workflow/RenderAndExport/RenderingCmdLine/index.html) my game opens, the camera and assets snap to the first frame of the level sequence, and then the editor closes without running the sequence or saving any movie.

There is no output at all to the shell to indicate what might be wrong. I have tried several permutations of arguments, attempting to reduce them down to only the bare minimum, to see anything render, but cannot get even the simplest result to save.

Any example of someone successfully rendering frames or movie files from the commandline would help me a ton.

---

<div class="post-metadata">

**Author:** ![ZkarmaKun](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zkarmakun/32/1194545_2.png) [@ZkarmaKun](https://forums.unrealengine.com/u/ZkarmaKun)\
**Post date:** [August 4, 2021, 8:14pm UTC](https://forums.unrealengine.com/t/rendering-a-movie-from-commandline-quits-without-progress/479371/2 "2021-08-04T20:14:21Z")

</div>

Same brother, I can feel your pain

---

<div class="post-metadata">

**Author:** ![mamoksche](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mamoksche](https://forums.unrealengine.com/u/mamoksche)\
**Post date:** [November 11, 2021, 11:12am UTC](https://forums.unrealengine.com/t/rendering-a-movie-from-commandline-quits-without-progress/479371/3 "2021-11-11T11:12:51Z")

</div>

Same…Starting the game/editor from Commandline works fine, but trying to Render it afterward seems to be not working. Using the automated.level sequence via Python works as well too - so if anyone has an answer to make it work from the command line - that would be great. 😃

---

<div class="post-metadata">

**Author:** ![isaacoster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@isaacoster](https://forums.unrealengine.com/u/isaacoster)\
**Post date:** [April 28, 2023, 1:52pm UTC](https://forums.unrealengine.com/t/rendering-a-movie-from-commandline-quits-without-progress/479371/4 "2023-04-28T13:52:03Z")

</div>

Hi, I just ran into this same problem. I believe the issue is Unreal creates a separate thread for rendering processes. If your code does anything other than kick off a render the terminal registers the first command (your setup) as the process it’s monitoring and terminates as soon as the rendering process begins. My solution was to add a second command line call with subprocess to the end of the setup code. It works as expected : ) Here’s the specific doc I used regarding setting up the second command line arg.

> **[Command Line Rendering With Unreal Engine Movie Render Queue | Community...](https://dev.epicgames.com/community/learning/tutorials/nZ2e/command-line-rendering-with-unreal-engine-movie-render-queue)**
>
> With the Unreal Engine Movie Render Queue plugin, there are multiple options for command-line rendering content with Unreal Engine 4.27 and 5.x. The goa...

---

<div class="post-metadata">

**Author:** ![Bungnoid](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bungnoid/32/731149_2.png) [@Bungnoid](https://forums.unrealengine.com/u/Bungnoid)\
**Post date:** [December 5, 2023, 11:44pm UTC](https://forums.unrealengine.com/t/rendering-a-movie-from-commandline-quits-without-progress/479371/5 "2023-12-05T23:44:03Z")

</div>

same issue here, but thankfully found a fix for my use case…

> [@Cut State Uninitialized](https://forums.unrealengine.com/t/cut-state-uninitialized/237083/10):
>
> I had the same issue. I was able to fix using “warm up frames” - The problem seemed to be with the TSR option in my Anti-aliasing settings. I just went with the default of 32, and my renders are working again
