Skip to content

Issue with [ and ] characters in filenames #171

@thegreatgunbantoad

Description

@thegreatgunbantoad

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].mp4

Expected 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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions