[gst-devel] osxvideosrc

William Lee william at breezecapsule.com
Sat Aug 1 17:34:42 CEST 2009


Hi all,
I'm attempting to write a simple pipeline to use osxvideosrc to display a
captured video using ximagesink,

My pipeline is

osxvideosrc ! ffmpegcolorspace ! ximagesink

Here's the log I'm getting

Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstOSXVideoSrc:osxvideosrc0.GstPad:src: caps =
video/x-raw-yuv, format=(fourcc)UYVY, width=(int)640, height=(int)480,
framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstOSXVideoSrc:osxvideosrc0:
Internal data flow error.
Additional debug info:
gstbasesrc.c(2334): gst_base_src_loop ():
/GstPipeline:pipeline0/GstOSXVideoSrc:osxvideosrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 184031000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstOSXVideoSrc:osxvideosrc0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...

Clearly the caps negotiation aren't matching. However, I tried using
different caps after the ffmpegcolorspace element but still not getting a
successful negotiation.

Has anyone tried something similar? Can someone show me a working pipeline?
Much appreciated.

William

-- 

William Lee @ Breeze Capsule
Email: william at breezecapsule.com
Mobile: +44 7984 368 182
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090801/14aa56d1/attachment.htm>


More information about the gstreamer-devel mailing list