caps incompatiable problem

Tim Müller tim at centricular.com
Tue Dec 3 01:06:14 PST 2013


On Mon, 2013-12-02 at 22:45 -0800, Ugly Face wrote:

Hi,

> caps=video/x-raw,format="NV21",width=320,height=240 ! \
>                                                            queue ! \
>                                                            videorate ! \
>                                                            ffmpegcolorspace
> ...
> when the udpsrc caps=video/x-raw-yuv,width=320,height=240 , it works well
> for me ,and I change the caps for my need . It goes wrong with error
> incompatiable caps between queue and videorate. It almost make me crazy. 
> 
> the error message :
>            erroneous pipeline: could not link queue0 to videorate0
> 
> I mapped the pipeline to c , the error message in C is:
>           12-03 14:30:52.222: I/GStreamer+GST_PADS(3894): 0:00:00.827545166
> 0x5b3f98c0 gstpad.c:2034:gst_pad_link_prepare caps are incompatible

You are using GStreamer 0.10, but video/x-raw,format=xyz are 1.0 caps,
in 0.10 that would be 'video/x-raw-yuv,format=(fourcc)ABCDE,...'

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com






More information about the gstreamer-devel mailing list