Sony camera module cannot be opened with OpenCV on Xavier

Hi,
We have verified the following sample on r32.2.1/Xavier.

#include <stdio.h>
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc/types_c.h>

using namespace cv;
using namespace std;

int main(int argc, char** argv)
{
  VideoCapture cap("v4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=UYVY,framerate=30/1 ! videoconvert ! video/x-raw,format=BGR ! appsink");

  if (!cap.isOpened())
    {
      cout << "Failed to open camera." << endl;
      return -1;
    }

  for(;;)
    {
      Mat frame;
      cap >> frame;
      imshow("original", frame);
      waitKey(1);
    }

  cap.release();
}
$ g++ -o simple_opencv -Wall -std=c++11 simple_opencv_v4l2.cpp -I/usr/local/include/opencv4/ -L/usr/local/lib/ -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_videoio

Script for installing OpenCV:
https://github.com/AastaNV/JEP/blob/master/script/install_opencv4.1.1_Jetson.sh

You may check if it works on r31.1. Upgrading to r32 releases is still required if you go to production stage.