Screen capture on macOS.

Davide Perini perini.davide at dpsoftware.org
Fri Oct 2 23:18:17 UTC 2020


Hi,
thanks for the answer.

This command:
gst-launch-1.0 avfvideosrc ! videoscale ! videoconvert ! autovideosink 
sync=false
seems to capture the webcam but not the screen.

If I use this command on Windows it capture the screen and it output to 
a window:
gst-launch-1.0 dxgiscreencapsrc! videoscale ! videoconvert ! 
autovideosink sync=false

How can I capture the screen on mac?

Thanks
Davide

Il 05/09/2020 19:45, Michael Gruner ha scritto:
> Hey Davide. I don’t have a Mac handy right now, but if I recall correctly the avfvideosrc element may take screen captures. This is the same element you’d use to capture from the cameras, but there’s a configuration to grab the screen.
>
> Michael
> www.ridgerun.com
>
>> On Sep 5, 2020, at 07:21, Davide Perini <perini.davide at dpsoftware.org> wrote:
>>
>> Hi guys,
>> using this pipeline to screen capture under Windows.
>>
>> /gst-launch-1.0.exe dxgiscreencapsrc ! videoscale ! videoconvert ! autovideosink sync=false
>>
>> What is the equivalent pipeline usable on macOS?
>>
>> Thank one billion for your work here guys.
>>
>> Davide
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list