0

This page uses newline characters (\n) to introduce newlines in a subtitle in AviSynth:

subtitle("First line\nNext line\nLast line", ...)

I tried this code on AviSynth+ and it fails.

Newlines would be useful for credits that take multiple lines without having to repeat the settings and tune the alignment.

What is the simplest way to include newlines in subtitles?

2

To use newlines in the built-in Subtitle filter, you must specify the lsp (linespacing) argument:

subtitle("First line\nNext line\nLast line", lsp=12)

See the Subtitle wiki page for more info on the argument.

| improve this answer | |
  • Yes, I had found the answer at VideoHelp and forgot to update it here. – miguelmorin Sep 27 at 12:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.