I'm trying to convert a 15:9 Xvid with srt subs into a 16:9 dvd with hardcoded subs, keeping the correct AR.
I've made a script with the help of fitcd to resize/add borders and it works great. And the script i have added at the bottom to hard encode the subs works. (Tested using HCgui)
BUT the subs are really big and dominate the screen and i can't see how to make them smaller.
Here's my script
# -= AviSynth v2.5.8.0 script by FitCD v1.2.8 =-
AVISource("C:\myXviD.avi", audio=false)
LanczosResize(656,576,0,0,640,384)
AddBorders(32,0,32,0)
LoadPlugin("C:\VSFilter.dll")
TextSub("C:\myXviD.srt", 1)
#Trim(0,178316).FadeOut(150)
Can anyone help please?
+ Reply to Thread
Results 1 to 12 of 12
-
-
Probably easiest to convert the srt to ssa and you can adjust the size in the ssa. See https://forum.videohelp.com/topic354972.html
-
1- install ffdshow and make sure you activate/select teh subtitles option when the codecs screen comes up in the ffdshow installation, the subtitles option is at the end
2- create folder named test in c:\ and put video and sub inside it making sure both have same name
3 - create following avs in c:\
4- open the avs in MPC youll notice a red square next to clock on your desktop, double click it and find the subtitles options and change the values and youŽll see the changes in realtime while viewing the video on MPCCode:AVISource("C:\test\myXviD.avi", audio=false) LanczosResize(656,576,0,0,640,384) AddBorders(32,0,32,0)
5- save settings and convert the avs
Sounds complicated but it isntI love it when a plan comes together! -
theres also a much easier solution:
http://forum.doom9.org/showthread.php?t=98681
both methods work, altough i prefer the realtime preview with the first methodI love it when a plan comes together! -
Thanks baldrick (as always) and Ricardo. Spent ages searching on google but i didn't find the link baldrick posted
(
I had tried the ssa route using conversor and kept getting errors. And subresynch wouldn't even open. So i reinstalled vobsub and found there was also a fix for users with IE8 installed posted by striker9 on the download page:
http://css.setti.info/~perplexer/vobsub/vobsub223fix.zip
Anyway, after reinstalling vobsub and the fix i was able to use subresynch to follow both methods you suggested. I'm sure the ffdshow route works too.
Thanks again -
Originally Posted by Bully9
http://avisynth.org.ru/docs/english/externalfilters/vsfilter.htm
Besides SSA (Sub Station Alpha) TextSub can deal with SRT (SubRip), SUB (MicroDVD), PSB (PowerDivx), SMI (SAMI), ASS (Advanced Substation Alpha).
To override the default style you can use a second file named e.g. "your_file.ssa.style" (the first file + ".style") which must be in SSA or ASS syntax an contains only formatting information (makes only sense when NOT using SSA/ASS).
....
SSA syntax
If you want to set the format manually here is the basic SSA syntax.
...
Fontsize:
-
already talked about it:Originally Posted by AlanHK
Originally Posted by ricardoukI love it when a plan comes together! -
So I shouldn't have posted?Originally Posted by ricardouk
My link was to the actual spec that told you exactly how to do it, so maybe my post was helpful. -
I just sai: "already talked about it".Originally Posted by AlanHK
You havent told me anything new about creating the styles, thank you for the specs link.Originally Posted by AlanHKI love it when a plan comes together! -
Originally Posted by ricardouk
Do you think I was trying to upstage you?
I was replying to the original post. I was not trying to tell you anything. -
No AlanHK, nevermind this is due to the language barrier, theres things that will makes us think something when what i really mean is the opposite.
Everything is fine
its not the first time that i try to adapt a expression to english and its misunderstood.
I love it when a plan comes together! -
The other day I encoded some srt subtitles using VSFilter and AVISynth. Because there was a lot of subtitles, I considered using AddBorders() so I could put the subtitles over the borders rather than the picture. For some reason when I did, the subtitle text increased in size (it was too large). When I removed AddBorders() from the script the subtitle text returned to normal size.
I didn't make an effort to work out why, or if there was a way to fix the size of the subtitle text, as I changed my mind and decided not to use AddBorders() in the end, but for reasons I don't understand AddBorders() was messing with the size of the subtitle text.
Similar Threads
-
Need Help with My AviSynth Script
By Enkidu in forum Newbie / General discussionsReplies: 3Last Post: 21st Jan 2011, 22:37 -
Avisynth Script - Personal Subtitles hardcoding...
By elmuz in forum Newbie / General discussionsReplies: 0Last Post: 9th Nov 2010, 12:12 -
Cutting subtitles with Avisynth script...?
By Kalekulan in forum SubtitleReplies: 0Last Post: 8th Jun 2010, 15:34 -
Avisynth Script Help
By jamhat in forum Video ConversionReplies: 2Last Post: 29th Nov 2009, 07:13 -
Avisynth script
By daz2712 in forum Video ConversionReplies: 2Last Post: 19th Aug 2009, 12:08



Quote