<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.animeownage.de/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://wiki.animeownage.de/index.php?action=history&amp;feed=atom&amp;title=Prass_%28Command_Line_Timing_Post_Processor%29</id>
		<title>Prass (Command Line Timing Post Processor) - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.animeownage.de/index.php?action=history&amp;feed=atom&amp;title=Prass_%28Command_Line_Timing_Post_Processor%29"/>
		<link rel="alternate" type="text/html" href="https://wiki.animeownage.de/index.php?title=Prass_(Command_Line_Timing_Post_Processor)&amp;action=history"/>
		<updated>2026-04-30T11:28:26Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in WiFX - The Karaoke Wiki for ASSCalc, NyuFX, Lua, AFX, Tenfex &amp; Templater</subtitle>
		<generator>MediaWiki 1.24alpha</generator>

	<entry>
		<id>https://wiki.animeownage.de/index.php?title=Prass_(Command_Line_Timing_Post_Processor)&amp;diff=53485&amp;oldid=prev</id>
		<title>OutlawJonas: Die Seite wurde neu angelegt: „== What? ==  Console processor for ASS subtitles.  Feature requests and any kind of feedback are welcome.   == Why? ==  Imagine you've got a few dozens of subt…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.animeownage.de/index.php?title=Prass_(Command_Line_Timing_Post_Processor)&amp;diff=53485&amp;oldid=prev"/>
				<updated>2015-06-11T03:47:54Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „== What? ==  Console processor for ASS subtitles.  Feature requests and any kind of feedback are welcome.   == Why? ==  Imagine you&amp;#039;ve got a few dozens of subt…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== What? ==&lt;br /&gt;
&lt;br /&gt;
Console processor for ASS subtitles.&lt;br /&gt;
&lt;br /&gt;
Feature requests and any kind of feedback are welcome.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Why? ==&lt;br /&gt;
&lt;br /&gt;
Imagine you've got a few dozens of subtitle files and you want to apply TPP to each of them, and maybe also restyle one of the files and use the same group of styles for everything else. This script allows you to easily do it from console so you don't have to suffer with Aegisub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
The main script is called prass.py and it provides a few commands for working with subtitles.&lt;br /&gt;
&lt;br /&gt;
  # to convert subtitles from SRT to ASS&lt;br /&gt;
   prass convert-srt input.srt -o output.ass&lt;br /&gt;
  # to copy styles from one ASS script to another&lt;br /&gt;
   prass copy-styles --from template.ass --to input.ass -o output.ass&lt;br /&gt;
  # to sort an ASS script&lt;br /&gt;
   prass sort input.ass --by time -o output.ass&lt;br /&gt;
  # to run tpp&lt;br /&gt;
   prass tpp input.ass -s default,alt --lead-in 100 --lead-out 200 --keyframes kfs.txt --fps 23.976 --kf-before-start 150 --kf-after-start 150&lt;br /&gt;
  # to cleanup a script&lt;br /&gt;
   prass cleanup --comments --empty-lines --styles input.ass -o output.ass&lt;br /&gt;
  # to shift start time back by 1 minute and 10 seconds&lt;br /&gt;
   prass shift --start --by -1:10 input.ass -o output.ass&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some parameters are not mentioned - just run prass --help or prass %command% --help to see the full docs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pipes ==&lt;br /&gt;
&lt;br /&gt;
Prass more or less supports pipes and allows you to do fun stuff like&lt;br /&gt;
&lt;br /&gt;
prass convert-srt input.srt | prass copy-styles --from template.ass | prass sort --by time | prass tpp --overlap 150 --gap 150 -o out.ass&lt;br /&gt;
&lt;br /&gt;
If you don't provide some file arguments, most commands will use stdin/stdout by default. They will also do this if you provide &amp;quot;-&amp;quot; as file paths.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Prass should work on OS X, Linux and Windows without any problems, both on Python 2.7.x and Python 3.x (but py2 is preferable). Right now the only dependency is Click. Assuming you have python and pip, just run:&lt;br /&gt;
&lt;br /&gt;
   pip install git+https://github.com/tp7/prass&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
&lt;br /&gt;
https://github.com/tp7/prass&lt;/div&gt;</summary>
		<author><name>OutlawJonas</name></author>	</entry>

	</feed>