SeaDve / Kooha

Elegantly record your screen
GNU General Public License v3.0
2.4k stars 70 forks source link

Unable to capture fullscreen apps #214

Closed abc-mikey closed 4 months ago

abc-mikey commented 1 year ago

System Info

Describe the bug Running a application/game in fullscreen fails to capture.

See screenshot:

To Reproduce Steps to reproduce the behavior:

  1. Start recording
  2. Launch application / game with output mode "fullscreen"
  3. Stop recording
  4. Watch checkerboard pattern in video

Expected behavior Capture fullscreen output to video.

Screenshots Screenshot from 2023-01-07 00-28-07

Additional context Kooha.log

abc-mikey commented 1 year ago

This looks to likely be the error:

0:00:25.896706428     2 0x7f62e80f0920 ERROR                default video-frame.c:181:gst_video_frame_map_id: invalid buffer size 0 < 33177600
0:00:25.896741609     2 0x7f62e80f0920 WARN         videoaggregator gstvideoaggregator.c:829:gst_video_aggregator_parallel_convert_pad_prepare_frame_start:<compositor0> Could not map input buffer
abc-mikey commented 1 year ago

Is this the correct place to report this? Is it an issue with using portals org.freedesktop.portal.ScreenCast for screen-capture? Should I maybe report it somewhere upstream?

SeaDve commented 4 months ago

Thanks for the bug issue. Closing this in favor of https://github.com/SeaDve/Kooha/issues/270