SenorPez / project-cars-replay-enhancer

Project CARS Replay Enhancer: Combines telemetry data with replay video to improve Project CARS replays.
MIT License
12 stars 1 forks source link

Create new config from existing config set ending time of video #50

Open Michel-NL opened 8 years ago

Michel-NL commented 8 years ago

I'm using the option -c race6.json to create a new config with the name race7 and use the settings from race6. It shows me the ending time of the config from race6. This is a new video so I don't now the end time of the video from race7. Is it possible to enter 0 so that the script will figure out what the end is?

Enter the ending time of the video. (3175.0)-->

SenorPez commented 8 years ago

There's probably an enhancement to be made here, either detecting that the video is a different length, allowing a negative number (which would mean, "seconds from the end"), or something else.

In the meantime, if you enter an absurdly long number, it should create an error message that includes the final time of the video. That's not its intended us, but it works out that way?