Open thegreatgunbantoad opened 1 month ago
The issue arises from the [
and ]
characters, which need to be "escaped" by surrounding them with square brackets like [
this]
. Could you try running the following instead?
dvr-scan -i ".\00.00.00-00.08.00[[]R[]][[]0@0[]][[]0[]].mp4" -r --verbosity debug
This replaces each [
with [[]
, and each ]
with []]
. Sorry this isn't documented anywhere, I'll add a task to add this information.
For Windows this is working as intended, as all input paths are globbed to allow wildcard expansion. I can also look at adding a config option to disable glob expansion, if you think that it would be helpful.
Thanks for the report, this is good to know.
Tasks:
Firstly thank you for the response and that it was so swift. Cracking tool btw!
Sorry, I missed your response to this.
Yes:
dvr-scan -i ".\00.00.00-00.08.00[[]R[]][[]0@0[]][[]0[]].mp4" -r --verbosity debug
works great
I assumed (wrongly) that since that earlier command had failed a wild card of:
dvr-scan -i *.mp4 -r --verbosity debug
also would, but you're right it does work fine so I needent have done a renaming script.
Again, can't gush enough, great tool.
Thanks for the feedback, glad you're finding the tool useful :)
If you're processing several videos at once, be sure to read through this section on handling multiple videos in the docs. It has some additional info on how concatenation happens, and explains what order files are processed in.
Bug/Issue Description: Tool does not like the filenames my Camera produces, though to be fair they are a certain kind of evil: 00.08.00-00.16.00[R][0@0][0].mp4 Renaming the file something less atrocious does resolve the issue but I have 188 files, so going to have a script a rename.
Required Information:
Provide a full copy of the command line options you are using, and add
--verbosity debug
, for example: dvr-scan -i ".\00.00.00-00.08.00[R][0@0][0].mp4" -r --verbosity debug INFO: controller.parse_settings(): DVR-Scan 1.6.1 DEBUG: controller.parse_settings(): User config file not found. ERROR: controller._preprocess_args(): Error: Input file does not exist: .\00.00.00-00.08.00[R][0@0][0].mp4Expected Behavior: It to open region editor
Computing Environment: Windows 11 canary channel build 26252 Python 3.12.4 OpenCV 4.10.0
Additional Information: none