inverse of rawvideoparse?

Antonio Ospite ao2 at ao2.it
Wed Dec 8 10:11:20 UTC 2021


On Sat, 4 Dec 2021 15:18:11 -0600
blueshirt via gstreamer-devel <gstreamer-devel at lists.freedesktop.org>
wrote:

> Hi folks, 
> 
>   I use rawvideoparse to turn pixels into video. I'd like to turn video back
> into pixels (the opposite). How do I do that?
> 

You can create *raw* video data specifying the format you want as
capabilities to the `videoconvert` element:

  $SOURCE ! decodebin ! videoconvert ! video/x-raw,format=RGBA ! $SINK

SINK can be for example `filesink` as said before, and only pixel data
will be saved.

You can see the supported formats with:

  gst-inspect-1.0 videoconvert

Ciao,
   Antonio

P.S. please don't break email threads. 

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