Re: gsreeamer\v4l2sink - frame rate\size limitations

Nicolas Dufresne via gstreamer-devel <[email protected]>
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <[email protected]>
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 <[email protected]> wrote:
> > Hi,
> > 
> > Le mar. 29 août 2023, 06 h 45, Regine Issan via gstreamer-devel <[email protected]> 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 ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.