I have been looking into how I could possibly hardcode subtitles on a transparent box, so as to make them more visible on top of the videos I make. I have seen many different threads on the internet, but I must admit I just cannot understand how to run FFMPEG, so I thought I would stick with VirtualDubMod. I found one way which is the closest way I found to do it: The logo filter in VirtualDub. I have prepared a transparent box png file with Gimp, which is just the size of my video.
But unfortunately the box is coming on top of the subtitles, as you can see from the screenshot above.
Do any of you have any idea how I could solve this issue, or if there is any other way I could come to this goal?
Thank you so much.
+ Reply to Thread
Results 1 to 7 of 7
Did you try switching the order of the filters in VirtualDubMod? ("move up"/"move down")
Other than that: use ASS subtitle format. vsfilter can work as a VirtualDub filter IIRC. Or mux video + ASS into an mkv file and use VidCoder or HandBrake to hardcode them ("burn in"). The ASS can be created using Aegisub or Subtitle Edit (both call it "opaque box" in the style(s) menu).
SSA subs can do something like that, although it makes both the box and the subs themselves more and more translucent. If you want to try it, open the SSA file in Notepad.
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold,
Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
The boldfaced 3 creates the box around the subs and the boldfaced 100 is the number to change to make them more translucent. The higher the number, the more towards transparent they go. 100 seemed to me to be about the right amount. ASS subs are probably done similarly.
Hello to you both. Thanks for the help. To answer you sneaker, I actually did try moving up the filter "subtitler", but it did not do the trick. The format I am using is .ssa, I made it from Aegisub. I seem to understand, from your other suggestion, that it would require a two-step process anyway. I decided to first do a batch with the logo filter and another rendering with the hardcoding of the subtitles. The only problem with that is the time it takes and the potential loss of quality. But it doesn't look too bad at the moment.
Yes manono, I realised that there was this option as well, but I really wanted to have a large box spanning the width, to make the video secondary and the subtitles primary on the picture. Thank you for your time though, I appreciate it
sneaker, could you tell me more about this vsfilter possibility? I am not familiar with that.
VirtualDub\plugins\vsfilter.vdf and it should show as "TextSub" filter in VirtualDub to load ASS/SSA subtitles.
I don't know if there is a simpler way to create a full-width black box but maybe it helps:
Or you try your logo suggestion again (or a similar AviSynth filter). Try actually encoding, not just the preview. Also make sure you haven't set your subtitles to be transparent.
Last edited by sneaker; 11th May 2017 at 06:29.