Skip to content

'&' in windows filename splits in argument list parsing #305

Description

@mrmsbarnes

When I do

scenedetect -i 1+2.avi detect-content
I get one scene break at 00:00:08.267
When I do
scenedetect -i 1&2.avi detect-content
scenedetect says:
Error: Missing command.
'2.avi' is not recognized as an
operable program or batch file.

The two files are identical except for file name. I had to append ".mp4" to each file name to get your bug tracker to accept them.
And, Yes, scenedetect (or at least ffmpeg) does handle .avi files.

1.2.AVI.mp4
1+2.AVI.mp4

Activity

  1. mrmsbarnes commented on Jan 6, 2023

    @mrmsbarnes
    Author

    also I notice the bad named file is noted as 1.2.avi.mp4 instead of 12.avi.mp4 in files attached. Evidently ampersands are way too special to github to be allowed in filenames. Someone should tell Microsoft.

  2. mrmsbarnes commented on Jan 6, 2023

    @mrmsbarnes
    Author

    Comment to my comment to my submitted bug. Sorry I don't know how to convey a literal ampersand in this forum.

  3. Repository owner locked and limited conversation to collaborators on Feb 2, 2023
  4. converted this issue into a discussion #311 on Feb 2, 2023
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