At the same time, video quality of fansub releases is at an all-time high and you sure don’t want to ruin it with crude typesetting. Within the past 2-3 years, both subtitle renderers and authoring tools have seen significant improvements, making complex typesetting that perfectly blends in with the background practical in many cases. Many of you have probably used AssDraw in the past, which technically also is a (crude) vector drawing program but offers only the most basic features exposed through a terrible GUI, making it essentially useless for any tasks that go beyond creating simple shapes. This greatly expands the possibilities of what you can do within the limitations of the ASS subtitle format, while simultaneously providing a user interface suitable for doing complex typesetting. What is AI2ASS and why do I need it?ĪI2ASS opens up the world of vector graphics to softsubbing by exporting vector drawings from Adobe Illustrator to ASS drawing commands. ![]() Simply making the box taller to compensate will suffice, but will look ugly because the subtitles baseline remains static: the single line subtitles will have more padding on the top than the bottom.Due to popular demand I decided to start a small series of articles on using Adobe Illustrator and AI2ASS for typesetting, starting with this introductory post. ![]() This may be useful if you want the box to span the width.ĭownside is that you have to account for line breaks or word wrapping for long subtitles. The drawbox filter can be used to create a background box. ![]() Thanks to sup and wm4 for the BorderStyle suggestion. Note that BorderStyle=4 is a non-standard value, so it may not work properly in all players. This will fill the bounding box background of each subtitle event. In the Style line change the value corresponding with BorderStyle to 4. Click on the shadow color to adjust the Alpha of the shadow color to your desired transparency level.Įdit the ASS file in a text editor. The alpha settings of the shadow will control the transparency of the background box.Changing the Outline and Shadow sizes to 0.If your subtitles contains multiple lines, due to auto-wrapping of long lines or an intentional line break, the backgrounds will overlap and potentially look ugly as shown below: See SubStation Alpha (ASS) style fields for formatting options. This will work with any text based subtitles supported by FFmpeg because the filter will automatically convert them to ASS. ffmpeg -i input -filter_complex "subtitles=subs.ass:force_style='OutlineColour=&H80000000,BorderStyle=3,Outline=1,Shadow=0,MarginV=20'" output If you want hardsubs you can use the subtitles filter to add the transparent background with the force_style option. Now you can use the AAS file to make hardsubs or softsubs with ffmpeg. Adjust the value of the Alpha box to change transparency. Under Colors click the color under Outline or Shadows.Experiment with the Outline and Shadow values.Under Current Script choose Default, then press the Edit button.The easiest way to do this is with aegisub. ![]() ASS subtitles can have a semi-transparent background for the text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |