Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't change the scale of clips #191

Open
Jarky0 opened this issue Dec 20, 2021 · 1 comment
Open

Can't change the scale of clips #191

Jarky0 opened this issue Dec 20, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Jarky0
Copy link

Jarky0 commented Dec 20, 2021

I would like to have the full resoltution of all 4 clips. But I can't even change the scale of one clip.

I get the following error:

C:\Users\USER\Desktop\tesla_dashcam>tesla_dashcam.exe --scale 1 "D:\teslacam\SavedClips\2021-12-14_16-25-13"
Traceback (most recent call last):
  File "\\vmware-host\Shared Folders\tesla_dashcam\tesla_dashcam\tesla_dashcam.py", line 4613, in <module>
  File "\\vmware-host\Shared Folders\tesla_dashcam\tesla_dashcam\tesla_dashcam.py", line 3928, in main
  File "\\vmware-host\Shared Folders\tesla_dashcam\tesla_dashcam\tesla_dashcam.py", line 839, in scale
  File "\\vmware-host\Shared Folders\tesla_dashcam\tesla_dashcam\tesla_dashcam.py", line 745, in scale
ValueError: could not convert string to float: 'd:\\teslacam\\savedclips\\2021-12-14_16-25-13'
[19648] Failed to execute script 'tesla_dashcam' due to unhandled exception!

I get the same Error in Linux.

@ehendrix23 ehendrix23 added the bug Something isn't working label Jan 13, 2022
@ehendrix23
Copy link
Owner

For now as a work-around, add another option after scale. For example:
tesla_dashcam.exe --scale 1 --loglevel INFO "D:\teslacam\SavedClips\2021-12-14_16-25-13"

Looks like it is interpreting the path as another option for scale. Adding log level INFO in theory doesn't change anything as INFO is the default log level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants