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
#2
No debug output, no real details -> no clue what you are really doing,...

What I did:
  • start Hybrid
  • load source mkv into Hybrid
  • add fonts to Hybrid:
    (needed since Hybrid did not extract the subtitles it self and otherwise wouldn't know where to find the fonts)
    • check where the temp folder for fonts is. (Config->Path->Infos->Font path)
    • copy the fonts to that folder so that Hybrid can find them
  • add subtitles:
    • make sure Base->Subtitle is enabled
    • select subtitle (Subtitle->Import->Subtitle Import->Subtitle file)
    • enable "Subtitle->Import->Subtitle Import->Embed subtitle in Frame"
    • add subtitle to subtitle queue ( "Subtitle->Subtitle Queue-> add current ...)
  • Check Vapoursynth script:
    • Filtering->Show Vapoursynth Script
      # Imports
      import vapoursynth as vs
      # getting Vapoursynth core
      core = vs.core
      # Loading Plugins
      core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
      # source: 'C:\Users\Selur\Desktop\DropMeFiles_L9QtO\clip.mkv'
      # current color space: YUV420P8, bit depth: 8, resolution: 1920x1080, fps: 24, color matrix: 709, yuv luminance scale: limited, scanorder: progressive
      # Loading C:\Users\Selur\Desktop\DropMeFiles_L9QtO\clip.mkv using LWLibavSource
      clip = core.lsmas.LWLibavSource(source="C:/Users/Selur/Desktop/DropMeFiles_L9QtO/clip.mkv", format="YUV420P8", cache=0, prefer_hw=0)
      # making sure input color matrix is set as 709
      clip = core.resize.Point(clip, matrix_in_s="709",range_s="limited")
      # making sure frame rate is set to 24
      clip = core.std.AssumeFPS(clip=clip, fpsnum=24, fpsden=1)
      # Setting color range to TV (limited) range.
      clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
      # Loading C:\Users\Selur\Desktop\DropMeFiles_L9QtO\clip.ass using SubText
      clip = core.sub.TextFile(clip=clip, file="C:/Users/Selur/Desktop/DropMeFiles_L9QtO/clip.ass", fontdir="I:/Hybrid/settings/fonts")
      # adjusting output color from: YUV420P8 to YUV420P10 for x265Model (i420@8)
      clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10, range_s="limited")
      # set output frame rate to 24.000fps
      clip = core.std.AssumeFPS(clip=clip, fpsnum=24, fpsden=1)
      # Output
      clip.set_output()
      (note that "I:/Hybrid/settings/fonts" is the temp folder where Hybrid has the temp fonts on my system)
      -> script looks fine
    • check Vapoursynth preview (Filtering->Vaporusynth preview)
      -> Subtitle show properly in the preview, no clue whether the styling is correct.
  • configure encoding settings and output
  • create job
  • start job
  • look at output
Output has embedded / hard coded subtitles.

Checked the .ass file and noticed, the subtitle names uses there didn't match the file names of the files you provided, so they weren't used and I didn't have to copy them.
If you use external fonts always check the preview and if the fonts in the preview are not what you expected check your .ass file.
(since your example doesn't use a font names 'FZYouHJW_508R' or 'Chinese fonts - FZYouHJW_508R' those subtitles will not be used)

-> No clue what you did, since you didn't share details, but this doesn't not look like a bug in Hybrid.

Cu Selur
Reply


Messages In This Thread
RE: after encoding ass into mp4, but there is no subtitle at all - by Selur - 09.07.2021, 05:15

Forum Jump:


Users browsing this thread: 1 Guest(s)