Git Product home page Git Product logo

Comments (5)

Michel-NL avatar Michel-NL commented on September 3, 2024

Could it be that skipstart also needs to be in seconds?

from project-cars-replay-enhancer-ui.

SenorPez avatar SenorPez commented on September 3, 2024

Trying to figure out what you mean:

In the JSON file, video_skipstart and video_skipend are expressed in seconds. (They're also misnamed, but it's way too much effort now to rename them. They should be just called video_start and video_end.)

In the UI, it should be converting those values to HH:MM:SS.ss values. It'll accept data in that format, too.

So if you want your video to start at 19 minutes, 38 seconds, you could enter 19:38 in the UI, and it should output 1178 (19 * 60 + 38) into the configuration file.

from project-cars-replay-enhancer-ui.

Michel-NL avatar Michel-NL commented on September 3, 2024

Could it be some regional settings on my PC. Look at the video start time and notice the . (dot) instead of :

untitled-1

from project-cars-replay-enhancer-ui.

Michel-NL avatar Michel-NL commented on September 3, 2024

Ok I was thinking that the first character is HH:MM:SS
My computer is seeing it as MM:SS.(??)

untitled-2

from project-cars-replay-enhancer-ui.

SenorPez avatar SenorPez commented on September 3, 2024

It's actually quite smart, to save you from typing too many zeros. The behavior shown in your screenshots is actually correct.

SS.sss is seconds, and can actually be any number. If you wanted to enter 1178.0 there, it'd take it.
MM:SS.sss is minutes and seconds.
HH:MM:SS.sss is the full hours, minutes, and seconds.

from project-cars-replay-enhancer-ui.

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.