[Cin] Attempt at fixing screencapture under NetBSD

Andrew Randrianasulu randrianasulu at gmail.com
Thu Mar 20 18:49:04 CET 2025


вт, 18 мар. 2025 г., 03:27 Phyllis Smith <phylsmith2017 at gmail.com>:

> Applied both patches and tested with no problem encountered.
> Will check into GIT tomorrow.  Thank you.
>

I think commit message get my idea backwards:

WITHOUT fallback code I get only black screen on screencapture. It surely
fast but not that I need ..

so added code ADDS fallback in case shm capture does not work (on NetBSD or
in general).

So it hardly faster, more like working where it was failing before.



> On Sun, Mar 16, 2025 at 10:35 PM Andrew Randrianasulu <
> randrianasulu at gmail.com> wrote:
>
>> On Sat, Mar 15, 2025 at 8:11 PM Phyllis Smith <phylsmith2017 at gmail.com>
>> wrote:
>> >
>> > Andrew, am trying to test this but I forgot how to do it so reading the
>> manual and still having trouble.  Will update you when I figure how to run
>> it.
>>
>>
>> I think slightly better patch follow (apply on top of this one), it
>> does not disable shm screen capture for platform, but at runtime (with
>> fallback) if shmGetImage fails
>>
>>
>>
>> >
>> > On Fri, Mar 14, 2025 at 4:01 AM Andrew Randrianasulu via Cin <
>> cin at lists.cinelerra-gg.org> wrote:
>> >>
>> >> Tried to record desktop, found out screencapture does not work :(
>> >>
>> >> It seems even ffmpeg fall back to non-shm capture (slower) under
>> >> NetBSD, so I tried to
>> >> to change logic in guicast/bccapture.C so if compiled on netBSD it
>> >> hard disable shm for capture (playback is fine)
>> >>
>> >> Please try on Linux and other systems ... Pay attention to
>> >> screencapture slowdowns!
>> >> --
>> >> Cin mailing list
>> >> Cin at lists.cinelerra-gg.org
>> >> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250320/254b36f1/attachment.htm>


More information about the Cin mailing list