Welcome to Tactical Gamer

+ Reply to Thread
Results 1 to 10 of 10
Discussion: Team Fortress 2 / Team Fortress 2 - General Discussion - HOWTO: Record avi video from demo - Someone asked me this in the BCFL match, so here you go. If you record
  1. #1

    Headshot Yoshi's Avatar

    Join Date
    May 2008
    Posts
    187

    HOWTO: Record avi video from demo

    Someone asked me this in the BCFL match, so here you go. If you record a demo during a match (I think the command is "startdemo name" where name can be whatever you want), you can record it after without using a 3rd party screen recorder. Heres how:
    • Take note that the video records in whatever resolution you have your game set to when playing the demo. So I like to change my video settings up to give myself the smallest resolution (to make the UI easier to see when I post the video up) and if you have a slower computer you can turn up some of the graphics settings since it will not impact on the framerate of the video output.
    • Play your demo by typing "demoui" in console and loading it up.
      Go to before the part you want to record (you can edit it later), hide the demoui, go into console and type in "startmovie filename avi" (filename is whatever you want the file to be called, without an extention).
    • A popup will appear asking codec, pick one and then you get out of the menu (it may lag when you do this, don't worry). Your sound will cut out but thats normal. Then when the demo has played past the part you want, type in "endmovie" in console and it'll be in your steam tf2 folder.
    • You can use video editing software to do whatever you want to your clips. Add music, make a montage, whatever you want. Something like Windows Movie Maker in XP is good enough for this.
    • Post it on the TG forums so we can enjoy it.

  2.  
  3. #2

    MagnaCentipede's Avatar

    Join Date
    May 2007
    Posts
    2,015

    Re: HOWTO: Record avi video from demo

    Choose a quality codec. All the codecs that come with your computer are crap. You can probably go straight to something like XviD, but if you want quality, go find HuffYUV. (I haven't used but have heard of Lagarith, which is a descendent of HuffYUV...) Once installed you will need to configure it to suggest RGB mode, since HL2.exe will be outputting RGB data from your screen to the codec. HuffYUV will chew a lot of disk space but it gives you top-quality for post-processing.

    I use VirtualDub for editing the videos. It rocks. Windows anything is Satan and can die in crap.

  4.  
  5. #3

    ROCKS's Avatar

    Join Date
    Dec 2007
    Posts
    210

    Re: HOWTO: Record avi video from demo

    Ok,
    I did all this and have the file but all my players say its and invalid codec or file type. What did I do wrong?

  6.  

     
  7. #4

    Headshot Yoshi's Avatar

    Join Date
    May 2008
    Posts
    187

    Re: HOWTO: Record avi video from demo

    Try another codec or player? Honestly I don't know, I've never personally had any problems.

  8.  
  9. #5

    ROCKS's Avatar

    Join Date
    Dec 2007
    Posts
    210

    Re: HOWTO: Record avi video from demo

    what codec do you use. I now found that the second try it asks you which to use. Actually, I just ran Gspot and it told me the files are empty. I looked at their properties and they are 0 bytes large. I guess Ill keep playing around with it.

  10.  
  11. #6

    MagnaCentipede's Avatar

    Join Date
    May 2007
    Posts
    2,015

    Re: HOWTO: Record avi video from demo

    Did you go over the filesize limit? YUV lossless chews a lot of space, and apparently they were dumbdumbs and used a signed 32-bitter to keep track of the file size, so it rolls over and fails quite quickly. Make a short YUV recording and see if it comes out. Also, you may need to convert into something like XviD before loading it in an inferior media player.

  12.  

     
  13. #7

    ROCKS's Avatar

    Join Date
    Dec 2007
    Posts
    210

    Re: HOWTO: Record avi video from demo

    That is exactly what happened. I have made them too large and will have to tape them in chunks, then stitch them together. Dont think I can add attachments on these forums. How do I add them here for people to see?

  14.  
  15. #8

    MagnaCentipede's Avatar

    Join Date
    May 2007
    Posts
    2,015

    Re: HOWTO: Record avi video from demo

    You can put them on a generic hosting service like YouTube. Of course, you want to make YT-friendly videos as far as resolution goes, or you'll upload a huge file that will be 90% thrown out in the recompress.

  16.  
  17. #9

    daithi1's Avatar

    Join Date
    Aug 2007
    Location
    Ireland
    Posts
    1,578

    Re: HOWTO: Record avi video from demo

    Vimeo.com is good quality, Youtube high quality is pretty decent too if not a bit slow at times. I don't know if there is anything special you need for youtube high quality though.

  18.  

     
  19. #10

    Headshot Yoshi's Avatar

    Join Date
    May 2008
    Posts
    187

    Re: HOWTO: Record avi video from demo

    Vimeo is probably the best out there right now.

  20.  

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


  
 

Back to top