occivink / mpv-scripts

Various scripts for mpv
The Unlicense
417 stars 38 forks source link

[encode] Single quotes produce invalid FFmpeg commands on Windows #38

Open UserNaem opened 4 years ago

UserNaem commented 4 years ago

I updated from an earlier version of encode.lua today and now FFmpeg complains about the use of single quotes in my existing scripts. Replacing single quotes with backslash-escaped double quotes fixes this. https://github.com/occivink/mpv-scripts/blob/8e282861c3871d9437a1b331fc9be57052a2908d/scripts/encode.lua#L219