1
00:02:17,440 --> 00:02:20,375
Hello Bob,
2
00:02:20,476 --> 00:02:22,501
how are you doing today?
...
Consider a standard .srt file, which contains text data with timestamp information for displaying audio at the correct interval on the client side.
I need to index this text data into Elasticsearch while retaining the timestamp information. I am currently using a custom formatter that includes the timestamps within the sentence. For example:
(137) Hello Bob, how are you doing today? (142)
This indicates that the sentence starts at second 137 and ends at second 142.
However, I'm not sure if this approach is the best way to handle the timestamps. Any help would be appreciated.