Add or copy subtitles to video

Subtitles and closed-captions is often an important part of your viewers experience, however the needs of each project can be very different. With Qencode, you can add, modify, copy and remove subtitles from any of your video renditions.

Working with

Currently supported subtitles formats are SRT and ASS.

You can create a closed captions from existing subtitles in text format.

Adding Subtitles

To create subtitles, set the subtitles attribute with an object that contains two optional fields:

  • sources
    an array of subtitle objects for a closed captions stream.

Subtitle Object Description


Subtitles file URL
Subtitles file language

Subtitles Example:

           "source" : "",
           "language" : "eng"
           "source" : "",
           "language" : "fra"

Copying Captions

  • copy Copy eia608 or eia708 closed captions to the output stream (defaults to 0).
     "copy": 1 //copy eia608 or eia708 closed captions to output stream