Questions tagged [srt]

Text file containing subtitles used by various video playback programs; supported by DivX, DVD, and other video formats; includes the time each subtitle should be displayed followed by the text of the subtitle.

SubRip Subtitle File

Text file containing subtitles used by various video playback programs; supported by DivX, DVD, and other video formats; includes the time each subtitle should be displayed followed by the text of the subtitle.

Subtitle files are often named according to the language of the subtitles, i.e. "moviename.eng.srt" for English and "moviename.ger.srt" for German subtitles.

More details on the file format and programs that support this format is at fileInfo. Another info about this format

184 questions
1
vote
1 answer

Adding subtitles to video with moviepy requiring encoding

I have a srt file named subtitles.srt that is non-English, and I followed the instructions of the documentation and source code of the moviepy package (https://moviepy.readthedocs.io/en/latest/_modules/moviepy/video/tools/subtitles.html): from…
Sato
  • 1,013
  • 1
  • 12
  • 27
1
vote
0 answers

Convert file to UTF-8

I'm trying to make a program to repair corrupted subtitle .srt files. After doing some research, I figured out some websites which repair files with this issue are converting it to UTF-8, like subtitletools.com. I used the method I found in this…
Armin Taghavizad
  • 1,625
  • 7
  • 35
  • 57
1
vote
4 answers

How do I parse a .srt subtitle file

I'm trying to load and parse a .srt subtitle file in VB.net. It is a very simple text file, but I'm having difficulty. Here is the structure: Hide Copy Code 1 00:00:01,600 --> 00:00:04,200 English (US) 2 00:00:05,900 --> 00:00:07,999 This is a…
1
vote
0 answers

How to test packet loss and recovery features of Secure Reliable Transport Protocol

I am using h264 encode method with ffmpeg and I am able to stream it with UDP Protocol. Without packet loss video quality is good. Since UDP Protocol does not guarantee packet reliability , I implemented Haivision's Secure Reliable Transport (SRT)…
aramok
  • 35
  • 1
  • 1
  • 6
1
vote
1 answer

How to fix/prevent overlapping timecode - SBV to SRT conversion (Exporting from Youtube to upload to LinkedIn)

I am uploading a video to LinkedIn and want to add subtitles. To achieve this I have exported an SBV file from YouTube and converted it to SRT, however the SRT file doesn't read correctly back into LinkedIn, giving me an error about the timecode…
Lineypi
  • 33
  • 3
1
vote
2 answers

I need to remove a specific unicode in my existing subtitle text file

I basically work on subtitles and I have this arabic file and when I open it up on notepad and right click and select SHOW UNICODE CONTROL CHARACTERS I give me some weird characters on the left of every line. I tried so many ways to remove it but…
1
vote
1 answer

Problem with parse /n to
while parsing srt file to javascript array

I'm trying to parse srt file with javascript. I found some code from stackoverflow but there is an issue. I'm parsing the srt file line by line to recognize the line of subtitle, time and the subtitle text. But when the code read the subtitle text,…
1
vote
1 answer

How to force download instead of opening srt file in Chrome from an FTP server using Javascript/jQuery?

I have to download srt file from an FTP server and I'm using this code: