Advanced SSA Fonts/Typesetting are not displaying correctly
See original GitHub issueAnime SSA subtitles often have custom fonts/typesetting that alter the video (transformation, masking, etc.) PR #742 had extracting subtitles from the original video file integrated, but commented out here.
When I built it with the line uncommented and episodeId
changed to mediaItemId
, the subtitles does work properly with the correct fonts now being burned into the video stream.
await ExtractFonts(dbContext, mediaItemId, ffmpegPath, cancellationToken);
Is there a reason why it was commented out? It looks like it was working completely fine.
Issue Analytics
- State:
- Created 9 months ago
- Comments:6
Top Results From Across the Web
Support SSA/ASS styling · Issue #8435 · google/ExoPlayer
But the ability to display fonts and colors properly would be nice!
Read more >Plex, anime and subtitle files and questions about other ...
I am trying to watch an anime on plex, and the files I have in the folder (it's just one season) are the...
Read more >Why are fonts not displaying correctly in Word?
Sometimes fonts do not display correctly in Word documents. ... Click Advanced - scroll down halfway and click the Font Substitution button.
Read more >ASS subtitles are particularly popular in anime fansubbing ...
> ASS subtitles are particularly popular in anime fansubbing as it allows for advanced typesetting. Those are just "SSA" subtitles. The difference mattered...
Read more >Certain fonts are not displaying correctly
I'm on a Windows 10 laptop and I noticed certain fonts are not displaying correctly, looks as though there is no anti aliasing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For various different movies and tv shows, I’ve only had this pop up.
TAG:mimetype=application/vnd.ms-opentype
TAG:mimetype=application/x-truetype-font
TAG:mimetype=font/ttf
TAG:mimetype=font/otf
I think it is covered by your PR. So LGTM. Are you going to look at cleaning up the files, or just leave it in the fonts directory?
My initial guess is that I was unhappy with dumping all attachments in a fonts folder (not just fonts). Perhaps I can run a cleanup process after extraction.
Will revisit this soon, thanks for the detailed direction.