Hi,
By default we have the implementations in source group:
https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream_Development_Guide%2Fdeepstream_app_config.3.2.html%23wwpID0E0QB0HA
One possible solution is to add one type(ex: type=6) to support appsrc. In the implementation, you need to convert Z16 into NV12 and create source bin like
appsrc ! video/x-raw,format=NV12 ! nvvideoconvert ! 'video/x-raw(memory:NMM),format=NV12'
deepstream-app is open source and you can customize it into the usecase.
Other users may have other possible solutions to share here.