gopro-cut duration syntax #197
DougEdwards47
started this conversation in
General
Replies: 1 comment
-
You should be able to pass in any of the following: it seems to be complaining about the value for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is the exact syntax for specifying the duration (or start or end). I have tried:
--duration 00:10:10.000000
--duration (00:10:10.000000)
--duration (00:10:10.000000)
--duration "00:10:10.000000"
A typical error message is:
Traceback (most recent call last):
File "/usr/local/bin/venv/bin/gopro-cut.py", line 33, in
from_seconds = as_seconds(args.start)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/venv/bin/gopro-cut.py", line 13, in as_seconds
parsed_time = parse_time(timey)
^^^^^^^^^^^^^^^^^
File "/usr/local/bin/venv/lib/python3.12/site-packages/gopro_overlay/parsing.py", line 7, in parse_time
return datetime.strptime(s, f)
^^^^^^^^^^^^^^^^^^^^^^^
TypeError: strptime() argument 1 must be str, not None
Beta Was this translation helpful? Give feedback.
All reactions