Hello, dear all.
Does it possible create subtitles like this one below?
[Attachment 49917 - Click to enlarge]
The letter is "surrounded" by a kind of transparent / translucent black rectangle ( or maybe even possible apply other colors too ) frame.
Notice: such transparent / translucent rectangle black frame allow the audience see the video behind it. Only the letters are enhanced / highlighted because of the contrast of it's colors and the frame itself.
The purpose of such frame is make the letter become very clear / sharp for reading no matter video color / movement changes.
Such kind of subtitle is hard to be done?
I guess ( if it is possible ) ASS format can do something like that.
If you could point some settings and programs it will be nice.
Thanks for your time!
+ Reply to Thread
Results 1 to 18 of 18
Hi, dear all.
Hi. I'll study more deeply inside the links you provide.
But at first reading I could see that the black rectangle frame was not semi-transparent or transparent just like the picture above ( on my example ). They are solid, opaque and cover the video, hiding the images / video / scenes behind the frame itself.
I want a soft / removable subtitles. Not hardcoded / permanent on the video.
And I want a black box frame "adapted", "resized" for each subtitles lines number of characters.
Not a black box frame "equal" in length for all the subtitles, like covering side-to-side of the video.
In the example I provide above for each subtitle lines the black box frame cover only the letters showed on the screen.
In a exact size / way to cover each line letters in lenght precisely.
When do we have 2 lines, the black box frame "use" the longest line to set the rectangle size for covering both of the two lines.
I could find one link talking something about it:
Does it possible to create such "soft" subtitle using ASS / SSA format? Some online sites like Netflix can create such kind of subtitles in appearence.
Thanks for your time!
Last edited by devilcoelhodog; 25th Aug 2019 at 21:40.
If your player support dvd/blu-ray subs you can convert them to that format and it will do what you want,they will be graphic based subs but can be switched off.I think,therefore i am a hamster.
Hi, dear all.
The sample I showed before is from an online site that I bought a subscription service, just like Netflix.
I wonder how they create such kind of subtitling "system" or "type", because we can choose the videos and turn off and turn on the subtitles. In many languages. They are on line streaming videos.
I would like to create ( if it's possible ) subtitles similar those ones!
Those subtitles are maybe graphic based subs? Or maybe are they based something like xml subtitle format?
I know that we have professional subtitling formats, like EBU-TT-D, EBU-standard and Teletext “.stl” and others, created by tools like Cavena Tempo, Softni, EZTitles and similar ones. Maybe such professional subtitling formats can do it. Maybe not.
[Attachment 49918 - Click to enlarge]
Thanks for your time!
Last edited by devilcoelhodog; 25th Aug 2019 at 22:44.
Just for fun... AVS technique with SSA adapted for a semi transparent background.
[Attachment 49920 - Click to enlarge]
SSA with solid background:
[Attachment 49921 - Click to enlarge]
SSA with semi transparent background via AVS:
[Attachment 49922 - Click to enlarge]
AviSource("video.avi") Black = BlankClip(last, color=$000000) White = BlankClip(last, color=$FFFFFF).ColorYUV(off_y=20) # force white to superwhite (Y=235 to Y=255) bmask = TextSub(white, "video2.ssa", 0, 0).mt_binarize(254, true).mt_expand().mt_expand().mt_expand().mt_expand(chroma="-128") Overlay(last, black, opacity=0.40, mask=bmask) # expanded black box TextSub("video.ssa") # write subs
[V4 Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding Style: gunnm,Tahoma, 45, &H00FFFFFF, &H000000FF, &H00000000, &H00000000, 0, 0, 1, 1, 1, 2, 30, 30, 30, 0, 0
[V4 Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding Style: gunnm,Tahoma, 45, &H00FFFFFF, &H000000FF, &H00000000, &H00000000, 0, 0, 3, 1, 1, 2, 30, 30, 30, 0, 0
Last edited by jagabo; 25th Aug 2019 at 22:58.
Hi. Please, can you explain more in detail? How can I do it properly? Which program can do it? Soft subtitles?
What is "AVS technique"? And " SSA adapted"? And how to create "semi transparent background", black and even other colours?
Thanks for your time again!
Hi. Thanks for your explanation. Those results you gave were similar to my sample given before. But they are for hard subbing, using AviSynth. Not soft subtitles yet.
I could find something that maybe can helps a little:
---> https://www.youtube.com/watch?v=3wcgxC7TWyU ( How to make Transparent Box behind Subtitles with Aegisub | TUTORIAL )
Do you have an idea how some onlines site create such kind of subtitles? With those effects? Which programs they use to create such subtitles?
In the video above I could see that the author could create semi transparent black box on the subtitles.
But the black box is resized to fit each line by it's own length only. But not for 2 lines at the same time. It's nice though.
But does it possible to create a subtitle with a semi transparent black box resized according only to the longest line? Instead according 1 line per 1 line?
I mean: for those subtitles containing 2 lines, the program would create a box resized according to the longest line only.
And both of lines will be "covered" behind according the box size to the longest one.
In the sample below we have 2 lines. But the black box was resized according only to to the longest one line.
And the created black box covered both lines in equal size. A perfect rectangle that covered equally both lines.
Does it possible to be done using Aegisub or similar programs?
[Attachment 49923 - Click to enlarge]
Thanks for your explanation!
So after you have decided you want soft subtitltes (can be turned on/off) you also need to tell us which player you want to use.
vsfilter based software (MPC-HC, MPC-BE, AviSynth TextSub()), only libass based software (VLC, mpv, HandBrake, ffmpeg ..) so yet again knowledge about the player(s) you use is crucial.
Hi. I can use vlc and MPV. I prefer soft subtitles.
Ok. In Aegisub's Styles Manager edit the Default style of the script. Set shadow width to 0. In the Outline color selector set some Alpha for transparency. Save to .ass file. Edit .ass file with e.g. notepad or other simple text editor to set BorderStyle to 4. Then either mux with video to .mkv using MKVToolNix or leave them as external (fonts can be added as mkv attachments). Then VLC and mpv should be able to display them how you want.
I can verify BorderStyle 4 along with an alpha in the BackColor works in VLC and SMPlayer. It didn't work in MPCHC, MPCBE, PotPlayer, or KMPlayer. And outside a PC almost nothing supports SSA subs.
Screen cap of VLC:
[Attachment 49924 - Click to enlarge]
[V4 Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding Style: gunnm,Tahoma, 45, &H00FFFFFF, &H000000FF, &H00000000, &HA0000000, 0, 0, 4, 1, 1, 2, 30, 30, 30, 0, 0
Hi, dear all.
@ jagabo + @ sneaker
Thanks fou you help!
I'll try those tips to create such subtitles here and test all those settings.
SRT format do not support such kind of styles on subtitles like SSA / AAS does, right?
It's a pity that very few places support SSA / AAS formats.
SSA mode 4 it will be available to any media player in Windows. I haven't seen one, though I haven't really looked. You might have better luck with DVD or Blu-ray sub formats (bitmap based subs).
AviSynth script then starts a media player to display the AVS script.
MPCHC playing AVS script:
[Attachment 49925 - Click to enlarge]
assfiltermod adds libass rendering to MPC-HC, and possibly some other players when used with madvr (it uses the "home-brew" SubRenderIntf - few renderers use that)
It's not like MPC-HC doesn't support ASS, it's just that BorderStyle=4 is kind of a thing only libass implemented. The author of Media Player Classic designed SSA and vsfilter IIRC.