Zulko / moviepy

Video editing with Python
https://zulko.github.io/moviepy/
MIT License
12.07k stars 1.51k forks source link

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

Open TheSpaceSheep opened 2 months ago

TheSpaceSheep commented 2 months ago

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

coveralls commented 1 month ago

Coverage Status

coverage: 81.702% (-0.2%) from 81.904% when pulling 7216d6ea9695e247dd9b4255726e7cc7347bd30f on TheSpaceSheep:fix_2160 into bc8d1a831d2d1f61abfdf1779e8df95d523947a5 on Zulko:master.