[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 / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Batch style edit in ass subtiles
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

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

Thread replies: 4
Thread images: 1
File: 24227-54d007c82ce05-l.jpg (65 KB, 600x600) Image search: [Google]
24227-54d007c82ce05-l.jpg
65 KB, 600x600
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

banner
banner
[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 / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.