View Single Post
Old 22nd September 2015, 07:24   #1  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 697
How to add and display images in subtitles ASS?

I read the specification subtitle ASS and I wonder whether there are apply some restrictions.

7. Picture event lines, [Events] section
These contain the same information as Dialogue events, but Field 10 contains the full path and filename of the picture to display, instead of subtitle text.
The Style specified is ignored. The "scroll up" transition effect can be used for picture events.
The Left and Vertical Margin Overrides specify the bottom-left corner position of the picture. A left margin of all zeroes means that the picture will be horizontally centered. A vertical margin of all zeroes means that the picture will be vertically centered.
Picture: This is a "picture" event, which means SSA will display the specified .bmp, .jpg, .gif, .ico or .wmf graphic.


I created your logo in subtitles and don't know what view logo in player and how well I did? Can someone advise.

Code:
[Script Info]
ScriptType: v4.00+
Title: Holidays in 2015
PlayResX: 1280
PlayResY: 720
PlayDepth: 30
YCbCr Matrix: TV.2020
Video Aspect Ratio: 1.777778
Video Zoom: 1.000000
Timer: 100.0000
WrapStyle: 0
ScaledBorderAndShadow: no

[Graphics]
filename: photo_640x360.jpg
{image code}

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Picture: 1,0:00:13.00,0:00:16.00,,Football match 2015.09,17,17,3,,C:\Users\...\Downloads\photo_640x360.jpg <-- or attachment filename [Graphics]
PS. Maybe someone knows a GUI editor to use icons.

Last edited by Jamaika; 22nd September 2015 at 14:55.
Jamaika is offline   Reply With Quote