arcusmaximus / YTSubConverter

A tool for creating styled YouTube subtitles
MIT License
767 stars 55 forks source link

Collisions order #60

Closed Cqoicebordel closed 2 years ago

Cqoicebordel commented 2 years ago

I'm trying to upload twitch videos to YT, with the chat as a subtitle.
I have the json from Twitch which I used to generate a .ssa. Then I converted it manually to an .ass to test this converter.
It worked quite well, and I was impressed to see that the collisions were combined.
Except that, for my usage, the collisions were in reverse order. I'll explain :
The subtitles appeared and disappeared in that order :

First
---------
Second
First
---------
Third
Second
First
---------
Third
Second
---------

That is fine for most thing, but I'm trying to have a Twitch chat here, so for my use, the order should be

First
---------
First
Second
---------
First
Second
Third
---------
Second
Third
---------

I tried to change the setting in the header of the .ass, to have Collisions set to Reverse (vs the original Normal) but it didn't work (in fact, it looks like it isn't taken into account in any software, but that's another issue).

So, my questions are : is what I'm looking for already possible ? Or is it a feature request you may consider ?
Thanks !

arcusmaximus commented 2 years ago

The converter doesn't support reverse collisions right now because, well, I wasn't even aware this setting existed. Like you said, it does seem to be rather obscure - Aegisub's Properties window doesn't have it anymore, and if I manually add it to the .ass file, nothing changes in Aegisub or VLC.

That being said, it shouldn't be too much work to add support for this.

arcusmaximus commented 2 years ago

Support for this attribute is now available in the new 1.6.2 release.

Cqoicebordel commented 2 years ago

Thanks a lot !!!