Author Topic: Screen brightness when recording video  (Read 6469 times)

Computer[SU]

  • Posts: 188
  • Turrets: +9/-5
    • http://ClanZeroRisk.com
Screen brightness when recording video
« on: May 20, 2007, 02:09:06 am »
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

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Screen brightness when recording video
« Reply #1 on: May 20, 2007, 02:40:53 am »
+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.
Code: [Select]
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

  • Guest
Screen brightness when recording video
« Reply #2 on: May 20, 2007, 06:54:46 am »
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

  • Posts: 1660
  • Turrets: +164/-159
Screen brightness when recording video
« Reply #3 on: May 20, 2007, 10:19:42 pm »
Quote from: "Lava Croft"
I 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

  • Posts: 258
  • Turrets: +4/-13
Screen brightness when recording video
« Reply #4 on: May 20, 2007, 10:37:27 pm »
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

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Screen brightness when recording video
« Reply #5 on: May 20, 2007, 10:48:29 pm »
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
Code: [Select]
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

  • Posts: 2737
  • Turrets: +291/-295
Screen brightness when recording video
« Reply #6 on: May 21, 2007, 02:18:34 am »
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#msg169333
Ok 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

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Screen brightness when recording video
« Reply #7 on: May 21, 2007, 02:36:09 am »
Quote from: "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))

Great, now not only are the screenshots and demos still dark, but r_gamma does nothing ingame so the game itself is super dark. =/
Code: [Select]
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

  • Posts: 258
  • Turrets: +4/-13
Screen brightness when recording video
« Reply #8 on: May 21, 2007, 11:55:44 am »
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

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Screen brightness when recording video
« Reply #9 on: May 21, 2007, 12:22:42 pm »
Yes, that VLC. I've never gotten that VirtualDub error before, google it?  =P
Code: [Select]
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]

  • Posts: 188
  • Turrets: +9/-5
    • http://ClanZeroRisk.com
Screen brightness when recording video
« Reply #10 on: May 21, 2007, 06:11:32 pm »
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

  • Posts: 22
  • Turrets: +3/-1
Screen brightness when recording video
« Reply #11 on: May 22, 2007, 01:13:55 pm »
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]

  • Posts: 188
  • Turrets: +9/-5
    • http://ClanZeroRisk.com
Screen brightness when recording video
« Reply #12 on: May 22, 2007, 10:18:30 pm »
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

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Screen brightness when recording video
« Reply #13 on: May 22, 2007, 11:08:31 pm »
I'm having the darkness problem on Win2K SP4 and Linux.
XD
Code: [Select]
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

  • Posts: 22
  • Turrets: +3/-1
Screen brightness when recording video
« Reply #14 on: May 27, 2007, 01:11:16 pm »
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]

  • Posts: 188
  • Turrets: +9/-5
    • http://ClanZeroRisk.com
Screen brightness when recording video
« Reply #15 on: May 28, 2007, 06:02:50 am »
Yep, that's my problem.  From now on I will record video in Windows, but I haven't confirmed that works any better yet.