VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. 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?
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Probably easiest to convert the srt to ssa and you can adjust the size in the ssa. See https://forum.videohelp.com/topic354972.html
    Quote Quote  
  3. Member ricardouk's Avatar
    Join Date
    Mar 2005
    Location
    Portugal
    Search Comp PM
    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:\
    Code:
    AVISource("C:\test\myXviD.avi", audio=false)
    LanczosResize(656,576,0,0,640,384)
    AddBorders(32,0,32,0)
    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 MPC

    5- save settings and convert the avs

    Sounds complicated but it isnt
    I love it when a plan comes together!
    Quote Quote  
  4. Member ricardouk's Avatar
    Join Date
    Mar 2005
    Location
    Portugal
    Search Comp PM
    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 method
    I love it when a plan comes together!
    Quote Quote  
  5. 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
    Quote Quote  
  6. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by Bully9
    BUT the subs are really big and dominate the screen and i can't see how to make them smaller.

    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:
    Quote Quote  
  7. Member ricardouk's Avatar
    Join Date
    Mar 2005
    Location
    Portugal
    Search Comp PM
    Originally Posted by AlanHK
    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 ricardouk
    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 method
    I love it when a plan comes together!
    Quote Quote  
  8. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by ricardouk
    already talked about it:
    So I shouldn't have posted?

    My link was to the actual spec that told you exactly how to do it, so maybe my post was helpful.
    Quote Quote  
  9. Member ricardouk's Avatar
    Join Date
    Mar 2005
    Location
    Portugal
    Search Comp PM
    Originally Posted by AlanHK
    So I shouldn't have posted?
    I just sai: "already talked about it".

    Originally Posted by AlanHK
    My link was to the actual spec that told you exactly how to do it, so maybe my post was helpful.
    You havent told me anything new about creating the styles, thank you for the specs link.
    I love it when a plan comes together!
    Quote Quote  
  10. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by ricardouk
    I just sai: "already talked about it".

    You havent told me anything new about creating the styles, thank you for the specs link.

    Do you think I was trying to upstage you?

    I was replying to the original post. I was not trying to tell you anything.
    Quote Quote  
  11. Member ricardouk's Avatar
    Join Date
    Mar 2005
    Location
    Portugal
    Search Comp PM
    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!
    Quote Quote  
  12. 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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!