[xiph-commits] r4030 - itext/elephants_dream

silvia at svn.annodex.net silvia at svn.annodex.net
Mon Sep 21 05:45:49 PDT 2009


Author: silvia
Date: 2009-09-21 05:45:49 -0700 (Mon, 21 Sep 2009)
New Revision: 4030

Added:
   itext/elephants_dream/kate_encode.sh
Log:
Kate transcoding script.


Added: itext/elephants_dream/kate_encode.sh
===================================================================
--- itext/elephants_dream/kate_encode.sh	                        (rev 0)
+++ itext/elephants_dream/kate_encode.sh	2009-09-21 12:45:49 UTC (rev 4030)
@@ -0,0 +1,78 @@
+#!/bin/bash
+
+# Transcode all srt files that are not in UTF-8 first
+# kateenc will not accept anything but UTF-8
+iconv -f ISO-8859-1 -t UTF-8 elephant.afrikaans.srt > elephant.afrikaans-utf8.srt
+iconv -f WINDOWS-1256 -t UTF-8 elephant.arabic.srt > elephant.arabic-utf8.srt
+cp elephant.bangla.srt elephant.bangla-utf8.srt
+iconv -f WINDOWS-1252 -t UTF-8 elephant.breton.srt > elephant.breton-utf8.srt
+iconv -f WINDOWS-1251 -t UTF-8 elephant.bulgarian.srt > elephant.bulgarian-utf8.srt
+cp elephant.catalan-utf8.srt elephant.catalan.srt
+iconv -f GB18030 -t UTF-8 elephant.chinese.srt > elephant.chinese-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.czech.srt > elephant.czech-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.danish.srt > elephant.danish-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.dutch.srt > elephant.dutch-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.english.srt > elephant.english-utf8.srt
+iconv -f WINDOWS-1252 -t UTF-8 elephant.estonian.srt > elephant.estonian-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.finnish.srt > elephant.finnish-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.french.srt > elephant.french-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.german.srt > elephant.german-utf8.srt
+iconv -f ISO-8859-7 -t UTF-8 elephant.greek.srt > elephant.greek-utf8.srt
+iconv -f WINDOWS-1252 -t UTF-8 elephant.hebrew.srt > elephant.hebrew-utf8.srt
+cp elephant.hungarian-utf8.srt elephant.hungarian.srt
+cp elephant.italian.srt elephant.italian-utf8.srt
+cp elephant.japanese.srt elephant.japanese-utf8.srt
+iconv -f EUC-JP -t UTF-8 elephant.japanese-euc.srt > elephant.japanese_euc-utf8.srt
+cp elephant.maltese_utf8.srt elephant.maltese-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.norwegian.srt > elephant.norwegian-utf8.srt
+cp elephant.polish.srt elephant.polish-utf8.srt
+cp elephant.portuguese.srt elephant.portuguese-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.brazilian.srt > elephant.brazilian-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.romanian.srt > elephant.romanian-utf8.srt
+iconv -f WINDOWS-1251 -t UTF-8 elephant.russian.srt > elephant.russian-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.slovenian.srt > elephant.slovenian-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.spanish.srt > elephant.spanish-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.spanish-us.srt > elephant.spanish_us-utf8.srt
+iconv -f WINDOWS-1251 -t UTF-8 elephant.slovak.srt > elephant.slovak-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 elephant.swedish.srt > elephant.swedish-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 audiodescription.srt > audiodescription-utf8.srt
+iconv -f ISO-8859-1 -t UTF-8 chapters.srt > chapters-utf8.srt
+
+# Encode into Ogg files with kate-only track
+kateenc -t srt -l af -c subtitle -o elephant.afrikaans.ogx elephant.afrikaans-utf8.srt
+kateenc -t srt -l ar -c subtitle -o elephant.arabic.ogx elephant.arabic-utf8.srt
+kateenc -t srt -l bn -c subtitle -o elephant.bangla.ogx elephant.bangla-utf8.srt
+kateenc -t srt -l br -c subtitle -o elephant.breton.ogx elephant.breton-utf8.srt
+kateenc -t srt -l bg -c subtitle -o elephant.bulgarian.ogx elephant.bulgarian-utf8.srt
+kateenc -t srt -l ca -c subtitle -o elephant.catalan.ogx elephant.catalan-utf8.srt
+kateenc -t srt -l zh -c subtitle -o elephant.chinese.ogx elephant.chinese-utf8.srt
+kateenc -t srt -l cs -c subtitle -o elephant.czech.ogx elephant.czech-utf8.srt
+kateenc -t srt -l da -c subtitle -o elephant.danish.ogx elephant.danish-utf8.srt
+kateenc -t srt -l nl -c subtitle -o elephant.dutch.ogx elephant.dutch-utf8.srt
+kateenc -t srt -l en -c subtitle -o elephant.english.ogx elephant.english-utf8.srt
+kateenc -t srt -l et -c subtitle -o elephant.estonian.ogx elephant.estonian-utf8.srt
+kateenc -t srt -l fi -c subtitle -o elephant.finnish.ogx elephant.finnish-utf8.srt
+kateenc -t srt -l fr -c subtitle -o elephant.french.ogx elephant.french-utf8.srt
+kateenc -t srt -l de -c subtitle -o elephant.german.ogx elephant.german-utf8.srt
+kateenc -t srt -l el -c subtitle -o elephant.greek.ogx elephant.greek-utf8.srt
+kateenc -t srt -l he -c subtitle -o elephant.hebrew.ogx elephant.hebrew-utf8.srt
+kateenc -t srt -l hu -c subtitle -o elephant.hungarian.ogx elephant.hungarian-utf8.srt
+kateenc -t srt -l it -c subtitle -o elephant.italian.ogx elephant.italian-utf8.srt
+kateenc -t srt -l ja -c subtitle -o elephant.japanese.ogx elephant.japanese-utf8.srt
+kateenc -t srt -l mt -c subtitle -o elephant.maltese.ogx elephant.maltese-utf8.srt
+kateenc -t srt -l nn -c subtitle -o elephant.norwegian.ogx elephant.norwegian-utf8.srt
+kateenc -t srt -l pl -c subtitle -o elephant.polish.ogx elephant.polish-utf8.srt
+kateenc -t srt -l pt -c subtitle -o elephant.portuguese.ogx elephant.portuguese-utf8.srt
+kateenc -t srt -l pt-br -c subtitle -o elephant.brazilian.ogx elephant.brazilian-utf8.srt
+kateenc -t srt -l ro -c subtitle -o elephant.romanian.ogx elephant.romanian-utf8.srt
+kateenc -t srt -l ru -c subtitle -o elephant.russian.ogx elephant.russian-utf8.srt
+kateenc -t srt -l sl -c subtitle -o elephant.slovenian.ogx elephant.slovenian-utf8.srt
+kateenc -t srt -l es -c subtitle -o elephant.spanish.ogx elephant.spanish-utf8.srt
+kateenc -t srt -l es-mx -c subtitle -o elephant.spanish-us.ogx elephant.spanish_us-utf8.srt
+kateenc -t srt -l sk -c subtitle -o elephant.slovak.ogx elephant.slovak-utf8.srt
+kateenc -t srt -l sv -c subtitle -o elephant.swedish.ogx elephant.swedish-utf8.srt
+kateenc -t srt -l en -c subtitle -o audiodescription.ogx audiodescription-utf8.srt
+kateenc -t srt -l en -c subtitle -o chapters.ogx chapters-utf8.srt
+
+# Merge Ogg files together with kate-tracks
+oggz-merge -o elephant.mt-eng.ogv elephant.english.ogx elephant.multitrack.ogv


Property changes on: itext/elephants_dream/kate_encode.sh
___________________________________________________________________
Added: svn:executable
   + *



More information about the commits mailing list