Czechball / discord-video

Simple bash and batch scripts that use ffmpeg to compress videos to fit under 25 MB (Discord free upload limit)
MIT License
51 stars 10 forks source link

Absolute paths don't work #2

Closed ShadyMedic closed 3 years ago

ShadyMedic commented 3 years ago

I can't use absolute paths in the command. No matter if it is in quotation marks or not.

C:\Users\user\Desktop\Programs\discord-video>discord-video.bat C:\Users\user\Videos\OBS\2021-03-25 11-55-25.mp4
Error: "C:\Users\user\Videos\OBS\2021-03-25" is not a video file

C:\Users\user\Desktop\Programs\discord-video>discord-video.bat "C:\Users\user\Videos\OBS\2021-03-25 11-55-25.mp4"
Error: ""C:\Users\user\Videos\OBS\2021-03-25 11-55-25.mp4"" is not a video file
Czechball commented 3 years ago

Fixed by #3