Giter VIP home page Giter VIP logo

comchap's Introduction

Comchap

Commercial detection script and add chapters original file Note: Comskip must be installed and working in order for Comchap to work. See: https://github.com/erikkaashoek/Comskip

Usage

comchap [OPTIONS] inputfile [OUTPUTFILE]

Remarks

Comchap will read the input file specified to generate chapter information marking where commercials are located.

Comchap uses Comskip to do the detection of commercials if no EDL file is found. The EDL file must be the same name as the input file, but with a .edl file extension. If no EDL file is found Comskip will be used to generate an EDL file.

When generating an EDL file Comchap will specify Comskip to use an ini file located at ~/.comskip.ini. If this file is not found, or it does not contain output_edl=1 then the script will make sure it does. This ensures Comskip to generate the needed EDL file.

If OUTPUTFILE is not specified then comchap will overwrite inputfile.

Command Line Arguments

  • --keep-edl Keep the generated EDL file (do not delete when done)
  • --keep-meta Keep the generated ffmeta file used to tell ffmpeg where the chapters are located
  • --ffmpeg=PATH Use PATH as the path to ffmpeg binary
  • --comskip=PATH Use PATH as the path to comskip binary
  • --comskip-ini=PATH Use PATH as the path to the comskip.ini file used by Comskip
  • --lockfile=PATH Use PATH as a lockfile to prevent multiple instances of the script from running simultaneously. Comchap will wait until PATH does not exist before doing any processing.

Comcut

Commercial detection and removal script

Usage

comcut [OPTIONS] inputfile [OUTPUTFILE]

Remarks

Comcut will read the input file specified and remove detected commercials. It no output file is specified, it will overwrite the input file, otherwise it will write to the output file.

Comcut is very similar to Comchap, however the detected commercials are removed from the resulting file. Chapters are still added to the resulting file.

Command Line Arguments

  • --keep-edl Keep the generated EDL file (do not delete when done)
  • --keep-meta Keep the generated ffmeta file used to tell ffmpeg where the chapters are located
  • --ffmpeg=PATH Use PATH as the path to ffmpeg binary
  • --comskip=PATH Use PATH as the path to comskip binary
  • --comskip-ini=PATH Use PATH as the path to the comskip.ini file used by Comskip
  • --lockfile=PATH Use PATH as a lockfile to prevent multiple instances of the script from running simultaneously. Comchap will wait until PATH does not exist before doing any processing.
  • --work-dir=PATH Use PATH as a directory to create any temporary files needed by Comskip and/or Comcut. If not specified it will use the current directory.

comchap's People

Contributors

brettsheleski avatar reed97123 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.