Wiki

Clone wiki

ts2mkv / Installation

Installing the latest release in Windows

1. Get and install ts2mkv

  • Download your preferred Windows build in Downloads page
  • Unzip the package somewhere, e.g. C:\utils\ts2mkv
  • Add the directory to PATH in Windows Advanced System Settings

2. Get and install external tools

3. Verify the installation and the environment

  • Open Command Prompt and say:
    ts2mkv --check-env
    
  • If ts2mkv can't be found then the PATH is probably incorrect. Fix it and restart the Command Prompt window.
  • If some of the external programs are not OK, verify that the paths in paths_win.ini are correct. (Alternatively the tools can be added to PATH in Windows Advanced system settings. Note: Path definitions in paths_win.ini override system-wide PATH settings.)

Installing the latest release in Ubuntu (and relative) Linux

1. Install dependencies

sudo apt-get install python-setuptools openjdk-7-jre libav-tools libavcodec-extra mkvtoolnix

2. Get and install ts2mkv

  • Download the latest Linux package in Downloads page or get the file with wget
    wget https://bitbucket.org/ts2mkv/ts2mkv/downloads/ts2mkv-2.0.0.tar.gz
    
  • Extract the package (TBD)
    tar -xvf ts2mkv-2.0.0.tar.gz
    
  • Enter in extracted directory
    cd ts2mkv-2.0.0
    
  • Run setup.py
    sudo python setup.py install
    

3. Verify the installation and the environment

  • Open terminal and say:
    ts2mkv --check-env
    
  • If some of the external programs or codecs are not OK then the dependencies were not installed correctly. Probably your Ubuntu is outdated (<12.04) --> Upgrade your distro.

Installing the latest development version (Linux and Windows)

This is for getting the latest source code from version control repository and installing it as a Python module.

Note: Mercurial and Python 2.7.x must be installed and they must be found in PATH.

Enter in terminal or Command Prompt:

hg clone ssh://hg@bitbucket.org/ts2mkv/ts2mkv
or in case you don't support SSH and you are unauthenticated:
hg clone https://bitbucket.org/ts2mkv/ts2mkv
Then enter in ts2mkv directory and run setup.py:
[sudo] python setup.py install

Updated