cv2.VideoWriter doesn't work well on Jetson Nano

Hi,
Does gst-launch-1.0 work?

$ gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),format=NV12,width=1280,height=720,framerate=21/1' ! nvvidconv ! video/x-raw,format=BGRx,width=864,height=640 ! videoconvert ! video/x-raw,format=BGR ! appsink

And it seems to miss one comma in the line:

'framerate= %s<b>,</b>'