News:

Come Chat with us live! Learn how HERE!

Main Menu

Screen brightness when recording video

Started by Computer[SU], May 20, 2007, 02:09:06 AM

Computer[SU]

Hello,

Does anyone know how to adjust brightness and gamma of the video that is recorded with /video?  While I am recording it, the game looks fine - everything's perfectly bright and normal.  But when I go back to watch the recorded .avi file, it is just ridiculously dark.  I suspect that the /video command defaults my brightness settings to something really dark, but I'm not sure.

Anyone know what is going on here, or how to make sure the videos aren't so dark?

Thanks.

TinMan

+1 on this, I have the same problem. It also happens with my screenshots, does it have to do with hardware gamma? We need a solution to this.
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\

NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Lava Croft

I think both screenshots and videos are shot with r_gamma 1. I always up the gamma afterwards, but I guess that's not the proper way to do it.

[EDIT] I meant r_gamma 1, naturally.  :roll:

Survivor

Quote from: Lava CroftI think both screenshots and videos are shot with r_gamma 0. I always up the gamma afterwards, but I guess that's not the proper way to do it.

Strange, I never have that problem with screenshots. Demoes will be played at the level set by the settings. Fraps videos should also directly take the output and shouldn't be dark either.
I do set my gamma by console/config and not by the menu. Can't think of any different ways that have an influence on this.
I'm busy. I'll ignore you later.

jit

do you have a program to reformat the .avi files from the /video command in trem? i currently use VirtualDub and it doesn't read the .avi . i wanted to reformat the video into DivX 5.0.2. codec cus the 6:30 video i have is currently 999mb. I want to minimize it by a lot. just wondering if any of ya know a program.

TinMan

With VirtualDub I've gotten it to work with the latest DivX (6) codec. I had to click configure for the DivX codec and select the Unconstrained profile though.

You can also encode it with something like VLC.

The gamma problem doesn't happen with Fraps for me, it's only when I use /video which is much easier than Fraps because I don't have to boot into Windows to use it. XD
I've xvidcapped a video before but the /video command is still much better, I'd like to be able to make bright videos with it. =P
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\

NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

kevlarman

set r_ignorehwgamma 1 to take screenshots (/video is a bunch of screenshots chained together) the way they look on your screen, instead of the way they would look with r_gamma 1.
(this post brought to you by TFSF (the fine search function))
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

TinMan

Quote from: kevlarmanset r_ignorehwgamma 1 to take screenshots (/video is a bunch of screenshots chained together) the way they look on your screen, instead of the way they would look with r_gamma 1.
(this post brought to you by TFSF (the fine search function))
Great, now not only are the screenshots and demos still dark, but r_gamma does nothing ingame so the game itself is super dark. =/
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\

NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

jit

vlc, areyou refering to VLC Media PLayer cus i have that. I don't know how to encode video's with that though. The .avi file does work with VLC and not Media Player Classic or VirtualDub 1.6.17.  well here's the pop-up i get when i open the video w/ virtualdub:


TinMan

Yes, that VLC. I've never gotten that VirtualDub error before, google it?  =P
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\

NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Computer[SU]

Thanks for trying to help guys...I mean, I could always up the brightness with iMovie or ffmpegx after recording the avi.  But this takes time and makes the videos look kinda crappy.  It just seems like there should definitely be a way to do this within Tremulous.

dextertrax

Hey, I opened a similar thread here:

http://tremulous.net/phpBB2/viewtopic.php?p=62912&highlight=&sid=15bbc58b04dad38f871f610a3b0ed8da

if you're running under OSX (as I am) I'm pretty sure you're screwed as far as /video is concerned.  There was some mention of /video running unbearably slowly [and dark?] under OSX on icculus.org, but I can't find the link now that I'm searching for it.

Computer[SU]

Thanks dextertrax.  I am running OS X but I do have a Windows partition, so from now on I will try to record my video in Windows.

TinMan

I'm having the darkness problem on Win2K SP4 and Linux.
XD
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\

NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

dextertrax

I noticed last night while playing in a window that Trem actually adjusts your monitor settings rather than adjusting the brightness in-game, so a little bit of artificial brightness to your videos later should be pretty close to how it looks when you're playing.

I did notice when I made a trem vid in OSX using /video other settings were borked though -- *very* dark video, with lots of pure black areas that gamma adjustment would do nothing for.  If this is the problem you're having (Computer[SU]) I don't think there's a fix.

Computer[SU]

Yep, that's my problem.  From now on I will record video in Windows, but I haven't confirmed that works any better yet.