View Single Post
Old 8th November 2017, 16:42   #1274  |  Link
konikpolny
Registered User
 
Join Date: Feb 2016
Posts: 54
SRT to ASS 3D conversion tool

Hi r0lZ,
I found some bugs/shortcomings in the "convert SRT to ASS 3D" tool:

1)
color restore after a color change should be simply {\c} rather than quoting the default color literally. \c is shorter, cleaner and more obvious. According to ASS specs override code (like \c) without any parameter is defaulting to 0 meaning it's already given the default value.
2)
substitution for "<font color=" may not always work as SRT also supports changing Font face, so 'font' doesn't always refer to a color change only. MOreover, to complicate it a bit more it can have the 2 attributes - color and fontname at the same time like:
<font face="Times New Roman" color="#a38c22">
The font name change tag for ASS is \fn followed immediately by the Font Name like {\fnTimes New Roman} and should be closed with {\fn}.
In case for having both color and font name change, the ASS override can be within one set of braces eg.: {\fnTimes New Roman\c&H228ca3&} and closed with {\fn\c} (the order of the tags is not important and may not be in the same order as for the opening override)

Do you think you can add support for the font name change?

By the way what language is SRTtoASS3D.tcl written in?


Oh, and there's another thing I wanted to bring up for some time now. BD3D2MK3D opens to the last saved state and if it was using for instance 10bit color encoding or Full SBS/T&B stereoscopy it always displays the warnings. It would be great if we could have a checkbox at the bottom of the dialogues to tick to acknowledge reading the warning and so not to display the warnings any more. Having that we could also have an option somewhere to reset the warnings settings to make them appear again.
konikpolny is offline