This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

No mux on excessive subjobs?
#20
Did some research on Substation alpha (.ssa/.ass) and .ttf/.otf formats after noticing that hybrid appends the Job ID prefix to attachments yet it still works correctly...

Seems like libass & VSfilter doesn't look at the filename at all!

The container (usually matroska) gives it a list of local attachments, libass\vsfilter queries the files and looks for the internal values for font format and font family then concatenates the same font family together to build up a local font cache for the subtitles to use.

The .ass format in it's style section takes a font_family or font_sub_family value, looks at the font cache and if it can't find it then it goes to the system default (Arial on windows).

Tested this by looking at a known font at a certain timestamp, removing it, noting that the subtitle changed to Arial, changed the font extension from .otf to .ttf and attached it back and the correct font was shown then removed the font again and removed the file extension entirely, reattached it and it rendered correctly (mkvtools listed it's MIME type as "font/otf".

So realistically it doesn't matter what the filename, filecharactercase or even extension is as long as the container tells the subtitle library executable that it's a font!


That said hybrid probably shouldn't be sticking the jobID prefix to attachment names as it might break something somewhere.
Easiest solution would be to extract to a jobID folder with the proper original file names, ASSume duplicates contain the same data & let them overwrite the other, stick whatever is left into the new output file and simply delete the folder at the end?
Reply


Messages In This Thread
No mux on excessive subjobs? - by b0red - 28.07.2021, 23:10
RE: No mux on excessive subjobs? - by Selur - 29.07.2021, 04:58
RE: No mux on excessive subjobs? - by b0red - 29.07.2021, 09:31
RE: No mux on excessive subjobs? - by b0red - 29.07.2021, 10:38
RE: No mux on excessive subjobs? - by Selur - 29.07.2021, 14:47
RE: No mux on excessive subjobs? - by b0red - 29.07.2021, 15:46
RE: No mux on excessive subjobs? - by Selur - 29.07.2021, 17:03
RE: No mux on excessive subjobs? - by b0red - 29.07.2021, 17:20
RE: No mux on excessive subjobs? - by Selur - 29.07.2021, 17:31
RE: No mux on excessive subjobs? - by Selur - 29.07.2021, 17:38
RE: No mux on excessive subjobs? - by b0red - 29.07.2021, 18:49
RE: No mux on excessive subjobs? - by Selur - 29.07.2021, 19:05
RE: No mux on excessive subjobs? - by Selur - 29.07.2021, 20:01
RE: No mux on excessive subjobs? - by Selur - 29.07.2021, 21:50
RE: No mux on excessive subjobs? - by b0red - 30.07.2021, 04:46
RE: No mux on excessive subjobs? - by Selur - 30.07.2021, 04:53
RE: No mux on excessive subjobs? - by b0red - 03.08.2021, 17:22
RE: No mux on excessive subjobs? - by Selur - 03.08.2021, 20:11
RE: No mux on excessive subjobs? - by Selur - 04.08.2021, 05:51
RE: No mux on excessive subjobs? - by b0red - 05.08.2021, 01:00
RE: No mux on excessive subjobs? - by Selur - 05.08.2021, 05:24
RE: No mux on excessive subjobs? - by b0red - 06.08.2021, 16:06
RE: No mux on excessive subjobs? - by Selur - 06.08.2021, 16:13
RE: No mux on excessive subjobs? - by b0red - 06.08.2021, 16:41
RE: No mux on excessive subjobs? - by Selur - 06.08.2021, 16:45
RE: No mux on excessive subjobs? - by Selur - 08.08.2021, 17:32
RE: No mux on excessive subjobs? - by b0red - 09.08.2021, 03:34
RE: No mux on excessive subjobs? - by Selur - 09.08.2021, 04:26
RE: No mux on excessive subjobs? - by b0red - 09.08.2021, 05:14
RE: No mux on excessive subjobs? - by Selur - 09.08.2021, 05:26

Forum Jump:


Users browsing this thread: 1 Guest(s)