I tried hard coding Telugu subtititles using FFMPEG. But the not able to get the font correct.
I tried using the Hand brake. Command line interface
HandBrakeCLI -i 5.mp4 -o file.115.mp4 --preset="Normal" --srt-file 5.srt --srt-codeset UTF-8 --srt-burn
With Hand brake we are able to get the font correct ie able to read telugu properly
I could not find an option to increase the font size.
More over the video quality was changed to 250 P from the original video at 360 P
subtitle comes little blurry ? not clear and sharp scripts.
Can any one kindly suggest me how to increase the font size and keep the video pixes at 360 P or 480 P
+ Reply to Thread
Results 1 to 14 of 14
I think the problem with resizing video is in preset normal. And IMHO you can't do much with subtitles in Handbrake, just coding and language, didn't found anything about size of font settings. Probably you can convert them to some other format, that include font size itself, and Handbrake understand it. Probably ass/ssa or similar.
Edit: so conclusion, use GUI to control size of video, otherwise it will be resized and affected most probably with VFR.
Last edited by Bernix; 13th Jan 2018 at 10:22. Reason: EDIT and correction
Sorry, i don't like cli. But in Subtitle edit you can convert srt to ssa and change size of ssa subtitles. Probably there is cli or batch subtitle conversion, but don't know about it.
And Handbrake has Batch function in gui, so if you properly setup your presets, don't change video size and other things, it can run without touch anything probably whole year. One file finished second started and so on.
So Hardcoded subtitles in Handbrake with customized size of font, there is mentioned ssa subtitles containing size should be respected. So try find some subtitle software supporting batch processing from srt to ssa where you can set font size for ssa subtitles.
Probably you can do this after conversion in pspad, find and replace string in files (changing ssa subtitles size) don't know for sure.
Sir, in SSA how do we increase the font size.
Is it just increase the fontsize of all the text in the file or
or Just change the value 16 to 24
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: Default,Arial Narrow,16,&H00FFFFFF,&H00010101,&H00010101,&H10000 000,-1,0,0,0,100,100,0,0.00,1,2,0,2,0,0,19,0
What would be cli command or the same.
I used the following command and it didnot do any thing
HandBrakeCLI --input 851.mp4 --output h851_4.mp4 --width 1920 --height 1080 --aencoder copy:aac --encoder x264 --encoder-level 4.2 --preset="High Profile" --encoder-preset VeryFast --quality 20 --srt-file 851.ssa --srt-codeset UTF-8 --srt-burn
as I wrote before, I don't know anything about Handbrake CLI. But on start of subtitles, when you converted them in Subtitle edit to sub station alpha format, size of subtitles is set to 24. I changed them to 64 and played in potplayer windowed (size 64), and it was over whole screen.
I'm not sure how to use ssa in cli, but seems to me be weird --srt-file 851.ssa --srt-codeset UTF-8 --srt-burn I would expect using ssa there, but probably you are right, really dont know. But when I click in GUI to import srt, ssa are not listed there. Only srt available, and this imply that something has to be changed in your command line.
Back to your 1. question, yes, the fontsize is the key. probably 16 is good enough for 360p, but when I saved srt as ssa it saved it with size 24 (probably big for 360p)
Style: Default,Arial Narrow,16,&H00FFFFFF,&H00010101,&H00010101,&H10000 000,-1,0,0,0,100,100,0,0.00,1,2,0,2,0,0,19,0 the bold underlined is what interested you.
SSA should be supported according to https://handbrake.fr/docs/en/latest/advanced/subtitles.html
There isn't aas mentioned. Just SSA, but not example of command.
BernixVideo Avidemux, Mkvtoolnix, Subtitle edit, Vidcoder. Other software that I love :Animation: Opentoonz, Painting: Krita, Video capture: OBS studio, Video player: Potplayer, TV recording: VLC, NLE: KDEnlive
Appreciate all your help. videoburger using all your suggestions and comments solved my problem.
I am able to get the telugu subtitles to the font size of my interest with out any issues.
Appreciate all those who helped me to come out of the predicament i am facing