Log in

View Full Version : A script for archiving tv series


hhanh00
7th June 2006, 02:42
I made a perl script for decrypting/audio+video encoding/sub extraction/mux/renaming.
It's targeted towards archiving the episodes of a TV show from DVD source.
For example, the following config file


<jobs outdir="E:\NR3_2">
<job directory="E:\NR3_2" vts="01" name="default" src="f:" >
<video dar="4:3">
<ivtc ff ="true"/>
<crop left = "8" right = "8" top = "0" bottom = "0"/>
</video>
<audio cbr="128" name = "audio1" channels="2" />
<audio cbr="64" name = "audio2" channels="2" />
</job>
<job pgc="3" name="Newsradio - 03x09 - The Trainer"/>
<job pgc="4" name="Newsradio - 03x10 - Rap"/>
<job pgc="5" name="Newsradio - 03x11 - Led Zeppelin Boxed Set"/>
<job pgc="6" name="Newsradio - 03x12 - Complaint Box"/>
<job pgc="7" name="Newsradio - 03x13 - Rose Bowl"/>
<job pgc="8" name="Newsradio - 03x14 - Kids"/>
<job pgc="9" name="Newsradio - 03x15 - Airport"/>
<job pgc="10" name="Newsradio - 03x16 - Twins"/>
</jobs>


will read the dvd placed in drive f: and process the various episodes.
At the end, you'll get in E:\NR3_2 a mp4 file per episode and its subs:

E:\NR3_2\Newsradio - 03x09 - The Trainer.mp4
E:\NR3_2\Newsradio - 03x09 - The Trainer.idx
E:\NR3_2\Newsradio - 03x09 - The Trainer.sub
...

It's very crude but once it's setup I found it useful for those pesky multi PGC dvds. Maybe someone else would find it useful too.