Legality of certain gst_device_get_caps results

Gottfried Haider gottfried.haider at gmail.com
Sat Nov 12 17:14:11 UTC 2016


I am getting the caps of attached capture devices in C
[gst_device_get_caps], turn them into a string [gst_caps_to_string],
and pass them on to Java, where I am again parsing the string.

When I am looking at the Raspberry Pi Camera, which is attached via a
V4L2 driver, I am seeing properties such as these ones, which my naive
code stumbles upon:

width=(int)[ 32, 3280, 2 ]
height=(int)[ 32, 2464, 2 ]
framerate=(fraction)[ 1/1, 90/1 ]


Besides the framerate (whose values also look a bit odd to me): are
those values legit? How should I interpreting them? (previously I
always saw singular values for width & height)

If this isn't right: would this be a bug in the GStreamer V4L2 device
enumeration, or in the specific V4L2 driver?

(This GStreamer 1.8.3. on 32-bit ARM Linux.)

Thanks
Gottfried


More information about the gstreamer-devel mailing list