How to get capture-yuvdata with (memory:nvmm on) Jaston Xavier NX

the nvivafilter-element’sink is also nvmm-format ,it can‘t generate valid target-file。

and i can’t add any encoderenc because i have anthoer problem:the high-cpuload when use encoding high resolution yuv;