Convert the dfxp to webvtt caption - nil-vn/pycaption-cli GitHub Wiki

Clone from: http://docs.brightcove.com/en/perform/brightcove-player/guides/webvtt-converter.html Requirements: The GitHub repository for pycaption The GitHub repository for pycaption-cli Edit from line 209 file pycaption/pycaption/webvtt.py:

def write(self, caption_set, lang=''):

Edit from line 205:

if not lang: lang = list(caption_set.get_languages())[0]