Skip to content

Time stamp has invalid characters in Windows #7

Description

@ScribbleGhost

In a Windows environment, the following characters cannot be used in a file or folder name:

< (less than)
> (greater than)
: (colon)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)
Microsoft Docs

So the colons in the date/time stamp should be changed to something more OS-agnostic. Perhaps hyphens.

return string.format("%02d:%02d:%02.03f", hours, minutes, seconds)

If these characters are not changed the FFmpeg command will not work in Windows.

Activity

  1. b1scoito commented on May 26, 2021

    @b1scoito

    Are you able to pull request that fix?

  2. ScribbleGhost commented on May 26, 2021

    @ScribbleGhost
    Author

    Oh uhm..., I have no idea how to do that 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions