nvvideoconvert does not support GRAY8 or RGB. Please add videoconvert before nvvideoconvert(the second one).