Vulkan Example
Matthew Waters
ystreet00 at gmail.com
Wed Mar 2 08:12:47 UTC 2022
appsink is your friend and you can retrieve the VkImage's from upstream
and you can do what you like with them.
There's no requirement to use vulkansink however you would need to make
sure to interop with the relevant Vulkan objects between the application
and GStreamer which may require some API additions in GStreamer for that
case. The design is similar to OpenGL integration but there are some
differences with how Vulkan itself works that need to be accounted for
when writing your own glue code.
Cheers
-Matt
On 2/3/22 10:02, Joel Winarske wrote:
> I'm looking to use GST with an external swap chain. Is there
> currently a way to get a callback or signaled semaphore (common) when
> a VkImage is ready for external use? I'm thinking I may need to
> implement a variant of vulkansink.
>
> The external swap chain is running multiple pipelines, and handling
> display presentation logic.
>
> On Mon, Feb 7, 2022 at 6:40 PM Matthew Waters <ystreet00 at gmail.com> wrote:
>
> Apart from running with vulkan elements with gst-launch-1.0, yes.
> That's
> the only application example for Vulkan. Note that Vulkan does
> work on
> macOS/iOS through the MoltenVK layer.
>
> On 8/2/22 12:38, Joel Winarske via gstreamer-devel wrote:
> > Is this the only Vulkan example?
> >
> >
> https://gitlab.freedesktop.org/gstreamer/gst-examples/-/tree/master/vulkan
> >
> > Thanks,
> > Joel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220302/5484b420/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220302/5484b420/attachment.sig>
More information about the gstreamer-devel
mailing list