Last updated:
0 purchases
avi2mkv 1.1
# avi2mkv [![Project Status](http://stillmaintained.com/igalarzab/avi2mkv.png)](http://stillmaintained.com/igalarzab/avi2mkv)## What it does.Simple (stupid) script to transform an AVI video to matroska MKV.It's simple because you don't need to provide any arguments to work.It's powerful because this script will do these things for you:* Convert all the video and audio tracks of the AVI.* Look for all the SRT subtitles and append it to the MKV file.* Generate a MKV file with the same name than the AVI (and in the same place).* If you provide a directory, ``avi2mkv`` will convert all the AVI videos of the dir.## What I need.To use ``avi2mkv``, you need at least:* Python (>=2.6)* mkvtools## How to install it.First, install the required dependences.Use your favourite package manager to accomplish this task.* MacOS (with [HomeBrew](http://mxcl.github.com/homebrew/))```shbrewinstallmkvtoolnix‘‘‘∗Linux(withapt−get)::‘‘‘sh sudo apt-get install mkvtoolnix```Then, you can install the last version of ``avi2mkv`` in two ways.* You can use ``easy_install``::```shsudoeasyinstallavi2mkv‘‘‘∗Or,ifit′sinstalledinyoursystem,youcanuse‘‘pip‘‘::‘‘‘sh sudo pip install avi2mkv```## How to useTo run, you only need to execute the installed command::```shavi2mkv−−help‘‘‘Toconvertavideo(oralistofvideos)youonlyneedtoprovidethefilename.Theoutputvideowillbeplacedinthesamedirectoryoftheoriginalone,andwiththesamename(endedwith.mkv)::‘‘‘sh avi2mkv My_Video.avi My_Video2.avi```If you provide a directory, ``avi2mkv`` will transform all the .avi videos that arein the directory::```shavi2mkvMyVideos/‘‘‘Finally,‘‘avi2mkv‘‘willtakealltheSRTsubtitlesofthevideo.Todothis,thescriptwillsearchallthefileswiththe∗∗sameprefix∗∗thatthe.avivideo(withouttheextension)thatendswitha.srtextension.Totakethelanguageofthesubtitles,‘‘avi2mkv‘‘willtakethepartthatdiffersofthefilenameofbothfiles(theaviandthesrt),stripped.Forexample,inthefollowingscenario::‘‘‘sh ls "My_Video1.avi" "My_Video1 Spanish.srt" "My_Video1 Englishhh.srt"$ avi2mkv My_Video1.avi`````avi2mkv`` will take the two subtitles files, and the name of the languages will be *Spanish*and *Englishhh*.## Author* [Jose Ignacio Galarza (igalarzab)](http://github.com/igalarzab)
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.