Log in

View Full Version : Are there any avisynth filter can render subtitle with Emoji?


qiangbro
19th September 2016, 09:23
Emoji is very popular today, Huge number of people use it, and there're also a lot of emoji libraries :
https://github.com/twitter/twemoji
http://emojione.com/

so, my question is:

Are there any avisynth/VapourSynth filter can render SubStationAlpha file with Emoji in it?

I am not a c-language programmer, I don't know how to develop this function, so I came here for help.:):):)

I hope in the future, someone can develop an emoji filter with these features:
1. works like vsfilter / xy-vsfilter / vsfiltermod
2. render SubStationAlpha with colorful emoji in it
3. allow user to switch emoji library (eg. twemoji / google emoji / apple emoji ...)

qiangbro
19th September 2016, 10:20
I have tried vsfilter, xy-vsfilter, vsfiltermod.
It seems they do not support emoji yet, because emoji is a new thing for those period.

huhn
19th September 2016, 20:56
did you made sure the font you are using has support for this?

raffriff42
19th September 2016, 21:06
I tried using "Segoe UI Emoji" (included with Win 8.1) which has color emoji, but the subtitles are monocolor. The problem is the ASS subtitle format defines fill, outline & shadow colors, so a non-standard renderer would be required to show color emoji.

filler56789
20th September 2016, 07:44
IMHO, the actual problem is, ALL the current implementations of "built-in" color characters in fonts are hacks && non-standard...

https://typography.guru/journal/windows-color-fonts/

Also, and for a change, M$ products don't follow their own specifications :D

http://forum.videohelp.com/attachments/37012-1463198678/emoji-test-2A.png

http://forum.videohelp.com/attachments/37013-1463198688/emoji-test-2B.png

raffriff42
20th September 2016, 11:46
That's interesting thanks, filler56789

qiangbro
21st September 2016, 04:34
I hope in the future, someone can develop an emoji filter ☺

filler56789
21st September 2016, 11:39
I hope in the future, someone can develop an emoji filter ☺

You mean "add support for «fonts with color glyphs»", alright ;)
Because if you don't have a desperate need for "native" color emojis,
then the current versions of (xy-)vsfilter should do fine :)

Cheers 😇

P.S.: besides, never ever apply italics onto emojis...
not even because of someone's birthday...
🎂

filler56789
25th September 2016, 10:58
Very well, at last I have created and seen emoji subs through TextSub()...

and I don't know what to say about them :scared:

http://forum.videohelp.com/attachments/38700-1474796677/emoji-subs-01.png

&&

http://forum.videohelp.com/attachments/38701-1474796677/emoji-subs-02.png

raffriff42
7th October 2016, 15:14
Supposedly (https://www.matroska.org/technical/specs/subtitles/ssa.html) ASS supports [Picture] events, but I couldn't get them to work. I don't think there is renderer support for them.

If someone was motivated enough, they might try converting emoji to SVG somehow (eg, Inkscape (http://www.mobileread.com/forums/showthread.php?t=238029)) and using SVG2SSA (http://forum.aegisub.org/viewtopic.php?f=6&t=65947) to make ASSDraw vector art.

EDIT original emoji as SVG here: https://github.com/rodrigopolo/minEmoji/tree/master/jMinEmoji-SVG/img/svg