<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
1.9.1 is missing the following commit which would cause something
like this:<br>
<br>
<a
href="https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=6de83e0515c334466f0e1649090c7421ea79881e">https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=6de83e0515c334466f0e1649090c7421ea79881e</a><br>
<br>
Cheers<br>
-Matt<br>
<br>
<div class="moz-cite-prefix">On 24/08/16 07:06, Matt Barclay wrote:<br>
</div>
<blockquote
cite="mid:%3CCAHb3VBZH8iJehG0x28H2765v6U3Y_xqD9ywKGe-7hqqqR1oiWg@mail.gmail.com%3E"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I'm on a OS X 10.11.5 Mac book running Gstreamer 1.9.1.</div>
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div><font face="monospace">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<br>
</font></div>
<div><br>
</div>
<div>The resolution of the Mac is 2880x1800, but setting those
in the pipeline doesn't work:</div>
<div><br>
</div>
<div>
<div><font face="monospace">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</font></div>
<div><font face="monospace">Setting pipeline to PAUSED ...</font></div>
<div><font face="monospace">Pipeline is live and does not need
PREROLL ...</font></div>
<div><font face="monospace">ERROR: from element
/GstPipeline:pipeline0/GstAVFVideoSrc:avfvideosrc0:
Internal data flow error.</font></div>
<div><font face="monospace">Additional debug info:</font></div>
<div><font face="monospace">gstbasesrc.c(2947): void
gst_base_src_loop(GstPad *) ():
/GstPipeline:pipeline0/GstAVFVideoSrc:avfvideosrc0:</font></div>
<div><font face="monospace">streaming task paused, reason
not-negotiated (-4)</font></div>
<div><font face="monospace">ERROR: pipeline doesn't want to
preroll.</font></div>
<div><font face="monospace">Setting pipeline to PAUSED ...</font></div>
<div><font face="monospace">Setting pipeline to READY ...</font></div>
<div><font face="monospace">Setting pipeline to NULL ...</font></div>
<div><font face="monospace">Freeing pipeline ...</font></div>
</div>
<div><br>
</div>
<div>What am I doing wrong?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Matt</div>
<div><br>
</div>
</div>
</blockquote>
<br>
</body>
</html>