Upvote Upvoted 13 Downvote Downvoted
How to record/compress high quality clips
posted in Q/A Help
1
#1
10 Frags +

I decided to write a somewhat comprehensive guide on recording clips. Might do one on basic editing in Vegas later. Commence wall of text.

Thanks to the following people for contributing:
Pixel
Zant
Waldo

Recording your clip is split up into 3 major steps.
1. Lawena Recording Tool
2. VirtualDub
3. Compression

1. Lawena Recording Tool

http://www.tf2.com.pl/sites/default/files/images/editorimage/Obrazki/LawenaRecordingTool.png

First off, you're gonna need to record your game. For this I recommended Lawena. It's free, has a myriad of features and is relatively idiot-proof. You can find it here. When you start it, the interface is pretty self explanatory. For most movies, it is usually best to have a clean look, so disable all the unnecessary shit like croshairs, domination sounds, etc. then set the "HUD" option to "None". This will disable everything except the killfeed. Notable exceptions to these guidelines would include medic movies where the HUD (Uber percentage etc.) is vital, sniper/scout movies where you might want a small crosshair or Kunai frags where you might want to see the health. It is recommended that you keep everything consistent throughout the movie. Viewmodel FOV, viewmodels, HUD elements all that shit. If you are making a proper frag movie, it is recommended that you record at ≈500 FPS as it means you can do some incredible slow-mo stuff and it makes the motion blur look orgasmically good. For gameplays however, 30/60 FPS should be fine.

Next, you will start TF2 through Lawena and hit Shift + F2 to open the demo UI and select the demo you want. NOTE: your TF2 will most likely crash if you try to skip to a tick. To prevent this, disable "multicore rendering" under advanced options. Then skip to your desired tick, hit P on your keyboard and resume on the demoui. This will start the recording process and your framerate should drop sharply, the higher the recording framerate in Lawena, the bigger the FPS drop. Hit P again to stop recording. You may now close TF2 and begin the next step.

Information on how to change HUDs/settings/configs/skyboxes that Lawena uses can be found at the end.

ALTERNATIVE SUGGESTED BY WALDO:
http://
teamfortress.tv/forum/
thread/4675-demo-buddy-a-tool-
for-launching-demos-recording

2. VirtualDub[/u]
VirtualDub is a powerful but somewhat complicated video editing program. Feel free to explore it, but don't ask me for help with it outwith the steps that I have provided here as I am not an expert in it by any stretch of the imagination. First of all, you will need to download VirtualDub from here. Once you have installed it and opened it, click file, open and navigate to program files/steam/steamapps/*yourusername*/team fortress 2/tf and you should see hundreds of .TGA files.

http://www.divx-digest.com/articles/dvd2divx/virtualdub_video_dsc.gif

Click on the first one in the sequence and hit open (the TGAs will be named "a1_xxx", "b2_xxx" etc. depending on the order of recording. The first recording will be "a1", second "b2" and so on). Next go to audio and hit "select audio from file".

http://www.divx-digest.com/articles/dvd2divx/virtualdub_audio_fpm.gif

Then navigate to your tf folder and select the audio file that has the same name as the TGA files. Now go to video, framerate and type in the framerate you used in Lawena. Do NOT select match audio length as it causes audio syncing issues. Then select colour depth (fuck you, it does have a "u"! :P) and click 24-bit RGB (dummy alpha channel). Then click file and export as AVI. You are now 80% finished.

I decided to write a somewhat comprehensive guide on recording clips. Might do one on basic editing in Vegas later. Commence wall of text.

Thanks to the following people for contributing:
Pixel
Zant
Waldo

Recording your clip is split up into 3 major steps.
[b]1. Lawena Recording Tool
2. VirtualDub
3. Compression

[u]1. Lawena Recording Tool[/u][/b]
[img]http://www.tf2.com.pl/sites/default/files/images/editorimage/Obrazki/LawenaRecordingTool.png[/img]
First off, you're gonna need to record your game. For this I recommended Lawena. It's free, has a myriad of features and is relatively idiot-proof. You can find it [url=http://code.google.com/p/lawenarecordingtool/]here[/url]. When you start it, the interface is pretty self explanatory. For most movies, it is usually best to have a clean look, so disable all the unnecessary shit like croshairs, domination sounds, etc. then set the "HUD" option to "None". This will disable everything except the killfeed. Notable exceptions to these guidelines would include medic movies where the HUD (Uber percentage etc.) is vital, sniper/scout movies where you might want a small crosshair or Kunai frags where you might want to see the health. It is recommended that you keep everything consistent throughout the movie. Viewmodel FOV, viewmodels, HUD elements all that shit. If you are making a proper frag movie, it is recommended that you record at ≈500 FPS as it means you can do some incredible slow-mo stuff and it makes the motion blur look orgasmically good. For gameplays however, 30/60 FPS should be fine.

Next, you will start TF2 through Lawena and hit Shift + F2 to open the demo UI and select the demo you want. [b]NOTE: [/b]your TF2 will most likely crash if you try to skip to a tick. To prevent this, disable "multicore rendering" under advanced options. Then skip to your desired tick, hit P on your keyboard and resume on the demoui. This will start the recording process and your framerate should drop sharply, the higher the recording framerate in Lawena, the bigger the FPS drop. Hit P again to stop recording. You may now close TF2 and begin the next step.

Information on how to change HUDs/settings/configs/skyboxes that Lawena uses can be found at the end.


ALTERNATIVE SUGGESTED BY WALDO:
http://
teamfortress.tv/forum/
thread/4675-demo-buddy-a-tool-
for-launching-demos-recording


[b][u]2. VirtualDub[/b][/u]
VirtualDub is a powerful but somewhat complicated video editing program. Feel free to explore it, but don't ask me for help with it outwith the steps that I have provided here as I am not an expert in it by any stretch of the imagination. First of all, you will need to download VirtualDub from [url=http://www.virtualdub.org/download.html]here[/url]. Once you have installed it and opened it, click file, open and navigate to program files/steam/steamapps/*yourusername*/team fortress 2/tf and you should see hundreds of .TGA files.
[img]http://www.divx-digest.com/articles/dvd2divx/virtualdub_video_dsc.gif [/img]
Click on the first one in the sequence and hit open (the TGAs will be named "a1_xxx", "b2_xxx" etc. depending on the order of recording. The first recording will be "a1", second "b2" and so on). Next go to audio and hit "select audio from file".
[img]http://www.divx-digest.com/articles/dvd2divx/virtualdub_audio_fpm.gif [/img]
Then navigate to your tf folder and select the audio file that has the same name as the TGA files. Now go to video, framerate and type in the framerate you used in Lawena. Do NOT select match audio length as it causes [url=http://youtube.com/watch?gl=GB&hl=en&client=mv-google&v=osIE3om6ZDg]audio syncing issues[/url]. Then select colour depth (fuck you, it does have a "u"! :P) and click 24-bit RGB (dummy alpha channel). Then click file and export as AVI. You are now 80% finished.
2
#2
4 Frags +

3.1 Compression [/u]
At this point you should have a massive video file and unless you have a beastly computer with terabytes of ram and exobytes of HDD space, you will be looking for a way to compress it. Personally, I use a program called easy.h264 to compress my files to a manageable size (compress, re-encode whatever, same difference).

http://etuka.ucoz.com/PROGI/Easy_h264.jpg

Simply find your RAW AVI file and select a name for your output file, select the same framerate as you used in Lawena/VD and select Brassemense in the lowest drop down menu. Then start the encoding procedure. A command prompt window should pop up so don't worry if it does. Said window will notify you when it is finished.

3.2 Alternatives to easy h264
PixelRelic's way, quicker but larger file size

[list=1][*]Download the "Lagarith Lossless Codec" here
[*]In Virtual Dub go to Video>Compression
[*]Select Lagarith Lossless Codec
[*]Click OK
[/list]

OR

[list=1][*]Download the "Lagarith Lossless Codec" here and install
[*]Download my Lawena config file here
[*]Open Virtual Dub
[*]File > Load Processing Settings...
[*]Select my config file (it's named "Lawena vd config")
[*]Load you audio and video as shown by frowny earlier
[*]Set your framerate as shown by frowny earlier
[*]Done
[/list]

Congratulations, you have just recorded your first TF2 clip in glorious high-defenition and compressed it into a useable size.

General Tips/Tricks[/u]
-You don't need to have TF2 in the foreground while it is recording. Minimize it and do your editing while you are doing it to save time.
-The less processes are running while you are rendering/exporting as AVI the faster it will be.
-You do not need a fast computer to record at a high framerate in Lawena, it will simply take longer.
-Disabling the viewing of compressed and decompressed video in VirtualDub while saving as AVI makes it quicker.
-Check out Plant's amazing guide to P-REC here. Never miss your best moments.

-To edit Lawena configs open the directory where the .jar file is and navigate to the tf folder inside it. You can then edit HUDs, configs and other stuff just like you would edit them in the normal TF2 directory. This does not affect your normal TF2 files.

TL;DR a penguin jumped over a flamboyance of flamingos while eating peaches and shitting lemons.[/color]

Love, peace and male genitalia,
~Frowny

[b][u]3.1 Compression [/b][/u]
At this point you should have a massive video file and unless you have a beastly computer with terabytes of ram and exobytes of HDD space, you will be looking for a way to compress it. Personally, I use a program called [url= http://tweevo.com/easy-h-264-video-encoder/]easy.h264[/url] to compress my files to a manageable size (compress, re-encode whatever, same difference).
[img]http://etuka.ucoz.com/PROGI/Easy_h264.jpg[/img]
Simply find your RAW AVI file and select a name for your output file, select the same framerate as you used in Lawena/VD and select Brassemense in the lowest drop down menu. Then start the encoding procedure. A command prompt window should pop up so don't worry if it does. Said window will notify you when it is finished.

[u][b]3.2 Alternatives to easy h264[/b][/u]
[b]PixelRelic's way, quicker but larger file size[/b]

[list=1][*]Download the "Lagarith Lossless Codec" [url=http://lags.leetcode.net/LagarithSetup_1327.exe]here[/url]
[*]In Virtual Dub go to Video>Compression
[*]Select Lagarith Lossless Codec
[*]Click OK
[/list]

[b]OR[/b]

[list=1][*]Download the "Lagarith Lossless Codec" [url=http://lags.leetcode.net/LagarithSetup_1327.exe]here[/url] and install
[*]Download my Lawena config file [url=https://dl.dropbox.com/u/90036981/Lawena%20vd%20config.vcf]here[/url]
[*]Open Virtual Dub
[*]File > Load Processing Settings...
[*]Select my config file (it's named "Lawena vd config")
[*]Load you audio and video as shown by frowny earlier
[*]Set your framerate as shown by frowny earlier
[*]Done
[/list]

Congratulations, you have just recorded your first TF2 clip in glorious high-defenition and compressed it into a useable size.

[b][u]General Tips/Tricks[/b][/u]
-You don't need to have TF2 in the foreground while it is recording. Minimize it and do your editing while you are doing it to save time.
-The less processes are running while you are rendering/exporting as AVI the faster it will be.
-You do not need a fast computer to record at a high framerate in Lawena, it will simply take longer.
-Disabling the viewing of compressed and decompressed video in VirtualDub while saving as AVI makes it quicker.
-Check out Plant's amazing guide to P-REC [url= http://novus.forumotion.co.uk/t184-how-to-record-demos-how-to-use-p-rec]here[/url]. Never miss your best moments.

-To edit Lawena configs open the directory where the .jar file is and navigate to the tf folder inside it. You can then edit HUDs, configs and other stuff just like you would edit them in the normal TF2 directory. This does not affect your normal TF2 files.


[b][color=red]TL;DR a penguin jumped over a flamboyance of flamingos while eating peaches and shitting lemons.[/b][/color]

[i]Love, peace and male genitalia,
~Frowny[i]
3
#3
1 Frags +

Good guide, though I'd suggest you add a link to http://teamfortress.tv/forum/thread/4675-demo-buddy-a-tool-for-launching-demos-recording It's still being developed, but it works, new features are still being implemented.

Good guide, though I'd suggest you add a link to http://teamfortress.tv/forum/thread/4675-demo-buddy-a-tool-for-launching-demos-recording It's still being developed, but it works, new features are still being implemented.
4
#4
0 Frags +

Done :)

Done :)
5
#5
0 Frags +

I thought youtube didn't take Lagarith.

I thought youtube didn't take Lagarith.
6
#6
0 Frags +
jerryjigglerI thought youtube didn't take Lagarith.

Not sure mate, the guy that told me about it puts it straight into Vegas like me to edit. I'll ask him nonetheless.

[quote=jerryjiggler]I thought youtube didn't take Lagarith.[/quote]

Not sure mate, the guy that told me about it puts it straight into Vegas like me to edit. I'll ask him nonetheless.
7
#7
-1 Frags +

When I render it it doesn't allow me to use direct stream copy, and the video doesn't come out right. Gorram virtual dub

When I render it it doesn't allow me to use direct stream copy, and the video doesn't come out right. Gorram virtual dub
8
#8
0 Frags +
User_When I render it it doesn't allow me to use direct stream copy, and the video doesn't come out right. Gorram virtual dub

You don't need direct stream copy, it's simply a stock image of the video menu that I found online. Please explain, in what way does the video "not come out right" as that could mean almost anything.

[quote=User_]When I render it it doesn't allow me to use direct stream copy, and the video doesn't come out right. Gorram virtual dub[/quote]

You don't need direct stream copy, it's simply a stock image of the video menu that I found online. Please explain, in what way does the video "not come out right" as that could mean almost anything.
9
#9
2 Frags +

Wtf this is step by step exactly what I do. Even the settings are the same. And Tang taught me how to edit videos.

Are you Tang please tell me you're back buddy????!?!?!?!?!

Wtf this is step by step exactly what I do. Even the settings are the same. And Tang taught me how to edit videos.

Are you Tang please tell me you're back buddy????!?!?!?!?!
10
#10
0 Frags +

It should be noted that if your intentions are to simply get a decent quality video at regular fps out of a demo, the easiest way would be to simply play the demo and record it with dxtory. If you have a sufficiently fast hard drive and processor, that is.

It should be noted that if your intentions are to simply get a decent quality video at regular fps out of a demo, the easiest way would be to simply play the demo and record it with dxtory. If you have a sufficiently fast hard drive and processor, that is.
11
#11
2 Frags +

Personally I use Adobe Media Encoder to go from Lagarith AVI to h.264.

Edit: derp I'm an idiot. Great tutorial, very thorough.

I don't know though, match audio length has always worked for me far better than giving a straight FPS and I'm EXTREMELY fucking meticulous about my syncing.

Personally I use Adobe Media Encoder to go from Lagarith AVI to h.264.

Edit: derp I'm an idiot. Great tutorial, very thorough.

I don't know though, match audio length has always worked for me far better than giving a straight FPS and I'm EXTREMELY fucking meticulous about my syncing.
Please sign in through STEAM to post a comment.