H265 video file streaming over TCP

Thank you very much. I have succeed in capturing frame by adding caps for NV12 format as you said. But something seems wrong.

Here is my original frame:

Imgur

And here is that frame i got:

Any ideas on how I can resolve this?