|
linux_installation
KMTTG LINUX INSTALLATION1. INSTALL JAVA IF NEEDEDKmttg is now written in Java (originally used Perl) and supports Java 1.5 or later. You can download Java Runtime Environment (JRE) from here: http://java.com/en/download/manual.jsp 2. DOWNLOAD KMTTG INSTALLATION ZIP FILEDownload kmttg installation zip file from: http://code.google.com/p/kmttg/downloads/list
3. UNPACK ZIP FILE
TIPIf upgrading from a previous Java kmttg installation you can unzip over the previous installation or just replace the kmttg.jar file of the old installation with the one from the new installation. That way you can preserve the kmttg configuration and avoid having to re-configure. NOTE: In some cases there are other files such as encoding profiles updated as part of a release, so you can also just unzip the file over the top of your previous installation to make sure you overwrite all files that make up an installation. PROJECTX INSTALLATIONProjectX which is useful for "QS Fix" and "Ad Cut" tasks should be installed based on this package to make sure there aren't issues with CLASSPATH: http://kmttg.googlecode.com/files/ProjectX_0_9_1_0.zip Just unzip the above such that ProjectX directory is in same directory as kmttg.jar and kmttg configuration will then find it automatically. STARTING KMTTG
NOTE: kmttg may detect Tivos on your network before you have a chance to enter the 10 digit MAK, and will not be able to get listings for detected Tivos without MAK, so after entering MAK you will need to click on Refresh List button for each Tivo to get listings.
TIVODECODE WITH MPEG2 TRANSPORT STREAM SUPPORTIf you have a TiVo Premiere of a TiVo in New Zealand or Australia be sure to use an updated version of tivodecode that has support for TiVo files in mpeg2 Transport Stream container. You can get the source code from here: Building from source on linux is very simple: USING WINE TO RUN WINDOWS ONLY TOOLSSome tools used by kmttg only run on Windows platform, however can be made to run on Linux platform using wine (tool to run Windows binaries on Linux platform). As an example, the following t2extract script can be made to run Windows T2Sami t2extract (used for creating captions files):
#! /bin/sh wine "C:\\Program Files\\T2Sami\\t2extract.exe" -f srt -p `dirname "$3"` "$3" "$4" "$5" "$6" "$7" "$8" "$9" chmod +x t2extract |
I have made an ebuild for kmttg which is now available in the gentoo sunrise overlay. So gentoo users can use emerge kmttg to install kmttg now. For information on the sunrise overlay (including installation instructions), see http://overlays.gentoo.org/proj/sunrise.
You can use a similar script for comskip on wine.
#! /bin/sh
wine "C:\\Program Files\\comskip\\comskip.exe" --ini "$2" "$3"
You cannot supply extra quoted parameters, as they are (mis)interpreted by comskip.
You will need to create the ~/.wine/drive_c/Program\ Files/comskip directory and unzip the comskip windows binary there. I also created a ~/.comskip directory and made a symlink to the comskip.ini file to simplify the path in kmttg settings.
What you want is:
wine "C:\\Program Files\\comskip\\comskip.exe" "$@" which will automatically quote all the arguments passed to the script
bbaetz solution works great. One note, be sure to add output_edl=1 to the comskip.ini, otherwise it won't output the .edl file.
Here's a tutorial for installing ffmpeg on Ubuntu. This was by far the easiest option (the others called for compiling it from source which failed multiple times for me, being mostly a linux newbie).
http://ubuntuforums.org/showthread.php?t=1117283
Here's a tutorial how to install and configure kmttg on Ubuntu:
http://ubuntuforums.org/showthread.php?t=1885316