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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> 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 > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> 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 >> [hidden email] >> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
The same avfvideosrc element captures from both the camera and the screen. Make sure you set the “capture-screen” property to true.
gst-launch-1.0 avfvideosrc capture-screen=true ! videoscale ! videoconvert ! autovideosink sync=false
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |