How to Filesink and Appsink simultaneously in OpenCV Gstreamer. (Gstreamer pipeline included)

@Jahwan hey im wondering the same thing too. I am trying to use filesink and appsink at the same time, while using tee. And also autovideosink so i can display the video in the android app

However i cant seem to get it to work either.
Pipeline just stops running too.

Does anyone know how might we fix this?