Hello,
I'm on a OS X 10.11.5 Mac book running Gstreamer 1.9.1. Using avfvideosrc, I am only able to capture a portion of the screen. Is it possible to capture the full screen? Here is the command I'm using: gst-launch-1.0 avfvideosrc capture-screen-cursor=true capture-screen=true ! video/x-raw,width=1440,height=900,format=UYVY,framerate=30/1 ! videoscale ! videoconvert ! video/x-raw,format=YV12 ! x264enc ! rtph264pay pt=96 ! udpsink host=10.42.0.1 port=5000 The resolution of the Mac is 2880x1800, but setting those in the pipeline doesn't work: gst-launch-1.0 avfvideosrc capture-screen-cursor=true capture-screen=true ! video/x-raw,width=2880,height=1800,format=UYVY,framerate=30/1 ! videoscale ! videoconvert ! video/x-raw,format=YV12 ! x264enc ! rtph264pay pt=96 ! udpsink host=10.42.0.1 port=5000 Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... ERROR: from element /GstPipeline:pipeline0/GstAVFVideoSrc:avfvideosrc0: Internal data flow error. Additional debug info: gstbasesrc.c(2947): void gst_base_src_loop(GstPad *) (): /GstPipeline:pipeline0/GstAVFVideoSrc:avfvideosrc0: streaming task paused, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... What am I doing wrong? Thanks, Matt _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
1.9.1 is missing the following commit which would cause something
like this:
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=6de83e0515c334466f0e1649090c7421ea79881e Cheers -Matt On 24/08/16 07:06, Matt Barclay wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (514 bytes) Download Attachment |
Free forum by Nabble | Edit this page |