Giter VIP home page Giter VIP logo

chaptermarkers's Introduction

chaptermarkers

Documentation Status

chaptermarkers will creat chapter markers in MP4 files from a text file.

Get Started!

Here’s how to set up chaptermarkers for local environment.

1- Clone the chaptermarkers locally:

$ git clone https://github.com/cbitterfield/chaptermarkers.git

2- Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up the package for local development:

$ sudo make boostrap
$ mkvirtualenv chaptermarkers
$ pip install -r requirements/dev.txt

3- How to enable/disable virtualenv

$ workon chaptermarkers
$ ...
$ deactivate

Usage:

usage: chaptermarkers [-h] [--version] [-d] [-f CHAPTERS] [-m FILENAME] [-o OUTPUT] [-t TITLE]

Chapter markers creates markers in MP4 files from friendly time marks

optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
-d, --debug Turn on Debugging Mode
-f CHAPTERS, --chapters-file CHAPTERS
 Text file with chapters in it. TimeStamp space Title
-m FILENAME, --mpeg-video FILENAME
 Movie file MP4s only -- Currently no checking
-o OUTPUT, --mpeg-video-markers OUTPUT
 default is FILENAME_chapters.mp4
-t TITLE, --title TITLE
 default is My Default Movie, this is the title that will show when playing

The default value for FFMPEGCMD is /opt/local/bin/ffmpeg [MAC Ports]. If your binary is in a different location use export FFMPEG=/usr/bin/ffmpeg or whatever is appropriate for your shell Temp files are written to /tmp and are remove if successful write occurs

Credits

chaptermarkers's People

Contributors

cbitterfield avatar

Stargazers

Emanuele Sabetta avatar  avatar

Watchers

James Cloos avatar  avatar

chaptermarkers's Issues

Use as a function or module?

I want to write some piece of code to generate chapters by the favorites of the player. But for this I would need like a module to use your functions and not only as an cli. For example I want to know which chapters are already in before I decide which chapters I want to add.. Do you think it is possible?

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.