Closed musicadi closed 6 months ago
{\an8}
is added when detecting top alignment in TTML. That's a feature.
Could you attach subtitle if these {\an8}
lines are not top aligned?
Hi, I put two subtitle lines in the sample code. First is with tts:displayAlign="after", the second with tts:displayAlign="before".
After exporting the file, the tags remain part of the subtitle text, so they are not actually exported as tags, and I'm not sure if this is intended
@musicadi It would be much easier to understand the issue if you attach an actual file. You can just leave a couple of lines and change the text if you want.
Change the extension to .txt
and attach it directly here.
Or you can send it to @niksedk via email.
@OmrSi Thanks, here is the file
Thx for the file :)
The second subtitle is top aligned, so that's on purpose that SE adds the {\an8}
tag.
@niksedk Yes, I understand, but when exporting, it keeps the tag in the subtitle text, instead of adding it as a paragraph tag
OK, exporting how? To what format?
I only tested with .dfxp extension, and it looks like the issue is there when saving to these formats:
When saved in Netflix Timed Text (.dfxp), the tag is correctly saved.
These formats do not support alignment in SE...
It also adds to the text when exporting as srt
It also adds to the text when exporting as srt
That's a feature :) Most video players and converters supports alignment tags for srt too. If you don't want them - you can try to select the wanted lines in the list view, right click, remove formatting - alignment.
It also adds to the text when exporting as srt
That's a feature :) Most video players and converters supports alignment tags for srt too. If you don't want them - you can try to select the wanted lines in the list view, right click, remove formatting - alignment.
Absolutely correct :) Works well with VLC and Plex, thanks a lot.
These formats do not support alignment in SE...
Oh, I see, thank you! Is it possible to add support for this?
Hi,
An {\an8} tag is being added in the subtitle for all lines which contain a specific region.
Subtitle Edit 3.6.3 Windows 10
Here is a sample code:
`<?xml version="1.0" encoding="UTF-8"?>
region.after.center
region.before.center
`