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
0
votes
1 answer

Renaming an SRT file in C using command prompt

Let's say I have a file called "____.srt" , where ___ could be anything. I'm trying to change its name, by adding '1' , so it'll look like this "____1.srt". The file is read from an argument using CMD, argv[1]. void main(int argc,char* argv[]){ …
Jadenkun
  • 317
  • 2
  • 16
0
votes
1 answer

Add subtile (srt) file to existing mkv file

Is it possible to add a subtitle file (srt) to an existing mkv file? I can easily embed the srt file in a new mkv file, but it is quite time-consuming. If it is not possible just to add a srt file to the mkw container can anyone explain why? I’m…
0
votes
0 answers

Extract pgssub subtitles from mkv to txt (srt)

How to correctly extract pgssub subtitles to txt file? I have this target input stream: Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080 (default) I want save this subtitles like srt into txt file: $ ffmpeg -i inp.mkv -map 0:2…
Deep
  • 2,472
  • 2
  • 15
  • 25
0
votes
2 answers

How to clean a .srt file without removing numbers that appear in the closed captions through VIM?

It is known that .srt files are structured in blocks having 3 underlying parts, like this example: 228 00:39:06,680 --> 00:39:13,460 Lorem ipsum dolor sit amet Now, let us suppose that in the closed captions there are some excerpts representing the…
opcg
  • 17
  • 7
0
votes
1 answer

Search string on numbers on Notepad++

I'm trying to do a Find and Replace action on my subtitles timings. I need to add an hour digit to all my timings. SRT files should display HH:MM:SS:FFF not MM:SS:FFF, as these are for WEBVTT files. I have added an example set of timings below.…
Ianlam
  • 1
0
votes
1 answer

batch delete certain lines of paragraphs in .srt files

I have .srt files that consist out of paragraphs with the same pattern. the amount of paragraphs in each document is different. I wanna keep the number of the paragraph, keep the time in the second line, and then basically only keep the…
Philipp
  • 23
  • 4
0
votes
1 answer

Error loading the subtitle file into my mp4 file

I have already did my subtitle file in notepad and saved it as a SRT file but I couldn't load it in my mp4 file through VLC? 1 00:09:37.570 --> 00:10:80.570 (car speeding across the road) 2 00:11:70.570 --> 00:13:47.570 (screeching of…
Stem 1025
  • 1
  • 2
0
votes
1 answer

How to create video captions (.srt) for a Facebook page using Graph API?

According to the Graph API v2.x, Facebook allows client applications to create captions for an existing video by uploading .srt files. See https://developers.facebook.com/docs/graph-api/reference/v2.5/video/captions/. Has anyone ever gotten this to…
brk
  • 631
  • 1
  • 6
  • 4
0
votes
1 answer

How to add new item into srt file

This is start of a srt file: 0 00:00:07,000 --> 00:01:00,000 lorem ipsum... // this line doesn't work 1 00:01:02,960 --> 00:01:05,800 lorem ipsum... 2 00:01:05,840 --> 00:01:08,960 lorem ipsum... The first line doesn't work,…
qadenza
  • 9,025
  • 18
  • 73
  • 126
0
votes
1 answer

Making Batch file code with VBScript to work with Unicode symbols

So recently I asked for help with creating .srt subtitles. Here is the link. I got the help and everything works fine until the videofile in the folder has unicode symbols in its name. If it does, then VBScript error appears. Question is how to…
user5715027
0
votes
2 answers

How to create a (shell) script to copy .srt content into corresponding Excel columns?

I have a question about how to automize the process of copying contents from a .srt file onto a .xls file. I want to make sure that the content in the .srt file could be pasted into the corresponding columns of the .xls (e.g. the time-in to the B…
Penny
  • 1,218
  • 1
  • 13
  • 32
0
votes
1 answer

How to load Subtitle text for Flash Video?

A Video player is created using "Video" in flash action script 3.0. And played video using net stream. The sample code is: connection = new NetConnection(); connection.connect(null); on connection success stream and video crested and played. stream…
sureshunivers
  • 1,753
  • 12
  • 27
0
votes
1 answer

Is there some kind of limit to the amount of output Python 3.4 allows using the write() method at one time?

I put trailing print() methods right next to my write() method lines at the end of my code to test why my output files were incomplete. But, the print() output is "all the stuff" I expect; while the write() output is off by a confusing amount (only…
0
votes
2 answers

Googlecast support for srt files

I am developing an application for playing videos with chromecast support. I have a trouble with subtitles. I can display .vtt subtitles, but there is a problem with classic .srt subtitle files. Does chromecast support subtitles in srt format? I…
PetrS
  • 1,110
  • 14
  • 38
0
votes
1 answer

Why http live streaming done not support SubRip (.srt) subtitles?

I have meet some time issues about http live streaming for supporting srt subtitles. But after researching, I hardly can find the practices about HLS supporting srt. So why http live streaming not support SubRip (.srt) subtitles? and what kind of…
buptcoder
  • 2,692
  • 19
  • 22