moviepy icon indicating copy to clipboard operation
moviepy copied to clipboard

(fix) escape dashes in the beginning of filenames in ffmpeg commands

Open TheSpaceSheep opened this issue 10 months ago • 1 comments

This PR fixes https://github.com/Zulko/moviepy/issues/2160. Filenames that starts with dash '-' are no longer interpreted as command line arguments by ffmpeg

  • [x] I have provided code that clearly demonstrates the bug and that only works correctly when applying this fix See https://github.com/Zulko/moviepy/issues/2160
  • [x] I have added suitable tests demonstrating a fixed bug or new/changed feature to the test suite in tests/
  • [x] I have properly documented new or changed features in the documentation or in the docstrings

TheSpaceSheep avatar Apr 26 '24 08:04 TheSpaceSheep