Convert .dem to .avi
Gaming has become very popular today with new and new games releasing. So if you like playing Counter Strike very much (like I do) then this post is just for you. Wanted to have another look at the headshot u just had? You can easily convert your CS demos to videos for viewing and analyzing them later.

This has been tested by me and the videos are just great.
Step 1:
What you all need is just the software called “Video Mach” which you can download from here. The software is free and will continue to work absolutely fine even after the evaluation period.
Step 2:
Start CS and play the demo, now at the point when you wish to start recording into avi type a command into console “startmovie mov 30”, mov is the prefix that will come in the screen shots like movXXXX.bmp where XXXX will be the number of the screen shots. 30 denote the fps setting at which you are taking the screen shot. Type “endmovie” in the console to stop recording.

Step 3:
Run Videomach, click File->Open…then browse to the folder where the screen shots are placed. Click the first numbered shot & then scroll to the last, hold down the SHIFT key & click the last numbered screen shot again. Then click open, this will open them as a clip in videomach. Videomach may not be able to open more than 1500 files at once so if you wish to open more files then you can open the remaining files again. Just ensure their proper order.
Step 4:
This step is foe the configuration of the output settings. Click on the disc icon and set the output filename & settings, on the file tab click video only and in the format box select avi. Keep the same resolution that you did at the time of “startmovie mov 30” under the video tab else the movie will look like a crap. Under the video tab click the “Format Options” button and in the compressor box select DivX Pro or Xvid MPEG-4 Codec.
Step 5:
Well this is the last step, click the disk icon with arrow to start encoding and the avi movie will be stored in the folder you specified.
Videomach can easily incorporate sound and some photo effects.
If you want to have a look at the quality, watch the videos created by me.
1. http://in.youtube.com/watch?v=0kiSNKwakJ4 (Watch it at Youtube in high quality)
2. http://in.youtube.com/watch?v=5L87DU9CelA (Watch it at Youtube in high quality)
So any comments about the shots? ![]()
You May Also Like to Read



August 3rd, 2008 at 8:40 pm
[...] post by Tech Salsa [...]
August 23rd, 2008 at 9:24 am
Nice looking site
September 21st, 2008 at 2:32 am
yeah… but when i put in the code it lags so bad its not worth recording….
September 21st, 2008 at 10:42 am
yes agreed that the movie lags but it is only at the time of recording and NOT in the actual movie. The final recorded movie is just awesome and exactly similar to the demo being recorded.
So go ahead and try for yourself.
September 22nd, 2008 at 1:41 am
ok but heres the prob. i was making a spy montage with it and it got so laggy i would backstab and it turned out the guy wasnt there anymore and it didnt turn out.
September 22nd, 2008 at 4:06 pm
I guess your Demo file is absolutely fine as it worked great for me and my friends. I have made several movies using this technique.
September 24th, 2008 at 2:54 am
oh i just saw the tut on tf2 wiki and i figured out i can take the demo with no lag THEN record the demo and it wont affect my playing
September 24th, 2008 at 4:57 pm
o man!! i didn’t know that you inserted the code while playing
, do u think i should start a topic “How to make CS demos?”
September 28th, 2008 at 8:20 pm
Man after using this. This is just the simplest program I have ever used. It gets the job done in like less than 4 minutes. Now the problem is I cant get the right resolution and codec to make it clear. Would you have a solution for this admin?
September 28th, 2008 at 8:36 pm
To make the video clear, do two things:
1. Ensure that you kept the frame rate to 30 (same at which you recorded the movie).
2. If you can’t find the codecs like Divx or Xvid during converting, then install a codec pack on your system.(The codecs will appear at the time of converting only).
October 4th, 2008 at 10:25 am
Man this is the best…thank u mr.ADMIN :P…..woderful way to make videos……their is a quite work to do but the results are terrific…thnx again
October 4th, 2008 at 12:06 pm
@Farjad
Good to know that you liked the post. Yes it involves some work but not that much that we would not like to do.
October 5th, 2008 at 10:38 pm
[...] post bit late but better late than never. You can also convert your recorded demos to movies, refer this post. Tags: .dem, console, Counter Strike, demo, record, [...]
October 28th, 2008 at 1:49 am
hmm ty for help i did all thing you wrote here but still got 1 prob where do i get codec?
October 28th, 2008 at 12:23 pm
If you do not have codec installed then you can download one from http://www.codecguide.com/
October 28th, 2008 at 9:59 pm
thank you .. but i did instal a codec all in 1 but when i run the program i cant see any of them :{ will try your site thnaks for help Admin:}
October 28th, 2008 at 10:02 pm
hmm i wound a one thing … i already did download codec from same site and it doesent work for me if i install it right dont know why but still dont have the codec in my program hmm strange
October 29th, 2008 at 1:05 am
@KUSPUC
well the way to record the movie is what i gave, may be there is some problem with the version you are using. Try downloading other version as there are 5 versions to choose from.
October 29th, 2008 at 1:54 am
i already try 5.0.1 and 5.0.5 prof what verion are you using?
October 29th, 2008 at 1:55 am
and all those videomatches are not registered its only a demo verion cant find full one:{
October 29th, 2008 at 12:21 pm
i am using Mega pack and is working abs fine. Sorry buddy, i was not able to find the full version of VideoMach (even i am in need of it
)
October 29th, 2008 at 6:28 pm
hmm strange … i should found some license key
haha damn i didnt find any another program for converting it and fraps is rly lagging so its not good video if i uploaded it in youtube … hope i will have a luck and find a way to convert it TY for your help admin if i found some another way i will put comment Here good luck everone:)
October 29th, 2008 at 8:52 pm
Mention not buddy and do post it if you find any help.
March 1st, 2009 at 2:57 am
How to put sound on the movie?
March 1st, 2009 at 2:58 am
How to put sound in movie.
March 1st, 2009 at 11:46 am
@T. Fernando
you can use any sound editing software like Windows Movie Maker to put music in the video, there is no way to put the sound of shots u played unless you recorded them while playing in some sound recorder
April 15th, 2009 at 4:32 pm
Need a dem to avi or mp4 converter!!
May 6th, 2009 at 10:36 pm
Very good, it works …
10x a lot.
June 9th, 2009 at 2:44 am
I can’t publish my movie after editing it in Windows Movie Maker…plz help
June 9th, 2009 at 4:05 pm
@Koffein
Click on the button “Save in My Computer” on the left sidebar or tell me the steps you are following.
June 16th, 2009 at 9:26 am
hi, great job, thank you very much, but how can i incorporate the game original audio to the video please?
June 16th, 2009 at 4:14 pm
@roor
Since we created the movie by the snaps of the videos, the original audio is gone
June 30th, 2009 at 10:08 am
how can u get the sound with ?
December 26th, 2009 at 11:31 pm
works fine … except for the fact it’s playing my vid backwards xD
April 10th, 2010 at 4:26 pm
Hurrah! Many thanks! All super works!
April 17th, 2010 at 7:39 pm
thank you:)
May 16th, 2010 at 12:10 am
mst…
June 6th, 2010 at 10:01 pm
dear admin u said in previous replies dat:

“To make the video clear, do two things:
1. Ensure that you kept the frame rate to 30 (same at which you recorded the movie).
2. If you can’t find the codecs like Divx or Xvid during converting, then install a codec pack on your system.(The codecs will appear at the time of converting only).”
bt d probs is frm wer we can install codec pack????
plzz giv me a link for dis software plzzz
thank u
June 6th, 2010 at 10:04 pm
and ya 2ndly d problem is u mentioned dat in video tab u’ll find a format option button bt der is no format button ova der nw wat to do??
ur statement was:
” Under the video tab click the “Format Options” button and in the compressor box select DivX Pro or Xvid MPEG-4 Codec.”
June 7th, 2010 at 7:35 pm
hey admin i hav sum probs

u hav earlier said dis:
“To make the video clear, do two things:
1. Ensure that you kept the frame rate to 30 (same at which you recorded the movie).
2. If you can’t find the codecs like Divx or Xvid during converting, then install a codec pack on your system.(The codecs will appear at the time of converting only).”
in ur 2nd part wer to install d codec pack and how will it work plzz help me…
and 2nd doubt is:
Under the video tab click the “Format Options” button and in the compressor box select DivX Pro or Xvid MPEG-4 Codec.
bt i hav noticed der is no format button plzz help me wid dat!!!
thank u
June 7th, 2010 at 11:44 pm
For the codec pack, download the K-Lite Mega codec pack (search google) and install it. It will provide all the necessary codecs for the PC.
June 8th, 2010 at 2:18 pm
kk i’ll try ty admin
June 8th, 2010 at 2:25 pm
host der is a new problem:
wen me importing new files
its sayin dat
“mov
file nt found
enter d correct name”
nw wat to do????