!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

581 Members
Gaming things, my hands are typing words.161 Servers

Load older messages


SenderMessageTime
25 May 2024
@ayyz12:matrix.orgayyz12 left the room.07:49:45
@lehmanator:tchncs.deSam Lehman joined the room.22:13:26
27 May 2024
@tanja:catgirl.cloudTanja (she/her) changed their display name from Tanja (she/her) to Tanja (☎️ 6920 at GPN22, she/her).20:36:28
29 May 2024
@sako:catgirl.cloudsako removed their profile picture.18:27:44
@sako:catgirl.cloudsako removed their display name sako.18:27:53
@sako:catgirl.cloudsako left the room.18:28:09
31 May 2024
@mildras:one.ems.hostMildras joined the room.19:00:26
1 Jun 2024
@aminda:pikaviestin.fiAminda.eu ⚧︎ (she/they) changed their display name from Aminda.eu ⚧ to Aminda.eu ⚧︎ (she/they).11:17:18
2 Jun 2024
@r522:matrix.org522

i'm trying to track down an xonotic video capture bug that results in washed out colors
basically, a vid capture through cl_capturevideo is washed out, but a screenshot is not, and no one else seems to have this issue and i have no idea why it happens :D

(can anyone here reproduce it? repro steps would be to install xonotic, start it, then in the console (backtick or shift+escape, it works in the main menu) do cl_capt<tab>(to cause yellow text to appear in the console, which is what seems to be most obvious for me) cl_capturevideo 1 then cl_capturevideo 0 and then look in ~/.xonotic/data/video)

00:29:01
@r522:matrix.org522screenshot of game: 00:29:28
@r522:matrix.org522image.png
Download image.png
00:29:30
@r522:matrix.org522image.png
Download image.png
00:29:43
@r522:matrix.org522screenshot of video ^00:29:56
@r522:matrix.org522 i have no idea what is causing this lmao
i'd assume some colorspace fuckery? maybe?? this happens with compressed and raw videos so 🤷
00:30:42
@k900:0upti.meK900Could be chroma subsampling possibly? 04:51:11
@k900:0upti.meK900If it's recording in 4:2:2 or 4:2:0 or w/e04:51:21
@r522:matrix.org522

ffprobe says:

Input #0, ogg, from 'dpvideo036.ogv':
  Duration: 00:00:00.37, start: 0.000000, bitrate: 39808 kb/s
  Stream #0:0: Video: theora, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 60 tbn
  Stream #0:1: Audio: vorbis, 48000 Hz, stereo, fltp, 482 kb/s

and

Input #0, avi, from 'dpvideo037.avi':
  Metadata:
    software        : Xonotic Linux 11:22:32 Apr 30 2023 - release
  Duration: 00:00:00.82, start: 0.000000, bitrate: 1495016 kb/s
  Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080, 1524096 kb/s, SAR 1:1 DAR 16:9, 60 fps, 60 tbr, 60 tbn
  Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s

for lossless

11:59:45
@r522:matrix.org522 i don't get how no one else seems to have this issue though 12:01:11
@k900:0upti.meK900So yeah they are 4:2:012:06:02
@k900:0upti.meK900I don't know if there's a setting knob or something to make it record full chroma12:07:04
@k900:0upti.meK900But that's probably the reason12:07:08
@k900:0upti.meK900 (in case people here aren't familiar, https://en.wikipedia.org/wiki/Chroma_subsampling) 12:07:52
@r522:matrix.org522

hrm
https://github.com/xonotic/darkplaces/blob/9acc6233eb9fb8be9faf56ebb1c796995bc41f16/cap_avi.c#L338 seems to be where it happens yeah

i'm surprised it fucks up the color that much, is there a way to at least get the colors somewhat accurate?

12:19:26
@k900:0upti.meK900Maybe just use OBS or something that can record 4:4:412:21:39
@k900:0upti.meK900But also it depends on what you intend to do with the output12:22:04
@k900:0upti.meK900 Because e.g. youtube will probably encode to 4:2:0 anyway 12:22:30
@k900:0upti.meK900At least for SDR video 12:22:50
@r522:matrix.org522even then, if i watch a video recorded with (i assume) the same method, the colors do seem a lot more accurate. so idk if youtube is doing some post-processing step to fix it?14:12:06
@r522:matrix.org522image.png
Download image.png
14:13:12
@r522:matrix.org522image.png
Download image.png
14:13:16

Show newer messages


Back to Room ListRoom Version: 10