Skip to content

Convert messages from Symbl's conversation data on voice or video to SRT format file

License

Notifications You must be signed in to change notification settings

symblai/SRT-format-conversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

SRT format conversion

Convert Symbl.ai's conversation data into the SRT file format.

Pre-requisites

  • Python
  • Terminal

Setup and Deploy

  1. The first step to getting setup is to sign up.
  2. Symbl appId and appSecret from your Symbl account
  3. Grab the conversationId of a conversation you created with Symbl.ai
  4. git clone https://github.com/symblai/convert-messages-to-SRT-format
  5. Run cd symbl-devtool-SRT-format-converter
  6. Edit the index.py, adding your values for appId, appSecret and conversationId
  7. Save the file.
  8. Run the file python index.py in your terminal.

Conclusion:

Here is a breakdown of what happens.

  • With the converstionId the script makes two API calls: /conversations and /messages
  • The /conversations API fetches the initial startTime
  • The /messages API fetches the startTime, endTime and text for all of the messages
  • A calculation of time difference from the messages startTime and endTime is created vis-a-vis the conversation's startTime.

Here is what you get: As a user you convert Symbl.ai's conversation data into the SRT file format..

Community

If you have any questions, feel free to reach out to us at devrelations@symbl.ai or through our Community Slack or our forum.

This guide is actively developed, and we love to hear from you! Please feel free to create an issue or open a pull request with your questions, comments, suggestions and feedback. If you liked our integration guide, please star our repo!

This library is released under the Apache License

About

Convert messages from Symbl's conversation data on voice or video to SRT format file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages