osxvideosrc

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

osxvideosrc

William Lee-7
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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel