Giter Club home page Giter Club logo

canoecamera's People

Contributors

evilpaul avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

canoecamera's Issues

Memory allocation

After adding the webcam node into a CANoe project the memory usage of RuntimeKernel.exe can be seen constantly increasing until some garbage collection is triggered, then repeats.

This does not occur if the NewFrame callback contains now functionality. Consider how the image data is used from the callback function onwards and ensure memory is cleared when no longer required.

Frame rate setting

Current implementation only allows decimal frame rates to be used.

Backport implementation from Accord.NET in order to allow setting fractional frame rates (e.g. 29.97)

FFMPEG 5 support

Deprecated APIs are currently used that has now been removed in FFMPEG 5. these legacy API calls need to be replaced before FFMPEG versions later than 4.X can be used.

Frame time is not guaranteed

If your camera has auto-exposure, or a long manual exposure, then you will not get new frames at the specified rate.

Currently each new frame is written to the output video when received; fewer frames due to a longer exposure will mean the time in the output video will speed up.

Video timestamp is assumed

The timestamp added to the video is assumed based upon

  1. Measurement time of initial request
  2. Incremented timestamp based upon frame rate

Modify the behaviour so that the timestamp reflects the actual measurement time when that frame was received. (may have relation to #3)

System performance

Due to the CANoe concurrency architecture everything looks to be run on a single core.

What can be done to move the high image processing load onto a separate core?

Video display in VLC when jumping to timestamp

The saved videos display normally when played in VLC (and windows media player, etc.), but when jumping to specific timestamps or dragging the playback bar the displayed image is garbage until the next keyframe.

Investigate if any settings can be changed when saving a video. (usage of FFMPEG)

Timing between requesting save and it actually occurring

This may be related to #2, but could be related to other factors (e.g. camera frame rate, frame size, storage speed).

When requesting the start of a video or to save an image there looks to be some delay before the operation actually occurs.

Due to the disconnect of using sysvars as triggers the operations are not synchronous so where is the timing difference occurring?

The NewFrame callback is run from a different thread so calls to retrieve the CANoe measurement time throw exceptions. Another means needs to be made to monitor the timings of requests and actions.

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.