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? 😉

55 Replies to “Convert .dem to .avi”

  1. 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.

  2. 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.

  3. 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.

  4. 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 😀

  5. 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?”

  6. 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?

  7. 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).

  8. 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

  9. @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.

  10. 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:}

  11. 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

  12. @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.

  13. 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 🙂 )

  14. 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:)

  15. @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 🙂

  16. @Koffein
    Click on the button “Save in My Computer” on the left sidebar or tell me the steps you are following.

  17. hi, great job, thank you very much, but how can i incorporate the game original audio to the video please?

  18. @roor
    Since we created the movie by the snaps of the videos, the original audio is gone 🙂

  19. 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
    🙂

  20. 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.”

  21. 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
    🙂

  22. 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.

  23. 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????

  24. Can I reduce the size of the produced video? 600mb are produced for around 2 hours 40 minutes and then can be uploaded pretty much nowhere…

  25. @toggl3
    Use any video converter to convert into different format or to reduce the quality.
    I remember using windows movie maker to convert and to be able to upload.

  26. Ok I might try that. But the whole point is to have good quality video of me playing counter-strike, seems like this won’t be achieved. And it’s only long 3 minutes so it shouldn’t be very big.

Leave a Reply