Git Product home page Git Product logo

vlcc's Introduction

vlcc

VLC versions measurement and comparison tool

Foreword

Frankly, the tool was only tested on Debian Wheezy and Kubuntu 12.10 distributions.

You should expect issues in case of use of another systems, but it will probably work well on all modern Debian based distros.

Well, you also should run VLCC with Python 2.7.

There are no valid reasons why it couldn't be implemented to run with 2.6 or 3.x, but it only actually works on 2.7.

Installation

Run

$ sudo python setup.py install

This will install VLCC and its additional requirements.

Note that you should have setuptools package installed in order to install all the dependencies.

If you don't have setuptools, you'll need psutil, flask, PyYAML and pysqlite to install.

Okay. For now your system was enriched with the vlcc lib and two binaries:

  • vlcc-run does all the building and comparison job,
  • vlcc-http is a simple HTTP server which hosts the VLCC Web page.

Configuration

In order to run, debootstrap, gnuplot and wget packages are required by VLCC runner script (i. e. vlcc-run).

The script will warn you If any of these packages are absent.

A configuration file (usually config.yaml) can be specified with -c or --config option to both vlcc-run and vlcc-http scripts.

If you don't have one, both scripts will try to create its basic reincarnation on first run in current directory.

Configuration with config.yaml is quite simple and intuitive, if you want to change paths or add new VLC version, just follow the example configuration in the default config file.

Note that, using the default config, the database file and images folder will be created in current directory.

Also note that both vlcc-http and vlcc-run should use the same config (nevermind, just run them both in the same directory).

Usage

Note that root privileges are required to run vlcc-run since debootstrap & chroot do need them.

I've actually spent some time on playing with fakeroot/fakechroot stuff but it eventually doesn't work properly, so run with sudo.

The very basic launch of vlcc-run script follows:

$ sudo vlcc-run <video_file_path> 1.1.3 2.0.3

Where 1.1.3 and 2.0.3 are sample VLC versions available in the default config file.

This will create ./build/ dir in current directory and will start to make chroot jails, configuring, compiling, installing and comparing.

For vlcc-http just do

$ vlcc-http

And visit http://127.0.0.1:5000 in your favourite browser (in fact, you'd better run it with Chrome or Firefox :-) ).

For advanced usage information, run the scripts with --help option.

Failback

Note that VLCC has failback functionality, so you don't have to repeat all the previous build states on each run.

The available build states which describe the atomicity of the failback functionality are: jail_created, source_unpacked, configured, compiled, installed.

So it goes. Feel free to ask any questions.

vlcc's People

Contributors

iwuvjhdva avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.