Git Product home page Git Product logo

Comments (8)

6by9 avatar 6by9 commented on June 12, 2024

In order to get high framerate i use the inno-maker driver :

Sorry, we only support the driver shipped as part of our kernel.

What high frame rate mode are you after? The standard kernel driver supports

  • 10 bit output at 1280x800@120fps, 1280x720@144fps, 640x400@260fps
  • 8 bit output at 1280x800@150fps, 1280x720@180fps, and 640x400@320fps.
    Those are well up into H264 level 4.2, so performance is not guaranteed.

from libcamera.

tamano123 avatar tamano123 commented on June 12, 2024

Thank you for your answser.

  1. I understand that you don't support innomaker's driver but, since VLC could get the camera stream by using ATSC 8-VSB (with innomaker's driver), Don't you think that libcamera (or Picamera2) could do it too ?

What high frame rate mode are you after? The standard kernel driver supports

10 bit output at 1280x800@120fps, 1280x720@144fps, 640x400@260fps
8 bit output at 1280x800@150fps, 1280x720@180fps, and 640x400@320fps.
Those are well up into H264 level 4.2, so performance is not guaranteed.

Since i am newbie to vision development, do you have samples using Picamera2 in order to get 10bit output 640x400@260fps or 8bit 640x400@320fps ?
Thank you

from libcamera.

6by9 avatar 6by9 commented on June 12, 2024

If v4l2-ctl and VLC are getting frames without manual media-ctl commands, then the Media Controller API is not enabled for the driver. libcamera requires Media Controller - https://forums.raspberrypi.com/viewtopic.php?t=322076

@davidplowman can you advise on Picamera2
I'm using libcamera-vid --width 640 --height 400 --framerate 240 --denoise off -o foo.h264 --save-pts foo.pts
For some reason 250fps stalls after a few seconds. 259fps drops into repeated timeouts. 260fps just stalls. Using v4l2-ctl it seems to stream fine at those rates.

from libcamera.

tamano123 avatar tamano123 commented on June 12, 2024

Ok thank you @6by9 for your assistance ... i wait for Picamera2 advices (@davidplowman) :-)

from libcamera.

davidplowman avatar davidplowman commented on June 12, 2024

Picamera2 works if and only if libcamera works. So you will need a compatible driver that supports these framerates. Note that these are quite high framerates so you would have to experiment to find out what is achievable in practice.

from libcamera.

tamano123 avatar tamano123 commented on June 12, 2024

Thank you for your advices

from libcamera.

6by9 avatar 6by9 commented on June 12, 2024

@davidplowman libcamera-vid --width 640 --height 400 --framerate 240 --denoise off -o foo.h264 --save-pts foo.pts does work with our standard driver to give 240fps captures with the odd frame drop, I just don't know the right runes to convert that to picamera2.

from libcamera.

davidplowman avatar davidplowman commented on June 12, 2024

Sure, the basic recipe for capturing video is here.

In this particular case, controls would be needed to set the framerate and turn off the noise reduction. These are listed in Appendix C of the manual (FrameDurationLimits and NoiseReductionMode).

For very high framerates, libcamera-vid might offer slightly fewer frame drops, but it's hard to know without trying it.

from libcamera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.