gsreeamer\v4l2sink - frame rate\size limitations

Nicolas Dufresne nicolas at ndufresne.ca
Wed Aug 30 11:37:33 UTC 2023


Hi,

Le mar. 29 août 2023, 06 h 45, Regine Issan via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> a écrit :

> Hello,
> I am new to video world.
> Trying to figure out the frame size limitations of v4l2sink.
> running gst-launch-1.0 v4l2sink i get the result below.
> Does that mean that v4l2 supports
> video\ebayer  and video\x-bayer  frames
> up to 32768*32768 pixels
> with frame rate between 1 to 2147483647 frames per second ?
>

These are just template, what the HW support is obtained at runtime. While
its possible to write an GST app to retrieve this information, it's easier
to introspect your v4l2 driver using v4l2-ctl utility.



> Thanks !
>
>
> Pad Templates:
>   SINK template: 'sink'
>     Availability: Always
>     Capabilities:
>       image/jpeg
>       video/mpeg
>             mpegversion: 4
>            systemstream: false
>       video/mpeg
>             mpegversion: { (int)1, (int)2 }
>       video/mpegts
>            systemstream: true
>       *video/x-bayer*
>                  format: { (string)bggr, (string)gbrg, (string)grbg,
> (string)rggb }
>
> *   width: [ 1, 32768 ]                 height: [ 1, 32768 ]*
>          *     framerate: [ 0/1, 2147483647/1 ]*
>
> *video/x-raw*
>                  format: { (string)RGB16, (string)BGR, (string)RGB,
> (string)ABGR, (string)xBGR, (string)RGBA, (string)RGBx, (string)GRAY8,
> (string)GRAY16_LE, (string)GRAY16_BE, (string)YVU9, (string)YV12,
> (string)YUY2, (string)YVYU, (string)UYVY, (string)Y42B, (string)Y41B,
> (string)YUV9, (string)NV12_64Z32, (string)NV24, (string)NV61, (string)NV16,
> (string)NV21, (string)NV12, (string)I420, (string)ARGB, (string)xRGB,
> (string)BGRA, (string)BGRx, (string)BGR15, (string)RGB15 }
>
>
> * width: [ 1, 32768 ]                 height: [ 1, 32768 ]
> framerate: [ 0/1, 2147483647/1 ]*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230830/6ff32723/attachment.htm>


More information about the gstreamer-devel mailing list