<div dir="ltr"><div dir="ltr">Hi Expert:<div>I want to reuse gst codec in another media framework.</div><div>(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).</div><div><br></div><div>the way I want to try is: construct a short gst pipeline: appsrc-->videodecode-->videosink;</div><div>then I can get video frames from my player and feed them to gstreamer hw codec and render through appsrc.</div><div>comments are welcomed, thanks.</div><div><br></div><div>next, I need control a/v sycn, where audio rendering happens in my existing player, while video rendering happens in gst pipeline.</div><div>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().</div><div><br></div><div>so, my question is:</div><div>is there any guidance to subclass GstSystemClock?</div><div>is there any example code?</div><div><br></div><div>thanks.</div><div><br></div></div></div>