topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 3:55 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: VirtualDub Game Recording Guide  (Read 11943 times)

GeneralAdmission

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 10
    • View Profile
    • Donate to Member
VirtualDub Game Recording Guide
« on: October 08, 2008, 01:25 PM »
Greetings everyone, (longtime lurker, first time poster)

I have recently published the first version of my guide for PC game recording with VirtualDub. This is a personal project, not a product or service.

I am sharing it here because there are a number of fellow gamers on the DC boards who might find it useful.

I also have a question for the coding gurus: Do any of you know how to disable hardware overlays? If you know how to do this it could potentially solve the primary drawback to this method of game recording (see the guide for details).

I welcome feedback, so please let me know what you think!

-GeneralAdmission (formerly GoldDragon)

Housekeeping:
-I believe this is the appropriate subforum for this thread. If not, mods please move it to where it should be.
-Thanks Mouser for the nick change. ;)
« Last Edit: October 08, 2008, 07:30 PM by GeneralAdmission »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: VirtualDub Game Recording Guide
« Reply #1 on: October 08, 2008, 02:19 PM »
Great.. welcome to the site GoldDragon/GeneralAdmission  :up:

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,626
    • View Profile
    • Donate to Member
Re: VirtualDub Game Recording Guide
« Reply #2 on: October 08, 2008, 07:22 PM »
I am sharing it here because there are a number of fellow gamers on the DC boards who might find it useful.
-GeneralAdmission (October 08, 2008, 01:25 PM)

Definitely! Wanted to record a game video yesterday, but was worried about Xfire Video lagging. I'll have to give this a go :)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: VirtualDub Game Recording Guide
« Reply #3 on: October 08, 2008, 09:20 PM »
great tutorial! i was always curious to know how this was done. thanks GeneralAdmission. :up:

GeneralAdmission

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 10
    • View Profile
    • Donate to Member
Re: VirtualDub Game Recording Guide
« Reply #4 on: October 09, 2008, 01:52 PM »
Definitely! Wanted to record a game video yesterday, but was worried about Xfire Video lagging. I'll have to give this a go :)
-wreckedcarzz
I've used Xfire some. It does a good job of recording, but the performance hit is noticeable, especially at higher resolutions. Like Fraps, Xfire also uses lossless encoding, which means enormous video files. If you haven't looked at some of the sample footage yet, several of the clips have framecounters displayed to show how well game speed holds up while recording. I also posted a simple codec comparison to show how that variable by itself can have a significant impact on performance.

Let me know how it works out for you.

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,626
    • View Profile
    • Donate to Member
Re: VirtualDub Game Recording Guide
« Reply #5 on: October 09, 2008, 03:53 PM »
Xfire's video compresses (I think?) if you choose to upload it to their servers, and leaves both original and compressed files on your hard drive. You can just start the upload and then cancel it after "Encoding" is complete for a small file, then delete the original (or, obviously, let it upload).

I have FPS and Time "pinned" to my game windows (shows up in video, too) and in my performance dives like so (using Xfire):

Halo 1.04: From 60 -> 40FPS @ max
Halo CE 1.04: (same as Halo)
GRID: From 30 FPS -> 8-12 FPS @ medium-high (custom) (viewable here and here)
Crysis: Un-recordable (but that's to be expected on my machine)
COD4: 30-40 -> 10-20 @ medium-high (custom)
NFS Carbon: 30-120 FPS -> 10-30 @ max
NFSMW: 30-50FPS -> 10-20 @ max
Project Torque: 30-75FPS -> 8-15 FPS (viewable here)
Sauerbraten: 30-200FPS -> 6-40 FPS @ max
Test Drive Unlimited: 15-40 FPS -> 10-15 FPS @ max

I play all my games at my LCD's max res, 1280x1024 (I have not recorded in 1080p, yet). Most videos do not get posted because the FPS simply suck, or I forget about them (then wonder where all my HD space went ;D)

To be honest, that [VirtualDub] setup is a bit... daunting. I began reading it last night and just finished about 5 minutes ago (granted sleep and school in-between :P), and while it makes complete sense, I'm not sure if video capture is *THAT* important to me. :-\

That probably won't stop me from taking a stab at it, assuming I read it over in steps. I procrastinate a lot :-[

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: VirtualDub Game Recording Guide
« Reply #6 on: October 09, 2008, 05:14 PM »
I had tried descibed solution and found a problem with every game I have installed:
screen is blinking from time to time!

Of course: I've uninstalled every application from article and reinstalled my PC.

Now I am sad because I did not create restore point...

GeneralAdmission

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 10
    • View Profile
    • Donate to Member
Re: VirtualDub Game Recording Guide
« Reply #7 on: October 09, 2008, 05:40 PM »
Xfire's video compresses (I think?) if you choose to upload it to their servers, and leaves both original and compressed files on your hard drive. You can just start the upload and then cancel it after "Encoding" is complete for a small file, then delete the original (or, obviously, let it upload).
Yeah, Xfire does have a handy auto-compress/upload feature which VirtualDub obviously lacks. I've never used them because I'm a bit of a control freak when it comes to videos ;).

Those are some serious FPS hits you're getting with Xfire. I imagine racing games are essentially unplayable in the 10-15fps range.

I agree that the guide is rather daunting, but the majority of the work is in the first-time setup process. When I want to record a game these days it takes me less than a minute to have the apps open and configured. Of course, I'm the kind of guy who also writes batch files to launch multiple apps or simply uses a few keystokes in Launchy. :)

When you have time give it a shot. I'm very interested to see what kind of fps you can get with VirtualDub compared to Xfire.

I had tried descibed solution and found a problem with every game I have installed:
screen is blinking from time to time!
-fenixproductions (October 09, 2008, 05:14 PM)
Sorry it didn't work out for you.

Did you read through the guide section where I discuss hardware overlays? Since VirtualDub just records your screen and doesn't 'hook' into DirectX, it often captures the overlay's key color (black frames) instead of just the game's rendered frames. There are a few workarounds listed in the guide.

This is why I'm interested to find out if any of the coders around here have graphics programming knowledge. If someone could figure out or code a solution to disable overlays, the flickering frames should not be a problem. Any takers?

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: VirtualDub Game Recording Guide
« Reply #8 on: October 09, 2008, 05:43 PM »
2GeneralAdmission
I am really ashamed because I was in rush writing it. I am waiting for mouser to delete my post somehow.

It appeared that it was not the source of the problem. I am sorry once again.

PS The source was Typing Assistant. I forgot to add my games to exceptions.

GeneralAdmission

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 10
    • View Profile
    • Donate to Member
Re: VirtualDub Game Recording Guide
« Reply #9 on: October 09, 2008, 05:52 PM »
2GeneralAdmission
I am really ashamed because I was in rush writing it. I am waiting for mouser to delete my post somehow.

It appeared that it was not the source of the problem. I am sorry once again.

PS The source was Typing Assistant. I forgot to add my games to exceptions.
-fenixproductions (October 09, 2008, 05:43 PM)
Don't worry...I took no offense to what you said. :)

So did Typing Assistant cause the flickering? Have you been able to record successfully now? If so I'd love to hear about how well it performed for you.

Thanks.

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: VirtualDub Game Recording Guide
« Reply #10 on: October 09, 2008, 06:00 PM »
2GeneralAdmission
So did Typing Assistant cause the flickering? Have you been able to record successfully now? If so I'd love to hear about how well it performed for you.
-GeneralAdmission (October 09, 2008, 05:52 PM)
It's working flawless for almost every game I have but not for Urban Terror. Unfortunately: this game is something I want to record the most. I read about workarounds without success. It is blinking and the movie looks like having 10fps (it's ~70 during the game).

GeneralAdmission

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 10
    • View Profile
    • Donate to Member
Re: VirtualDub Game Recording Guide
« Reply #11 on: October 09, 2008, 11:04 PM »
It's working flawless for almost every game I have but not for Urban Terror. Unfortunately: this game is something I want to record the most. I read about workarounds without success. It is blinking and the movie looks like having 10fps (it's ~70 during the game).
-fenixproductions (October 09, 2008, 06:00 PM)
Glad to hear the good news! Would you mind sharing a few details about how it worked for you? Such as which games? What graphics card? Which OS version? Could you record in fullscreen or did you have to use windowed mode? How was performance/framerate? I'm hoping to improve/expand the guide based on feedback, so any details would be helpful.

So Urban Terror played OK while recording, but the video came out bad? Have you tried windowed mode? I know it is based on the Q3 engine, so it might have that feature in the options menu, or it may be in a .cfg file entry like this: seta r_fullscreen "1". (change to "0" for windowed)


lanux128: fixed the quote tag
« Last Edit: October 10, 2008, 12:57 AM by lanux128 »