How To: Record Your Gameplay, Take Screenshots
Uploaded directly from recorded footage; unedited using settings below; no audio.
76MB on disk, compared to 3GB using a lossless codec (Fraps, PlayClaw, etc.)
This guide focuses on free, clean (ad-free), open-source software. For this reason, it won't cover popular over-simplified, proprietary, and costly alternatives, such as Fraps (yuck!).
To take screenshots:
While in-game, hit the "Print Screen" key. Screenshots will be dumped into the game folder (C:\Games\World_of_Tanks_closed_Beta) as jpegs. Simple as that. For whatever reason, many players don't know this.
To record video:
Now onto the
I'm using Taksi, http://sourceforge.net/projects/taksi/, a directshow video capture tool that [thankfully] can use any video codec on your system. This means you'll have to option to compress as you record, but Taksi will beat your CPU to a pulp if you crank the settings.
This guide covers two different methods of screen capture using Taksi:
Part 1- Compress while recording
Part 2- Record to lossless, compress afterward
Once you install Taksi, be sure to run it in Administrator Mode, for those on Vista and 7. (right click on the shortcut, go to properties, compatibility tab, check "run this program as an administrator" at the bottom. Hit OK.) The first time you run Taksi with WoT you'll probably get a warning message saying that there are multiple functions bound to the same key. This is because both Taksi and WoT use the Print Screen key to take screenshots. We'll fix this later by unbinding the Print Screen key for Taksi.
PART 1: Taksi setup and configuration for video recording with compression
Part 1 is suitable for most people.
Pros: Fast, smaller file sizes, ready to upload
Cons: Lower quality, encoding can be problematic, not as compatible with editing software
Now that you've got Taksi running, close it; we have to grab some video codecs first.
For this tutorial, we'll be using the MPEG-4 codec in the ffdshow Tryouts pack, but you may also want to grab the 32bit K-Lite Codec Pack and/or Komisar's x264 vfw build for a wider range of encoding options. Be sure to get the 32bit version/s (even if you have a 64bit OS).
After you have that installed, restart if prompted (winXP), and run Taksi as administrator.
Its simple GUI only has two things to really worry about: Config and App Hook. Config is where you configure the capture settings and App Hook controls how Taksi "attaches" itself to a window or running application (e.g., WoT) to record.
Let's dig into Config and adjust our settings.
Go to the Directory tab and change your capture directory, where Taksi will save your videos, to your desired location. I'm saving it to my main disk SSD because it has a higher write speed than my large storage disks, although, with the compression we'll apply, the 70 MB/s write speed of my large drive would be more than sufficient. This is really only a problem with high frame rate lossless footage that can be bottlenecked by low write speeds. Be sure to click "save" to save your changes.
Setting the video codec.
1. Set your target framerate as 20 or 30 FPS. 30 will better capture faster motion, but it's more resource intensive and larger on disk.
2. Click "Video Codecs" and set your compressor to "ffdshow Video Codec". This codec was included in the K-Lite Codec Pack that you installed (above).
3. Click "Configure...", set your Encoder as MPEG-4. FOURCC and Mode should be default XVID and one pass - avg bitrate, respectively. (see pic). Next comes the Bitrate. I suppose you can think of this as your quality slider (it pains me to simplify it like that). I used a bitrate of 4000kbps @ 960x540. The bitrate you set is very dependent on the resolution of your footage. Unfortunately, the resources required for active encoding are too steep for recording in MPEG-4 in resolutions much higher than 1280x720p (continued at the bottom of the post). Be aware that too low a bitrate will make your footage look like crap and too high will make it huge and potentially unplayable. For most people, finding a balance between quality and size will make the footage most usable. In fact, with the right settings, you'll be able to upload your clips directly to Youtube and such without editing it.
4. Check "Half Size Video Frame" to record in half the resolution (constrained aspect ratio), e.g., footage recorded at a game-resolution of 1920x1080 will be 960x540. This will allow you to play at a higher resolution, but record in a lower resolution to give your computer hardware a break. If you have a beefy rig, by all means, leave it unchecked, but I'd advise doing that after you get it working and looking good (bitrate) with lower res footage.
Note: If you're having problems with lag during recording then your framerate/bitrate is likely too high or your computer hardware just isn't up to the task.
Setting audio format/codec.
1. Select your audio input device if you want audio.
Note: if you select "Default" input device, it won't allow you to record. Don't know why, it's just how it is; select a listed input or "None" for no audio.
To enable mix stereo recording from your speakers (if supported by your audio drivers), do the following:
- 1. Right-click on the speaker icon in the tray.
- 2. Select "Recording Devices" from the menu.
- 3. The Sound window opens. Switch to the "Recording" tab. Right-click in an empty area and select "Show disabled devices".
- 4. Enable your audio card as a stereo recording device; often listed as "stereo mix" or "auxiliary".
If you aren't able to enable stereo recording, at the worst, you can pick up a 3.5mm female to double-male audio cable to record from your Line-In or Microphone jacks, which are supported. Male to line out (front speakers, green), male to line in, speakers to female.
2. Select your codec. AC-3 ACM 128kB/s, 44kHz, stereo, is a solid option.
Adjust your hotkeys.
I set the record and stop hotkeys to unassigned keys and killed the rest (with backspace) so I don't inadvertently trigger something in-game. Unassign the Print Screen key to avoid hotkey conflicts with WoT.
Take a look under the Display tab. "Compensate for record overhead in frame rate" I'm still trying to figure out exactly what that does, but I think it acts as an FPS lock to set your game framerate to what you've got set in Taksi so frames aren't skipped. I'll leave this unlocked and come back to it when I or someone else can figure out what it does. Just note that it might be important.
Stats tab is last. Keep an eye on this to tell what Taksi is "App hooking" to.
App Hook feature.
My understanding is that once Taksi is in its blue "searching for app to hook onto" state, it will hook the next active window you click on. Which should be WoT, if that's what you intend to record. After it's hooked, it will continue to record that window regardless of the current active window until it's manually unhooked by clicking the App Hook button or corresponding hotkey (default Alt+F2).
Adjust your game resolution.
You have to consider your resolution and aspect ratio before recording. If you want to post your footage on Youtube, you'll want to set your resolution to a 16:9 aspect ratio. That means 1280x720, 1920x1080, etc. If you have "Half Size Video Frame" checked, footage recorded at a game-resolution of 1920x1080 will be 960x540.
Check out SiberianExpress' CameramanMod.
The CameraMan Mod removes your in-game HUD, including all chat text and icons to shoot in "cinematic mode". Remember to copy your game folder so you don't alter your main game!
Once you have a window hooked, a small square will appear in the upper left corner that indicates the recording status of Taksi. Green is ready, red is recording. After it's hooked, you can simply start to record. Once you stop, it will dump the file in the folder you set earlier. Remember to have your audio input set properly or Taksi won't let you record.
(continuation)...Unfortunately, the resources required for active encoding are too steep for recording in MPEG-4 in resolutions much higher than 1280x720p. You may be better off trying a two-step lossless-record-->encode-to-lossy process using a lossless codec, like Lagarith or simply uncompressed .avi, and encoding software, such as VirtualDub, as mentioned below in Part 2.
PART 2: Taksi configuation and workflow for recording in uncompressed .avi and encoding to x264 using VirtualDub
Part 2 is a more involved process for higher quality results.
Pros: Higher quality, fewer encoding issues, more compatible
Cons: More time intensive workflow, very large files
Part 2 covers a different process of recording in an uncompressed (no loss in quality) and very large video format, which you will later encode using VirtualDub to shrink its size on disk for uploading to YouTube, etc. For this, you'll need Komisar's x264 build (1947kMod.x86), direct link to version 1947 x86. You may still have to read Part 1, as it covers Taksi setup.
Setup your video codec:
Change your compressor to "Full Frames (Uncompressed)" and you may want to lower your target frame rate to 20fps. Be warned, uncompressed .avi is huge at around 2GB/minute at 960x540.
This is footage that will be editable in many of the software suits
To encode the uncompressed .avi:
Download 32-bit VirtualDub, I'm using the latest version of 1.10 (currently 1.10.0), found here. Remember, you'll need 64-bit codecs if you use 64-bit VirtualDub. I recommend going 32-bit for both, though, with uncompressed avi, either will work fine.
Run VirtualDub.exe as administrator. Go to Video-->Compression. Select x264vfw and click Configure.
Under the Main tab, click the large pull down and select "Single pass - bitrate-based (ABR)" to set an average bitrate encoding. Again, it's dependent on your resolution, but you can afford to raise the bit-rate higher. I'm using 6000-7000 kbit/s for 1280x720 (720p) recording and around 4000 kbps for 960x540.
Under the VFW box in the lower right, check the box for VirtualDub Hack. Next go to the Rate control & Other tab and on the box on the upper right under Multithreading, enter the number of threads you wish to use. Generally, anywhere from 1x to 1.5x the number of threads your CPU utilizes. The most recent CPUs have two threads per core, so a quad-core would have 8 threads. If in doubt, set it lower rather than higher.
After the codec is set, you're ready to encode. File-->Open your uncompressed .avi file and then File-->Save as .AVI. The encoding process will begin and output the encoded file to where you saved it. If you'd like to shrink or enlarge the video's resolution, you can add a resize filter by going to Video-->Filters. Add..resize, OK. You can adjust size relatively (in percent) or absolutely by resolution. You probably want to keep your Aspect Ratio checked as "same as source". If you enlarge the video, I'd also add a sharpen filter as well.
1) Try running WoT in windowed mode
2) Try recording at a lower resolution and lowering bitrate significantly (1000-2000) to see if you can record.
3) Try a different codec, such as Komisar's x264 vfw build.
4) Make sure DirectX and video card drivers are up to date.