Skip to content

Commit

Permalink
Update converting captions with more information.
Browse files Browse the repository at this point in the history
  • Loading branch information
glut23 committed Jun 2, 2016
1 parent f3e158b commit 895a7ce
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,13 @@ Segmenting for HLS
WebVTTSegmenter().segment('captions.vtt', 'output/path')
Converting SRT captions
-----------------------
Converting captions from other formats
--------------------------------------

Supported formats:

* SubRip (.srt)
* YouTube SBV (.sbv)

.. code-block:: python
Expand All @@ -58,6 +63,8 @@ Converting SRT captions
webvtt = WebVTT().from_srt('captions.srt')
webvtt.save()
# we can convert captions in one line
WebVTT().from_sbv('captions.sbv').save()
CLI
---
Expand Down

0 comments on commit 895a7ce

Please sign in to comment.