The following warnings occurred:
Warning [2] Undefined array key 1 - Line: 313 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 313 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 314 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 314 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "" - Line: 327 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 327 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once



This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] after encoding ass into mp4, but there is no subtitle at all
#11
already check on the two options:

Prefer VsFilterMod
Always use Vapoursynth


you said when you encoded done, you got the good result, is the same like MKV with ASS? why you don't have the subtitle renderer issues?
Reply
#12
MPC-HC is not playing the reencode, but the original file you shared with me, reencode looks different depending on the renderer (= same as the preview).
They all look different. Smile

This is how it looks to me:
[Image: subtitle-placement.png]


Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#13
Here's another comparison using all the ass-renderes for Vapoursynth I know:
[Image: Subtitle-Renderer.png]
tag pic

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#14
the position of the two below seem right, but their fonts are not right.

on top of the two, fonts effects are good, but position are not good.

is there a way to keep the position of the two below, and using fonts rendering effects of the top two?


and i using shanaEncoder to preview, is like this, so how to solve, make encode like as potplayer.

[Image: RxHm4K.jpg]







finally i find a way to fix, convert ass to sup, then encode sup with mkv, export to MP4, done. the effect and position are right, you can have a try to see and research.

but why encode ASS directly can not? hope there is a way to solve.
Reply
#15
Lower left is 'vsfm.TextSubMod' which Hybrid uses when the 'Prefer VsFilterMod'  (https://github.com/sorayuki/VSFilterMod) is enabled.
It should render the files correctly assuming the font names in the .ass file are correct and it finds the files.

Looking at the .ass file you provided, the styles used are '头文字D 电影' and 'engF' which correspond to:
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: 头文字D 电影,方正悠黑简体 508R,13.5,&H00FBFFFF,&H000000FF,&H00E8E8E8,&H05000000,-1,0,0,0,90,100,0,0,1,0,2,2,10,10,44,134
Style: EngF,Arial Unicode MS,12.5,&H00FBFFFF,&H00FFFFFF,&H00E8E8E8,&H00000000,0,0,0,0,90,110,0,0,1,0,2,2,5,5,13,134
so then I looked at the tff files and what the proper font names were and adjusted the file names accordingly and copied the new files to into my Windows/Fonts-folder:
'English fonts - Arial Unicode MS.ttf' -> 'Arial Unicode MS.ttf'
'Chinese fonts - FZYouHJW_508R.ttf' -> 'FZYouHeiS 508R.ttf'
copied into my Windows/Fonts-folder.
Additionally I adjusted the font name in the .ass file from '方正悠黑简体 508R' to 'FZYouHeiS 508R' and got:
[Image: with-proper-names.png]

So all in all if you had not messed up:
a. the file names
b. the font name in the .ass
using 'Prefer VsFilterMod' would have worked. (Like it does here once I named the files and fonts properly.)

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#16
so i have to rename '方正悠黑简体 508R' in ASS to 'FZYouHeiS 508R', is it true? but in aegisub, the font displays '方正悠黑简体 508R' to choose.


in your pic, the best render effect is the lower right, watch carefully, the question mark at the end is look little better than the lower left. a little more smooth.

how to encode like your lower right effect? my potplayer play can not achieve this smooth.

[Image: with-proper-names.png]
Reply
#17
The name must be the same as the font name.
I checked the font name using IrfanView, but you can also copy the ttf into your Windows\Fonts folder, den double click on the font to see the font name. The font name is what needs to be used.
No clue what Aegisub does, but at least here '方正悠黑简体 508R' isn't the name of the font, but it might work with that name on your system.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#18
OK, so how to encode like your lower right effect? Even my potplayer plays can not achieve this smooth.
Reply
#19
If you want the effect of the lower right you have to manually adjust the Vapoursynth script using the custom option, since Hybrid does not support the xy-VSFilter renderer.
You wound need to download the dll, extract it and use something like
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SubtitleFilter/xy-VSFilter/xy-VSFilter.dll")
clip = core.xyvsf.TextSub(clip=clip, file="C:/Users/Selur/Desktop/DropMeFiles_L9QtO/clip.ass")
in a custom code section.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#20
oh no, i don't know how to do that, especially about code.

the effect of the lower right is so good, watch english carefully, almost every letter's edge is better, more smooth than any others.

to get this effect, does it need to add this to custom section everytime when encoding?

core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SubtitleFilter/xy-VSFilter/xy-VSFilter.dll")
clip = core.xyvsf.TextSub(clip=clip, file="C:/Users/Selur/Desktop/DropMeFiles_L9QtO/clip.ass")



is there a way to make my potplayer to display the same effect? could you find more easy way to make Hybrid to use this? if hybrid can encode like this, it will be best.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)