[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vip /vp / vr / w / wg / wsg / wsr / x / y ] [Search | Home]
4Archive logo
Batch style edit in ass subtiles
If images are not shown try to refresh the page. If you like this website, please disable any AdBlock software!

You are currently reading a thread in /wsr/ - Worksafe Requests

Thread replies: 4
Thread images: 1
I need a software to edit certain "subtitle style" in batch form. I can edit certain style in subtitle edit soft and change all the lines with that style but I don't know how to edit a "style" and change that style in 10 subtitles at the same time

What to do ?
>>
>>33655
Use a text editor that allows string replacing between all the open documents (for example, geany).

Alternatively, just iterate a string replace through bash.
>>
>>33655
I use this to batch-edit MKVs.

You'll need to do a bit of modification to edit the styles instead of the text, but it should be simple enough.

http://pastebin.com/8xp8EwMX
>>
what type of subtitles are we talking about? considering you're talking about styles, i'm guessing ass/ssa? just open them in a text editor. one of the first blocks of text defines the various styles with a name, font, size, color, etc. if you want to change the style, just edit that one line that defines the style and it will apply to all lines of that style.

here's an example i pulled out of one of my subtitles created with Aegisub (this is the third block of text):
[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,36,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,1

so if you want to change Fontsize, you'd have to edit "36" to something else.

batch replace across multiple files also works in Notepad++ (which i would call the most widely spread text edtior for Windows which a lot of people actually like).
Thread replies: 4
Thread images: 1
Thread DB ID: 425923



[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vip /vp / vr / w / wg / wsg / wsr / x / y] [Search | Home]

[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vip /vp / vr / w / wg / wsg / wsr / x / y] [Search | Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the shown content originated from that site. This means that 4Archive shows their content, archived. If you need information for a Poster - contact them.
If a post contains personal/copyrighted/illegal content, then use the post's [Report] link! If a post is not removed within 24h contact me at [email protected] with the post's information.