+ Reply to Thread
Results 1 to 2 of 2

Thread: Looking for command line tool to convert srt to ass

  1. #1
    Member
    Join Date
    Jan 2009
    Location
    United States
    Posts
    303

    Looking for command line tool to convert srt to ass

    Are there any command line tools to convert srt files to ass? I see that I can convert my srt files to ass with aegisub. Can this be used for command line input?

    I have been slowly building batch files that allow me to dump a bunch of file in a directory and run one or two batch files to convert all the files to hardsub'd MPEG2 or XViD files. One of the last thing I am trying to address is the subtitle font/sizing. I haven't been successful in using Directvobsub to modify the defaults of vsfilter, so I am hoping to just switch to .ass files. I am hoping to find some sort of command line tool to feed the srt files that I stripped with ccextractor and output .ass files.
    Quote Quote  

  2. #2
    Member
    Join Date
    Jan 2009
    Location
    United States
    Posts
    303

    Re: Looking for command line tool to convert srt to ass

    I think I might have found a way to do this without a need for conversion to .ass.

    I found this post on doom9.

    It looks like I can make a default .style file that I can just copy for each .srt file. Style file looks like this:

    Code:
    ScriptType: v4.00+
    PlayResX: 384
    PlayResY: 288
    
    [V4+ Styles]
    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,16,&H00ffffff,&H0000ffff,&H00000000,&H80000000,0,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,1
    I can edit the defaults in there and they are actually applied with vsfilter in avisynth!
    Quote Quote  

+ Reply to Thread

Similar Threads

  1. Replies: 2
    Last Post: 23rd Feb 2010, 12:42
  2. Command line tool to demultiplex video
    By lovyagin in forum Editing
    Replies: 6
    Last Post: 20th Dec 2009, 12:43
  3. Comandline tool for ass 2 srt conversion?
    By andersols78 in forum Subtitle
    Replies: 0
    Last Post: 18th Nov 2009, 02:58
  4. Command line tool to take AVI samples
    By Dean C in forum Editing
    Replies: 6
    Last Post: 9th Sep 2008, 05:55
  5. Command line text overlay tool
    By lmundy in forum Linux
    Replies: 3
    Last Post: 13th Jul 2008, 13:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts