What’s the OpenCV4Tegra and BSP version you used?
The OpenCV4Tegra does not support some videoIO features, and “HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP” was reported for all cameras we’ve ever tried. It does not affect camera functionality.
Regarding “I want to know the differrence between opencv v4l2 and gstreamer api, which is better on TX1, do you know?”, it depends on your use case and purpose.
You need to do the experiment to find the suitable method for your project.
I’m having the same problem with my logitech c270 on opencv4tegra 2.4.13 (jetpack 2.3). The webcam streams fine but I get the same error messages. Was anyone able to figure out a solution?
As my previous comments: “The OpenCV4Tegra does not support some videoIO features, and “HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP” was reported for all cameras we’ve ever tried. It does not affect camera functionality.”.
Since your webcam streams fine, is there other specific issue on your case?
I’m getting a stream of error messages similar to the OP such as: “Corrupt JPEG data: 1 extraneous bytes before marker 0xd3”
I was wondering if this was an issue. I noticed that the frame rate on my camera was dropping below 30 fps. I’m not sure if any of these are related or if it is just an issue with the webcam.
This error message seems come from OpenCV itself, but not sure whether it’s an issue, orfixed in later version.
You may try to move on new version, such as OpenCV3.x to confirm that.