doraemoe 0 Posted July 27, 2020 Posted July 27, 2020 Hi, I'm trying the subtitle burn in function but I noticed it does not support custom font? I looked at the ffmpeg transcode log and noticed force_style='FontName=Droid Sans Fallback' is passed as command line argument to ffmpeg. Is this the problem? If so, is it possible to disable this? I do noticed in the log, the custom fonts are loaded (as well as Droid Sans Fallback) 10:41:40.556 [subtitles@f2 @ 0x1905140] Loading font file '/var/packages/EmbyServer/target/var/fonts/DroidSansFallback.ttf' 10:41:40.572 [subtitles@f2 @ 0x1905140] Loading font file '/var/packages/EmbyServer/target/var/fonts/a-font-file.otf' 10:41:40.595 [subtitles@f2 @ 0x1905140] Loading font file '/var/packages/EmbyServer/target/var/fonts/another-font-file.ttf' Thanks.
Luke 40082 Posted July 27, 2020 Posted July 27, 2020 Hi, we plan to review this in future updates to try to support custom fonts. Thanks.
doraemoe 0 Posted July 28, 2020 Author Posted July 28, 2020 Thank you Luke, is this a long term goal or I could expect an update soon?
QAQrz 6 Posted November 7, 2023 Posted November 7, 2023 How does the latest beta server trigger the burning of ASS subtitles to verify the burned font effect? I tried some settings and they all use vtt streaming.
Luke 40082 Posted November 8, 2023 Posted November 8, 2023 14 hours ago, QAQrz said: How does the latest beta server trigger the burning of ASS subtitles to verify the burned font effect? I tried some settings and they all use vtt streaming. HI, what do you mean exactly? We don't convert ass to vtt because that will result in loss of styles.
QAQrz 6 Posted November 8, 2023 Posted November 8, 2023 5 hours ago, Luke said: HI, what do you mean exactly? We don't convert ass to vtt because that will result in loss of styles. this one. This video has several built-in subrip subtitles and an external ass subtitle. The ass subtitle is used when playing. Why does it look like the ass subtitles are parsed directly by the browser and one of the built-in subrip subtitles is transcoded to the webvtt format?
Luke 40082 Posted November 10, 2023 Posted November 10, 2023 On 11/8/2023 at 1:24 AM, QAQrz said: this one. This video has several built-in subrip subtitles and an external ass subtitle. The ass subtitle is used when playing. Why does it look like the ass subtitles are parsed directly by the browser and one of the built-in subrip subtitles is transcoded to the webvtt format? Right but look to the left of that. It's converting the subrip to vtt, not ass to vtt.
QAQrz 6 Posted November 10, 2023 Posted November 10, 2023 1 hour ago, Luke said: Right but look to the left of that. It's converting the subrip to vtt, not ass to vtt. Yes, it seems to be transcoding an unused subrip subtitle.
Luke 40082 Posted November 10, 2023 Posted November 10, 2023 Can you please provide an ffmpeg log example? thanks.
QAQrz 6 Posted November 10, 2023 Posted November 10, 2023 8 minutes ago, Luke said: Can you please provide an ffmpeg log example? thanks. ffmpeg-transcode-758a69b6-57ca-41c7-8cf5-2a74dbe4a72d_1.txt
Luke 40082 Posted November 10, 2023 Posted November 10, 2023 Did you have a subtitle track selected initially?
QAQrz 6 Posted November 10, 2023 Posted November 10, 2023 35 minutes ago, Luke said: Did you have a subtitle track selected initially? yes, that ass subtitle.
QAQrz 6 Posted November 18, 2023 Posted November 18, 2023 By the way, to install custom fonts, do I only need to put the font files in "/var/packages/EmbyServer/var/fonts"? Will updating the emby server version reset the folder?
Luke 40082 Posted November 18, 2023 Posted November 18, 2023 14 hours ago, QAQrz said: By the way, to install custom fonts, do I only need to put the font files in "/var/packages/EmbyServer/var/fonts"? Will updating the emby server version reset the folder? We don't currently have a mechanism for loading custom fonts. It's not a bad idea, but it doesn't exist right now.
Luke 40082 Posted November 18, 2023 Posted November 18, 2023 Anyway, regarding the original issue, can you please attach the emby server and ffmpeg logs together? Thanks !
QAQrz 6 Posted November 19, 2023 Posted November 19, 2023 12 hours ago, Luke said: Anyway, regarding the original issue, can you please attach the emby server and ffmpeg logs together? Thanks ! ffmpeg-transcode-33243852-3bf1-47da-b632-58d8d55a81ff_1.txtembyserver.txt
Luke 40082 Posted December 25, 2023 Posted December 25, 2023 On 11/19/2023 at 3:20 AM, QAQrz said: ffmpeg-transcode-33243852-3bf1-47da-b632-58d8d55a81ff_1.txt 81.29 kB · 0 downloads embyserver.txt 400.62 kB · 0 downloads @QAQrzIn this example did the subtitles not show up at all, or did they show up but without using the correct font?
QAQrz 6 Posted December 26, 2023 Posted December 26, 2023 5 hours ago, Luke said: @QAQrzIn this example did the subtitles not show up at all, or did they show up but without using the correct font? When playing on the web side of PC, the ass is displayed through the default font, and the corresponding font is installed in the system (the correct font can be displayed using the Windows client).
Luke 40082 Posted December 27, 2023 Posted December 27, 2023 So you're no longer having situations of the subtitles not showing at all?
QAQrz 6 Posted December 28, 2023 Posted December 28, 2023 6 hours ago, Luke said: So you're no longer having situations of the subtitles not showing at all? This is an occasional problem. Subtitles may occasionally not be displayed when transcoding due to unsupported playback devices or insufficient bandwidth. According to my observation, the built-in graphic subtitles and external ass subtitles are triggered more frequently.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now