-
Notifications
You must be signed in to change notification settings - Fork 62
Working with image file that contain colons ':' #120
Description
The following MPV.conf setting is used to apply specific time stamp label format to video screen shots:
screenshot-template="%F - [%P] (%#01n)"
I.e. Filename - [HH:MM:SS.MM] (1).jpg
Unfortunately tag editor will generate error:
Error 03:57:28 setting tags: An IO error occurred when parsing the specified file "/Image/Directory/Without_File_Extension - [00": open failed: No such file or directory
[00, referring to the image file containing [HH, in its filename.
I have both paths enclosed in quotation. I'm on Ubuntu with bash terminal. The GUI works fine with such file names.
Escape character was no good:
"/path/to/image [00"\:"03"\:"03.193] (1).jpg"
This is an example of a command I executed:
tageditor set cover="/media/drive1/Example dir/image.jpg" \
-f "/media/drive1/Example dir/Video.mp4"
FFMpeg had no trouble with colons in the filename.