No description, website, or topics provided.
Python Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
pycaption-cli adding content Nov 2, 2016
pycaption adding content Nov 2, 2016
LICENSE Initial commit Nov 2, 2016 update readme Nov 2, 2016 adding content Nov 2, 2016

DFXP to WebVTT Caption Migration Tool

This Python script uses Media API to find all videos that have old style captions (ttml, dfxp) downloads the caption files and uses pycaption to convert them to WebVTT captions. It then uses the Source File Upload API for Dynamic Ingest to get an S3 bucket, push the webvtt files to to the S3 bucket, and then makes Dynamic Ingestion calls to add the WebVTT captions to the correct video.


  1. Python 2.7 must be installed
  2. Use the same process for installing that is detailed in
  3. Copy into the same directory as the file.
  4. In Replace the following User Variables:
    • pub_id (your account id)
    • client_id (see step 5)
    • client_secret (see step 5)
    • MAPItoken (a Media API READ token for the account)
  5. You must enable these operations for the client credentials: API Operations

See for details of obtaining client credentials.