# Record matinee movie from inside a packaged game

**URL:** <https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881>\
**Category:** Blueprint\
**Tags:** record, unreal-engine, packaged-game, Blueprint, question\
**Created:** [August 1, 2014, 4:07pm UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881 "2014-08-01T16:07:03Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![HaxO](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/haxo/32/1008648_2.png) [@HaxO](https://forums.unrealengine.com/u/HaxO)\
**Post date:** [August 1, 2014, 4:07pm UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/1 "2014-08-01T16:07:03Z")

</div>

Has anyone found a way of recording a matinee video from in game? Without access to the matinee panel in the editor.  
I have done a good amount of research and turned up nothing.

---

<div class="post-metadata">

**Author:** ![Jurif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jurif](https://forums.unrealengine.com/u/Jurif)\
**Post date:** [August 1, 2014, 4:49pm UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/2 "2014-08-01T16:49:04Z")

</div>

Good question,  
well I guess easiest way would be to use one of screen recording SWs and record the gameplay at a high frame rate.  
You can also take screenshots using F9 or console commands:

> **[Taking Screenshots](https://docs.unrealengine.com/5.0/en-US/taking-screenshots-in-unreal-engine/)**
>
> Guide to taking in-game screenshots of environments and gameplay.

Maybe would be possible to try adding this screenshot Console Command to Tick function,  
so it would make a screenshot every tick, but as far as I know Console Commands can take several ticks to execute so we’d have to find related screenshot function in the source code and use that.  
But it’s still much easier to use some screen recording software :D.

---

<div class="post-metadata">

**Author:** ![HaxO](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/haxo/32/1008648_2.png) [@HaxO](https://forums.unrealengine.com/u/HaxO)\
**Post date:** [August 1, 2014, 5:43pm UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/3 "2014-08-01T17:43:45Z")

</div>

Thanks for the quick reply, Jurif!

The problem is I am not using it for a promotional piece or anything like that, Its part of the functionality I need for a project I am currently working on.

I was hoping there would just be a function I could call with C++ like Matinee.MovieStart or better yet something through blueprint.

---

<div class="post-metadata">

**Author:** ![HaxO](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/haxo/32/1008648_2.png) [@HaxO](https://forums.unrealengine.com/u/HaxO)\
**Post date:** [August 14, 2014, 3:30pm UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/4 "2014-08-14T15:30:24Z")

</div>

If anyone has any further information on this, I would be very appreciative.

---

<div class="post-metadata">

**Author:** ![L04D3D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@L04D3D](https://forums.unrealengine.com/u/L04D3D)\
**Post date:** [November 28, 2014, 9:30am UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/5 "2014-11-28T09:30:03Z")

</div>

have you tried startmoviecapture, you use it from the console( press tab on your keyboard) then type it in, to stop recording type stopmoviecapture. doesn’t record any sound as far as I know.

---

<div class="post-metadata">

**Author:** ![HaxO](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/haxo/32/1008648_2.png) [@HaxO](https://forums.unrealengine.com/u/HaxO)\
**Post date:** [December 1, 2014, 5:18pm UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/6 "2014-12-01T17:18:19Z")

</div>

Hey L04D3D!

I just tried startmoviecapture. It works great in the editor. But doesn’t work from a packaged game. It accepts the command but then when I tell it to stop recording and go check for the video there is nothing there.

---

<div class="post-metadata">

**Author:** ![L04D3D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@L04D3D](https://forums.unrealengine.com/u/L04D3D)\
**Post date:** [December 8, 2014, 4:08pm UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/7 "2014-12-08T16:08:32Z")

</div>

I’ve never tried it from standalone game but are you sure it didn’t save it? did you check all the folders? usually it would be in a folder like saved, and it would show up in a folder called movies or screencaptures. then again you might be right and maybe it doesn’t work in standalone game.

---

<div class="post-metadata">

**Author:** ![HaxO](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/haxo/32/1008648_2.png) [@HaxO](https://forums.unrealengine.com/u/HaxO)\
**Post date:** [December 8, 2014, 8:22pm UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/8 "2014-12-08T20:22:29Z")

</div>

I will try again when I get a chance (Most likely tomorrow) and I will post up the results here!

---

<div class="post-metadata">

**Author:** ![HaxO](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/haxo/32/1008648_2.png) [@HaxO](https://forums.unrealengine.com/u/HaxO)\
**Post date:** [December 10, 2014, 4:47pm UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/9 "2014-12-10T16:47:35Z")

</div>

Here is what I found.

My setup :  
Engine v4.6

I have a level blueprint with several ‘Execute Console Command’ nodes to set several options when I play the game. The last of which will trigger the ‘STARTMOVIECAPTURE’ just after a matinee actor is played.

My Results :

1. When I launch the game with the ‘Launch’ button to open it into a new window no video file gets saved. And the game doesn’t crash.

2. When I launch the game in the editor with the play button it records a 1.14gig video. But when I open it to watch it. It has a 0:00 length. Additionally when I hit ESC to get back into editor mode the engine crashes.

I hope this helps shed some light onto the issue.

---

<div class="post-metadata">

**Author:** ![CKong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CKong](https://forums.unrealengine.com/u/CKong)\
**Post date:** [March 19, 2015, 8:45am UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/10 "2015-03-19T08:45:38Z")

</div>

I am having the same question too. Have anyone come up with any answer or solution? I am thinking about taking a bunch of screenshot, then write a small c++ dll to make a movie from all of those .bmp files.

---

<div class="post-metadata">

**Author:** ![HaxO](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/haxo/32/1008648_2.png) [@HaxO](https://forums.unrealengine.com/u/HaxO)\
**Post date:** [March 19, 2015, 4:18pm UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/11 "2015-03-19T16:18:32Z")

</div>

I have considered that as well. I was digging around in the source a while back and I think I found the function that was being called to record a video. That may be able to be used as well. But I got moved onto another project for now.

Please keep me updated on anything you find and I will do the same.

---

<div class="post-metadata">

**Author:** ![CKong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CKong](https://forums.unrealengine.com/u/CKong)\
**Post date:** [March 23, 2015, 10:04am UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/12 "2015-03-23T10:04:48Z")

</div>

New problem, it seem like i can’t load bitmap created by command Shot or F9, if i create a bitmap with paint then load it with LoadImage function, it work fine, but too bad i can’t say the same about the bitmap made by unreal. But i did find out that there are some source code that can convert .bmp files into .avi video floating around the net and free to download and use.  
Also, it maybe not relate but when i try to use ACDSee Photo manager 2009 to view bitmap files made by unreal, i can only see a dark screen, while using Window photo viewer there isn’t any problem. If i use a bitmap made by paint or some source other than unreal, both those program can display the bitmap just fine.  
More new, if i open Unreal bitmap in paint, then save as .bmp, i can read it just fine, from code or using ACDSee Photo manager. Now how should i use this piece of knowledge?

---

<div class="post-metadata">

**Author:** ![CKong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CKong](https://forums.unrealengine.com/u/CKong)\
**Post date:** [July 10, 2015, 7:27am UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/13 "2015-07-10T07:27:23Z")

</div>

Hello mates, i got good new and bad new. The good new is by following [this](https://wiki.unrealengine.com/Linking_Static_Libraries_Using_The_Build_System) instruction how to link static and [this](http://www.codeproject.com/Articles/5051/Various-methods-for-capturing-the-screen#Capture%20It%20the%20GDI%20way) instruction how to capture screen using DirectX libraries, i have managed to capture and create a huge avi video file. And by huge, i mean it. And that is the bad new. I haven’t figure out how to use video codec from inside unreal, so the result video file is big and some how the frame are mess up.

---

<div class="post-metadata">

**Author:** ![HaxO](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/haxo/32/1008648_2.png) [@HaxO](https://forums.unrealengine.com/u/HaxO)\
**Post date:** [July 10, 2015, 4:16pm UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/14 "2015-07-10T16:16:33Z")

</div>

Awesome find! I will give this a shot. The large video file sizes are an issue we are having as well. I will let you know if we make any progress on it. What do you mean when you say the frames are messed up?

---

<div class="post-metadata">

**Author:** ![CKong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CKong](https://forums.unrealengine.com/u/CKong)\
**Post date:** [July 14, 2015, 2:59am UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/15 "2015-07-14T02:59:02Z")

</div>

The frame are in correct order, but when play in some media player(such as Windown Media player), it play each frame pretty slow, and only play at the correct speed if you move the timer several time. At the moment, i suspect that is the result of not using any video codec. I am gonna dig into the video codec and hoping for the best. Looking forward to anything you can find and thank you in advance.

---

<div class="post-metadata">

**Author:** ![CKong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CKong](https://forums.unrealengine.com/u/CKong)\
**Post date:** [July 22, 2015, 8:17am UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/16 "2015-07-22T08:17:16Z")

</div>

Alright, using [Libav](https://libav.org/) codec and compressor and combine with the above knowledge, i have managed to compress my 5 minutes long video to a 140MB .mpg files.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cbe21014](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cbe21014](https://forums.unrealengine.com/u/anonymous_user_cbe21014)\
**Post date:** [December 30, 2015, 4:20pm UTC](https://forums.unrealengine.com/t/record-matinee-movie-from-inside-a-packaged-game/289881/17 "2015-12-30T16:20:50Z")

</div>

I am Interested in this too, can you provide a deeper explanation or even a small tutorial ? Since this seems quite complex.
