RobinDavid/Motion-detection-OpenCV

save wmv issue on Windows

majj opened this issue · 3 comments

majj commented

Change file name on Windows to save wmv video:

datetime.now().strftime("%b-%d_%H:%M:%S") ->

datetime.now().strftime("%b-%d_%H%M%S")

Hum I see.
What kind of problem does it trigger on Windows to have ":" in the filename ?

majj commented

File names on Windows must not contain the following characters:
slash (/) or ()
question mark (?)
vertical bar (|)
right angle bracket (>)
left angle bracket (<)
colon (:)
asterisk (*)
quotation mark (")

I have changed the filename ;)