-
Notifications
You must be signed in to change notification settings - Fork 82
[BUG/QUESTION]: Fonts path being passed on attachment on file #790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Uhhh, I think in ./modules/module.merger.ts if you change line 171 to this: args.push(`-attach ${font.path} -metadata:s:t:${fontIndex} mimetype=${font.mime} filename="${font.name}"`); It should instead set each one to the font name which would be equal to what the mkvmerge merger does, I'm not entirely sure why this wasn't already how it was |
Thanks for the quick response, I'll try the change and come back with the result. |
Recompiled but now getting the error
Full command generated is as follow |
So after messing around with the code i've found out that FFmpeg was interpreting filename=${font.name} as a file output so i passed
Whole line is |
Fixes file paths being passed to ffmpeg when merging subtitles. #790
Program version
5.1.5
Operating System
Windows
Type
CLI
Service
Crunchyroll
Command used
--service crunchy --series G7PU3PVJ9 --episode 1-9
Show ID
G7PU3PVJ9
Episode
1
Console Output
Additional Information
cli-default.yml is as follow:
So when ffmpeg adds the fonts file, the path is added too, is there a way to omit the path?
The text was updated successfully, but these errors were encountered: