Skip to content

A command line interface for the pycaption module.

Notifications You must be signed in to change notification settings

vhx/pycaption-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pycaption-cli

A command line interface for the pycaption module. Forked to add WebVTT support, courtesy of this Brightcove guide.

Setup

python setup.py install

Usage

From your command line:

pycaption <path to caption file> [--sami --dfxp --srt --transcript --webvtt]

e.g.

pycaption ../jnorton-caption.scc --dfxp --transcript

Output is written to the screen. To write to a file, use something like this:

pycaption ../jnorton-caption.xml --webvtt > jnorton.vtt

Supported Formats

  • SCC (read)
  • SRT (read/write)
  • SAMI (read/write)
  • DFXP (read/write)
  • Transcript (write)
  • VTT (read/write)

License

This module is Copyright 2012 Joe Norton and is available under the Apache License, Version 2.0.

About

A command line interface for the pycaption module.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%