ekisu / mpv-webm

Simple WebM maker for mpv, with no external dependencies.
MIT License
555 stars 32 forks source link

Feature parity with --screenshot-template #92

Closed po5 closed 3 years ago

po5 commented 3 years ago

The current output_template option is very limited, this PR allows users to have filenames closer to their custom screenshot filenames. I went and implemented all specifiers supported by --screenshot-template (except for %[#][0X]n). Start times are specified like %wX, end times use %mX with the same format. Everything else is as you'd expect, refer to mpv docs.

po5 commented 3 years ago

Addressed the "%t[a-zA-Z]" repetition and fixed "%t%".

ekisu commented 3 years ago

Neat, thanks!