Git Product home page Git Product logo

Comments (2)

vahid-sb avatar vahid-sb commented on August 18, 2024

Hi @mariaf3s

  1. The relationship between LSL inlets, such as this script, and LSL Lab Recorder is unidirectional. It means the Lab Recorder cannot send a signal to a script or an app to start or stop them. THence, this is not an issue that has a solution, becasue of how the Lab Recorder is designed. So, what I can suggest is to start the video acquisition not long before recording in Lab recorder starts, so you won't end up with a huge video file.
  2. When you stop the Lab recorder (and the Video Acquisitoin) you will see in the relevant stream in the xdf file, a time_series of frame numbers. If one million frames are saved into the video file before Lab recorder starts, the frame numbers in xdf stream start from one million and one. And then you have a time_stamp for each frame. But if you want to have the time stamp relative to the begining of the video and not the frame number, you can simply divide the frame number over the video frame-rate.
    Hope that helped.

from lsl_video_acquisition.

mariaf3s avatar mariaf3s commented on August 18, 2024

Thank you so much for this! I see now how it works. Very Appreciative!

from lsl_video_acquisition.

Related Issues (2)

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.