Gstreamer MJPG

Hi, I have a Jetson Nano C100 Developer Kit Module Okdo connected to a USB camera. I use Gstreamer to capture video.

The video formats available on that camera are:

When I run the command to capture in MJPG format (at any resolution), I always get this error:

What’s the cause? The system has free memory.

Hi,
Does it work if you capture UYVY? And you may try v4l2-ctl command to capture MJPG. See if it is specific to gstreamer v4l2src plugin.

Yes, it works with UYVY. But I’d like to use MJPEG; from using it with other cameras, it seems to have a better image.

Using v4l2-ctl doesn’t work either; I get the same error:

image

What does this error refer to? Would it be necessary to use a more powerful module?

I don’t understand, because there’s still free memory.

Hi,
It looks to be an issue in UVC driver. You may follow this to rebuild kernel:
Failed to allocate memory for four usb cameras - #4 by fabian.solano

I already have that patch added, but the issue is when using these new cameras.
(VCI-AR0234-C-S83-IR)

Previously, I was using the (elp-usbfhd05mt-kl170ir), and with the patch, video was captured for all four cameras using mjpg.

Hi,
A bit strange it errors out if you only launch single USB camera. You may add some prints in UVC driver to check further.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.