Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add support for C-SPAN subtitles #5146
Comments
|
For reference, our test video http://www.c-span.org/video/?313572-1/attorney-general-eric-holder-voting-rights-act-decision has as subtitle url http://data.c-spanvideo.org/Programs/315/315139/1421809454.dfxp |
|
Thanks @lfl2. I've adopted your implementation and do some modifications so that is can be integrated better with youtube-dl. Now dfxp/TTML subtitles are supported. |
Most of C-SPAN videos, contain subtitles, it is presented in DFXP format, and loaded from URL like this:
http://data.c-spanvideo.org/Programs/aaa/bbb/ccc.dfxp
DFXP can be easily converted to SRT format: