Is there any example to subclass GstSystemClock?
Krzysztof Konopko
krzysztof.konopko at konagma.eu
Fri Apr 12 13:28:43 UTC 2019
Hi,
Might not be exactly your use case, but at least you might get some
inspiration from something that was used to "synchronise" two different
clock domains (GStreamer and VCOS on RPi).
https://github.com/youviewtv/gst-mmal/blob/master/mmal/gstmmalclock.c
(check how it's used).
Cheers,Kris
On Fri, 2019-04-12 at 19:44 +0800, Halley Zhao wrote:
> Hi Expert:I want to reuse gst codec in another media framework.
> (yes, it is something odd, but it is my fact. i have existing player
> and media framework; but I want to reuse hw codec plugins of
> gstreamer -- most SoC vendor release Linux BSP with gstreamer hw
> codec plugins).
>
> the way I want to try is: construct a short gst pipeline: appsrc
> -->videodecode-->videosink;
> then I can get video frames from my player and feed them to gstreamer
> hw codec and render through appsrc.
> comments are welcomed, thanks.
>
> next, I need control a/v sycn, where audio rendering happens in my
> existing player, while video rendering happens in gst pipeline.
> I want to create a GstClock (subclass from GstSystemClock) which
> generate timeline from my player's audio rendering, then use the
> clock to control the video rendering by gst_pipeline_set_clock().
>
> so, my question is:
> is there any guidance to subclass GstSystemClock?
> is there any example code?
>
> thanks.
>
>
>
> _______________________________________________gstreamer-devel
> mailing listgstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190412/bbc95126/attachment.html>
More information about the gstreamer-devel
mailing list