videotestsrc: why failed when I specify the format=RGB?

kk pinganddu90 at gmail.com
Fri Aug 24 00:57:17 UTC 2018


Thanks, it works!

On Fri, Aug 24, 2018 at 12:47 AM Antonio Ospite <ao2 at ao2.it> wrote:

> On Thu, 23 Aug 2018 23:59:37 +0800
> kk <pinganddu90 at gmail.com> wrote:
>
> > gst-launch-1.0 videotestsrc ! video/x-raw, format=RGB, width=300,
> height=300 ! ximagesink
>
> Add videoconvert before ximagesink.
>
> For data to pass from one element to the others they have to support the
> same format (caps) to complete the negotiation step successfully, if
> they don't a conversion is needed.
>
> Use "gst-launch-1.0 -v" to see more negotiation details.
>
> You can see the caps of an element with "gst-inspect-1.0 elementname".
>
> Some elements do not show all the caps properties here as they may be
> discovered at runtime.
>
> Look up some info about GStreamer caps and negotiation.
>
> Ciao,
>    Antonio
>
> --
> Antonio Ospite
> https://ao2.it
> https://twitter.com/ao2it
>
> A: Because it messes up the order in which people normally read text.
>    See http://en.wikipedia.org/wiki/Posting_style
> Q: Why is top-posting such a bad thing?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180824/2a7431c6/attachment-0001.html>


More information about the gstreamer-devel mailing list