erroneous pipeline: could not link custom source element to fakesink

Edgar Thier edgar.thier at theimagingsource.com
Mon Feb 1 14:29:21 UTC 2021


Hi,

I am writing a source element around a network camera. This camera offers ranges for width/height/framerate, which is something I want to offer to the user of the source
instead of creating a list of standard resolutions.

The test pipeline looks like this
gst-launch-1.0 -v --gst-debug=*:3 mainsrc ! video/x-bayer,format=rggb,width=2592,height=300,framerate=15/1 ! fakesink

It ends with:
0:00:00.661077274 27086 0x5646bc0fcc40 ERROR           GST_PIPELINE gst/parse/grammar.y:752:gst_parse_perform_link: could not link mainsrc0 to fakesink0, mainsrc0 can't handle caps video/x-bayer, format=(string)rggb, width=(int)2592, height=(int)300, framerate=(fraction)15/1
WARNING: erroneous pipeline: could not link mainsrc0 to fakesink0, mainsrc0 can't handle caps video/x-bayer, format=(string)rggb, width=(int)2592, height=(int)300, framerate=(fraction)15/1

The caps the camera provides are:
video/x-raw, format=(string)GRAY8, width=(int)[ 96, 2592 ], height=(int)[ 4, 1944 ], framerate=(fraction)[ 50000/249, 286635/83 ];
video/x-raw, format=(string)GRAY16_LE, width=(int)[ 96, 2592 ], height=(int)[ 4, 1944 ], framerate=(fraction)[ 50000/249, 400000/249 ];
video/x-bayer, format=(string)rggb, width=(int)[ 96, 2592 ], height=(int)[ 4, 1944 ], framerate=(fraction)[ 50000/249, 286635/83 ]

I am not getting any log messages from the  _fixate or _negotiate functions.
Is there anything I can get to the source of this negotiation problem? Or is it a bug?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210201/806fe7a4/attachment.htm>


More information about the gstreamer-devel mailing list