Encoding format string

amindfv at mailbox.org amindfv at mailbox.org
Wed Oct 26 21:55:40 UTC 2022


On Wed, Oct 26, 2022 at 10:54:43AM +0200, Eslam Ahmed via gstreamer-devel wrote:
> Hi Tom,
> 
> Glad I could be of assistance.
> 
> Unfortunately, I am no GES expert. And I guess as mentioned by Thibault, I
> don't think that this is the best/safe way to set your caps and/or encoding
> profiles.
> 
> But regarding the I420_10LE part, there definitely should exist a way where
> you can inform individual elements of your desired setting. For example
> this upcoming pipeline forces videoconvert to convert from I420 to
> I420_10LE as well as rescale the default resolution coming out of
> videotestsrc.
> gst-launch-1.0 videotestsrc ! videoconvert !
> video/x-raw,format=I420_10LE,width=1280,height=720 ! fakesink

Since ges-launch constructs the pipeline itself, I'm not aware of a way to set caps filters with it (although I'd love to!)

> I think the `format=I420_10LE` might be needed in your GES launch line to
> force the pixel format. Perhaps, some other members in this community might
> have a better input on this.

I'll try this in the encoding profile.

Thanks,
Tom


More information about the gstreamer-devel mailing list