To export replays to video files Awesomenauts uses ffmpeg, a program that can be used for all kinds of multimedia applications. The version of ffmpeg that Awesomenauts ships with, however, is very minimal and can only be used with the MPEG1 encoding options. This is due to patent complexities. To use the much better X264 format or Custom encoding options you need to download a more complete version of ffmpeg. This is a quick and easy process and completely free. It is also highly recommended, as the x264 codec options are faster, give a higher quality image and a smaller output file.

Where to put ffmpegIn the newly extracted ffmpeg directory you will find a binary named "ffmpeg". The location of the executable differs for each operating system.

Windows:<name of directory you extracted>/bin/ffmpeg.exe

Mac:In this case the ffmpeg binary is located directly in the folder you extracted to.

You'll have to copy the ffmpeg binary to the ffmpeg-gpl video directory.

Usually (on Windows), the directory you'll have to copy the file to is located here:C:\Program Files (x86)\Steam\SteamApps\common\Awesomenauts\Data\ReplayEncoder\ffmpeg-gpl\

Note: If this is not the case for you, then you can navigate to the right directory directly by recording a video in Awesomenauts first. After finishing or interrupting the recording process you will be prompted with the question if you want to go to your video location. Click yes. Your file browser will open in the ReplayEncoder directory and you should see the ffmpeg-gpl subdirectory. Double click it and paste your ffmpeg binary there.

Now when selecting the x264 codec setting you should no longer get a pop-up and you should be able to successfully encode using the x264 encoder.

The replay-to-video feature is currently only supported in the Mac and Windows versions of Awesomenauts because on Linux the game uses a different audio library and getting audio encoding to work turned out too difficult.

rninty

Post subject: Re: Customising the replay-to-video encoder

Posted: Tue May 19, 2015 11:42 pm

Joined: Wed Apr 22, 2015 6:00 pmPosts: 10

Joost wrote:

The replay-to-video feature is currently only supported in the Mac and Windows versions of Awesomenauts because on Linux the game uses a different audio library and getting audio encoding to work turned out too difficult.

Could you maybe make it video-only on Linux? It’s a bit unpleasant, but better than nothing (to me).

Cheimoon

Post subject: Re: Customising the replay-to-video encoder

Posted: Wed May 20, 2015 2:46 am

Joined: Sat May 23, 2009 10:37 amPosts: 30

Yeah - something's better then nothing! Ffmpeg is also actively developed for Linux (although I think the main Debian distributions now prefer its fork Libav), so sounds doable. It's probably a tiny fraction of the playerbase - but it'd be a happier tiny fraction!

Patch 2.9.2: General-Switched default driver setting for new players from OpenGL to DirectX. OpenGL drivers from some vendors keep being buggy and are even getting worse. We advise everyone with weird graphics glitches and alt+tab problems to switch to DirectX.

Unfortunately the Linux version of the game is currently the worst of all and nothing indicates that this will change in the future