How to build opencv with latest version of Gstreamer 1.18

What i noticed is the gstreamer is not able to build with libav , is this also an issue due to ffmpeg?