GithubHelp home page GithubHelp logo

imclab / slowmovideo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from slowmovideo/slowmovideo

0.0 1.0 0.0 2.69 MB

Official slowmoVideo repository

CMake 5.37% Makefile 2.38% Shell 0.25% Python 0.65% C++ 87.11% C 1.96% CSS 0.83% Objective-C++ 1.45%

slowmovideo's Introduction

slowmoVideo

Hello! This is a short introduction for you if you want to:

  • compile
  • develop
  • translate

slowmoVideo. For everything else please go to the web page or the Google+ group.

Building

Building for Linux

http://slowmovideo.granjow.net/download.php

Building for Windows

Compiling slowmoVideo for Windows using MXE on Linux:

  1. Get mxe not from http://mxe.cc/ BUT, as long as OpenCV is not in the official branch, from https://github.com/Granjow/mxe/tree/opencv (Changes by Christian Frisson)
  2. Build opencv, qt, ffmpeg and copy the fixed CMake file (avoids library names like liblibjasper) with: $ cp replaceOnTime/OpenCVConfig.cmake usr/i686-pc-mingw32/
  3. Run cmake for slowmoVideo, but now give a toolchain file: cmake .. -DCMAKE_TOOLCHAIN_FILE=/PATH_TO_MXE/usr/i686-pc-mingw32/share/cmake/mxe-conf.cmake
  4. Compile!

Building for MacOS

take a look at README.osx for more detailed instruction

Notes

Additionally to slowmoVideo, ffmpeg.exe (32-bit build, static) is required. Download it from http://ffmpeg.zeranoe.com/builds/ and put it into the same directory as slowmoUI.exe.

Translating

For this you should be in the slowmoVideo subdirectory which contains the tr/ directory. The tools (linguist, lupdate, lrelease) are available in the qt4-dev-tools package for Debian based systems.

Adding your language

To add your language xx (like fr, it), run the following command to generate the respective .ts file:

lupdate . -ts tr/slowmoVideo_xx.ts

After this you can start translating. To make slowmoVideo actually use the translation, add this entry to slowmoUI/resources.qrc:

<qresource lang="xx">
    <file alias="translations.qm">../tr/slowmoVideo_xx.qm</file>
</qresource>

Translation

First, run lupdate to get the newest strings to translate from the code. (Otherwise you might be translating something that does not even exist anymore.)

Then the .ts file can be translated, preferrably with qt’s Linguist, or with any other translation tool you like.

Finally, to see your translation “in action”, release the .ts file (this creates a .qm file).

lupdate src/ -ts tr/slowmoVideo_xx.ts
linguist tr/slowmoVideo_xx.ts
lrelease tr/slowmoVideo_xx.ts

Now you can push your .ts file to git.

slowmovideo's People

Contributors

adiibanez avatar eliasvan avatar fulldecent avatar granjow avatar mgo80 avatar morevnaproject avatar new-life avatar ulatekh avatar valgit 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.