We are trying to use an external camera with a custom driver with the TX2. Followed the sensor programming guide available with Jetpack 3.1 and we are able to capture raw data. The v4l2 compliance test gives no errors.
However, when we tried to record a video using the gstreamer, it records blank frames.
Here is the command:
gst-launch-1.0 --verbose nvcamerasrc sensor-id=0 fpsRange=“30 30” ! ‘video/x-raw(memory:NVMM), width=(int)640, height=(int)480, format=(string)I420, framerate=(fraction)30/1’ ! videoconvert ! omxh264enc ! qtmux ! filesink location=test.mp4 -e
I have attached the DMESG output with this post. We get these fence timeout errors. I have looked in other similar posts but could not find a solution yet.
fence timeout on [ffffffc1b5429900] after 1500ms fence timeout on [ffffffc1b5429800] after 1500ms
Any ideas on where to start with debugging this issue?