Attempt at fixing screencapture under NetBSD
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!
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. On Fri, Mar 14, 2025 at 4:01 AM Andrew Randrianasulu via Cin < [email protected]> 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 [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
On Sat, Mar 15, 2025 at 8:11 PM Phyllis Smith <[email protected]> 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 <[email protected]> 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 [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
Applied both patches and tested with no problem encountered. Will check into GIT tomorrow. Thank you. On Sun, Mar 16, 2025 at 10:35 PM Andrew Randrianasulu < [email protected]> wrote:
On Sat, Mar 15, 2025 at 8:11 PM Phyllis Smith <[email protected]> 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 <
[email protected]> 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 [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
вт, 18 мар. 2025 г., 03:27 Phyllis Smith <[email protected]>:
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 < [email protected]> wrote:
On Sat, Mar 15, 2025 at 8:11 PM Phyllis Smith <[email protected]> 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 <
[email protected]> 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 [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
Oh, sorry. I will get it correct on the Release Notes. Since I am not sure how to fix the commit comment, I will leave it alone and not risk making things worse. I should have at least added that the fix was for NetBSD since it did not seem to affect Fedora linux at all. (P.S. my technical understanding leaves a lot to be desired!) On Thu, Mar 20, 2025 at 11:49 AM Andrew Randrianasulu < [email protected]> wrote:
вт, 18 мар. 2025 г., 03:27 Phyllis Smith <[email protected]>:
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 < [email protected]> wrote:
On Sat, Mar 15, 2025 at 8:11 PM Phyllis Smith <[email protected]> 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 <
[email protected]> 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 [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
participants (2)
-
Andrew Randrianasulu -
Phyllis Smith