Yes, you should not add ‘streams.’ after tee, as it is already its output. Sorry for missing that in my reply.
You may further try to add caps after queue:
queue ! video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1
You may also add these after nvvidconv,
and add:
video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction)30/1
after videoconvert.