videotestsrc: why failed when I specify the format=RGB?
Antonio Ospite
ao2 at ao2.it
Thu Aug 23 16:46:58 UTC 2018
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?
More information about the gstreamer-devel
mailing list