Hi moderators and geek friends,
After playing with TX2 and MMAPI a while, I get some experiences on capture YUY2 from a USB camera from sample codes 12_camera_v4l2_cuda and v4l2cuda. They are directly utilizing V4L2 iotcl() calls to setup and capture raw frames from camera. (BTW there is a wonderful website offering online raw image view, http://rawpixels.net/)
But, it shows at 12_camera_v4l2_cuda that only YUYV/YVYU/UYVY/VYUY are supported. I get a USB camera which can produce
video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)20/1
and normal YUY2 frames.
Thus, I am wondering if MMAPI supports capturing H264 frame or not? If it does, could you kindly share your codes here or give some guides and hints？ :)