VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 18 of 18
Thread
  1. Hi there,
    I have a .ass file containing subtitles for episodes of Engine Sentai Go-Onger. The only problem is that the only version of the actual episodes I have are avi files with different subs hard-coded into the video. I want to use the subs from the .ass file because they are better. So I decided that I want to add a black background to the subs in the .ass file so that I can play them on top of the ones hard-coded into the avi's.

    The problem is, I can't figure out how to do so. I've tried a bunch of different subtitle programs, but I can't seem to find one that can do it. So, could someone point me towards a program that can do it? I'm on an intel Mac with 10.6.8 (aka, Snow Leopard).

    Thanks
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Virtualdub with the vsfilter plugin.
    Quote Quote  
  3. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Missed that you use mac. THen can you try avidemux. it can add black borders and ass subtitles. I don't know how well it works in snow leopard though.
    Quote Quote  
  4. Thanks for the recommendations, but avidemux can't open the .ass file.
    Quote Quote  
  5. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Ignore everything I wrote...I was thinking of hardcoding subs with black background.


    Have you tried Aegisub?
    Quote Quote  
  6. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    Yes, try the Mac version of Aegisub. Keep in mind, though, that they consider the Mac version to be 'alpha quality' software, and indeed, it may or may not work for you.
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  7. yes, I've tried it. I couldn't find the option to do so when playing around with it, though. If I'm just being a moron and it's there, if you could point me towards it, that would be great.
    Quote Quote  
  8. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    You're trying to create text with a solid black square/rectangular background, like you might see with closed captions, right?

    I think it can be done with Aegisub, but I don't know how. I did find something else that might work, with a little experimentation:

    The '\bord(value) command allows you to define the border around the subtitle text. Increasing it might provide something similar to what you're looking for:

    Code:
    {\bord12.0}This is a test.
    Name:  1.png
Views: 20449
Size:  3.1 KB

    You can experiment with the value to increase or decrease the size around the text. The command has to be placed at the beginning of each line you want it to affect, though. You may also need to experiment with the line and character spacing, as a result.

    For more details: http://docs.aegisub.org/manual/ASS_Tags
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  9. ya, that's pretty much what I'm trying to do. That way, I can play this set of subtitles over the ones that are hard-coded into the video.

    That method could work as a last resort, but I was hoping a program, be it aegisub or some other program, had an easier way of doing it, as it would take a long time to add that tag to every line of dialogue in an episode.
    Quote Quote  
  10. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    I haven't found anything, yet (maybe if you had Aegisub use a block font where the characters actually did have a black background... ), but I'll keep looking.
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  11. hmm, that could work. I wasn't aware that fonts like that existed. Could you name one?
    Quote Quote  
  12. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    Offhand, no. You might look around on a fonts site, and see if there's anything that might match what you're looking for.

    Another Aegisub approach - you can create a style that will have a similar effect with the outline/border. I'm not sure if you can have more than one style for a given line, though (haven't experimented with it, much), so work on a copy of the original ASS, especially since this is more or less a brute-force approach.

    Load your subtitles (and the video, or create a dummy video, if you prefer). Select all of the lines.
    Click on Subtitles (the menu) > Styles Manager...
    In the Styles Manager, click the New button below the Current Script list. A new window will pop up (the Styles Editor). In the editor, give your new Style a name, then put a checkmark next to "Opaque box" in the Outline section on the right side. Change the Outline: value, if you want, and click Apply to see how it will look with the example text. You may also want to edit the font, font size, font style values as well, since this method currently overwrites all other Styles. Click OK on both the Editor and the Manager, when you're done.

    With all of the dialogue lines still highlighted, click on the dropdown next to the "Comment" checkbox above the text-editing pane, and set it to your new Style. You can preview the subtitles, if you want, and/or save them to a new file and test them with the video.

    Most likely, it'll still require quite a bit of work.
    (I also had to do most of the experimenting this round on the Windows version (on a different system), as Aegisub was (still) acting rather screwy on my Mac (also 10.6.8), and throwing a bunch of wxWidgets errors. )
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  13. Member
    Join Date
    Sep 2007
    Location
    Brazil
    Search Comp PM
    Hello, everyone! (^_^)

    Originally Posted by Ai Haibara View Post
    Offhand, no. You might look around on a fonts site, and see if there's anything that might match what you're looking for.

    Another Aegisub approach - you can create a style that will have a similar effect with the outline/border. I'm not sure if you can have more than one style for a given line, though (haven't experimented with it, much), so work on a copy of the original ASS, especially since this is more or less a brute-force approach.

    Load your subtitles (and the video, or create a dummy video, if you prefer). Select all of the lines.
    Click on Subtitles (the menu) > Styles Manager...
    In the Styles Manager, click the New button below the Current Script list. A new window will pop up (the Styles Editor). In the editor, give your new Style a name, then put a checkmark next to "Opaque box" in the Outline section on the right side. Change the Outline: value, if you want, and click Apply to see how it will look with the example text. You may also want to edit the font, font size, font style values as well, since this method currently overwrites all other Styles. Click OK on both the Editor and the Manager, when you're done.

    With all of the dialogue lines still highlighted, click on the dropdown next to the "Comment" checkbox above the text-editing pane, and set it to your new Style. You can preview the subtitles, if you want, and/or save them to a new file and test them with the video.

    Most likely, it'll still require quite a bit of work.
    (I also had to do most of the experimenting this round on the Windows version (on a different system), as Aegisub was (still) acting rather screwy on my Mac (also 10.6.8), and throwing a bunch of wxWidgets errors. )
    I don't have a Mac, so I'm not sure if this will work the same way as it does on Windows.

    One of the easiest ways to get this effect (the actual subtitles appearing inside a black box) in Aegisub is to use layers. You put a line of blocky characters (like these: ████████) on layer 0. Adjust font attributes (size, color, transparency, etc) and line length according to your needs. Also, if you intend to use this black box for long periods of time, just set the start and end times accordingly. This blocky character is available in several different fonts (arial, for example), so check if you have one installed. Next, on layer 1, put your regular subtitles. Rinse and repeat.

    Load the attached sample in Aegisub (unzip it first) and see if it works. Once you have adjusted the style for the black box, you can save it into Aegisub's styles storage and use it whenever you need it.
    Image Attached Files
    Quote Quote  
  14. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    As far as I can tell, it should be roughly the same across all three versions (Windows, Mac, Linux). I normally use it under Windows, but wouldn't mind being able to use it on all my systems - except the OS X version tends to be rather unstable for me to use, and I can't use the Linux version at the moment, because of the way my Linux distro is set up.

    Do you know if you can have more than one Style per line?
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  15. You can create a new style with the same properties and tick "Opaque box" option. After that, select the lines you want and change their style to the newly created (using Styling Assistant) and you'll have a black background behind the text.

    I have a question though. Is it possible to make the box transparent? Thank you in advance.
    Quote Quote  
  16. Originally Posted by Ranching View Post
    I have a question though. Is it possible to make the box transparent? Thank you in advance.
    Wouldn't the effect be the same as having a 0 pixel outline color?
    Quote Quote  
  17. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    If the ASS file is correct (timing, etc.) and you just wish to add the black background, you can just edit the ASS file directly with notepad (or a Mac word processor)and change the Borderstyle to 3:

    [Script Info]


    [V4 Styles]
    Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
    Style: Default,Arial,20,16777215,255,0,0,0,0,3,2,2,2,10,10,10,0,1

    That should produce the desired effect as shown below:

    Click image for larger version

Name:	ScreenHunter_38 Nov. 11 00.19.jpg
Views:	10324
Size:	46.6 KB
ID:	21175
    Quote Quote  



Similar Threads