gsreeamer\v4l2sink - frame rate\size limitations
Nicolas Dufresne
nicolas at ndufresne.ca
Wed Aug 30 21:02:21 UTC 2023
Le mercredi 30 août 2023 à 18:08 +0200, Regine Issan a écrit :
> Thank you , Nicolas for your kind answer.
>
> Does v4l2 limit frame size /rate
> Or is the limitation only set by driver ,
> According to the hardware ?
> Is there any v4l2 documentation about it ?
Its per hardware/driver, the drivers can be interrogated using
VIDIOC_ENUM_FRAMEINTERVALS ioctl.
regards,
Nicolas
>
>
>
> On Wed, Aug 30, 2023 at 13:37 Nicolas Dufresne <nicolas at ndufresne.ca> wrote:
> > 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 ]
More information about the gstreamer-devel
mailing list