framenp = np.fromstring(framestr, dtype=np.uint16).reshape((1024, 1280))
framenp = framenp * 1.0 / framenp.max()
framenp.dtype = np.float
cv2.imshow('frame', cv2.resize(framenp, (640, 480)))
opencv single h264 raw frame as a binary string