-
Notifications
You must be signed in to change notification settings - Fork 79
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
Command option to change font size #41
Comments
Good idea, this can be included in the CLI improvements. In fact, it's quite easy to do at the first set conversion, by modifying the ASS header in the generation. However, if the ASS already exists, then we will have to modify the default style in the existing ASS. |
I think we can modify it in the engine struct. Bypassing an argument to the engine. |
Tried to look at it quickly, and all I could find is the modification of the subtitles file, for both FFMPEG and mkvmerge. I guess that's mainly because of the way the mkv format works. This line in ASS.cs, right after the |
Okay, I see. But we should fix the issue with duplicate subfile (txt and srt) first. After that adding font size is pretty simple. |
I think the following subtitle styles are more appropriate. There is still a little difference in shadow and text spacing, but it doesn't matter. Change - Style: Default,{_fontname},18,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100.0,100.0,0.0,0.0,1,0,0.5,2,10,10,20,1
+ Style: Default,{_fontname},12,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100.0,100.0,0.0,0.0,1,0,0.5,2,14,14,14,1 Comparison: |
Yeah. But there is a problem is when you convert subtitles to ass. It will cache in your subtitles folder, so I'm finding some way to remove it if the font size change |
Maybe that's your video player's problem. |
I think he meant that once you already converted the subs in .ass, you can't change the font size (and other things) by the command line. Which would be an improvement. |
I see. |
Thinking about it, yes that's not really convenient. An idea would be to create a "subs" folder with a folder structure similar to the Would it require to have an option in the command line/settings file to indicate the path of it to make it configurable to the user ? However, a problem I can see is if some subtitles change in the main repository. But that could be avoided by adding an option to force update the subs and therefore rebuild the .ass files. |
Create If user wants to custom one video subtitle style, he needs to modify at least 13 files manually and tediously. A solution is define a optional For example: "SubsStyle": "Style: Default,{_fontname},12,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100.0,100.0,0.0,0.0,1,0,0.5,2,14,14,14,1" |
like the title, I hope the feature change font size because the subtitle is still a bit large.
I will try to look into it when I have time
The text was updated successfully, but these errors were encountered: