Questions tagged [subtitle]

Subtitles are derived from either a transcript or screenplay of the dialog or commentary in films, television programs, video games, and the like, usually displayed at the bottom of the screen.

600 questions
6
votes
0 answers

Is there a Chrome Live Captioning API?

Chrome 89 introduced a new live captioning system, that will show up a popup with subtitles created on the fly. I was wondering if there is any public API for this captioning system, in order to base a chrome extension on it. I researched and I…
6
votes
1 answer

How to make words in ASS subtitles appear one at a time?

I am trying to burn subtitles into a video such that they appear in a word-by-word fashion instead of all at once. What I mean by this is, a word will appear, then another word will appear next to it, and so on. Eventually the line will clear, then…
ThaDon
  • 7,826
  • 9
  • 52
  • 84
6
votes
1 answer

right/left align subtitle position in plot

How can I change the position of the subtitle in r "base" plot. Is there a special argument? I want to dynamically have the subtitle left or right aligned. data plot(mtcars$mpg,mtcars$qsec,xlab="",sub="I WANT TO\nBE RIGHT\nALIGNED") plot data with…
Andre Elrico
  • 10,956
  • 6
  • 50
  • 69
6
votes
1 answer

Subtitle / Closed caption support in Android

I'm developing an Android app which includes a video component; I'm hoping to provide support for subtitles encoded into the stream but I can't find any references to whether they are supported natively within the Android media player. Does anyone…
Craig
  • 2,173
  • 1
  • 19
  • 20
6
votes
1 answer

Adding subtitles with fluent-ffmpeg

I'm trying to burn in subtitles into a video. This command works perfectly from command line: ffmpeg -i in.mp4 -vf subtitles=sub.srt:force_style='Fontsize=20' out.mp4 My code on server side doesn't seem to do much (it creates test.mp4…
eZo
  • 373
  • 4
  • 14
6
votes
0 answers

Exoplayer - InvalidResponseCodeException (404) while file exists

I am working on Exoplayer Demo to use it in my application. Everything works well except subtitles. I use Expression Encoder 4 pro to encode movies to II Smooth Streaming format. When I add English subtitle to the movie, Exoplayer shows…
6
votes
0 answers

How to fix ffmpeg & mencoder pushing Persian (RTL) subtitles reversed?

I'm trying to build an application to burn subtitles on videos. The specific task to do is burning Persian (Right-to-left language) subtitles. But I have a problem with it. When I got several words simuntaneously without any "Enter" between them,…
sheshkovsky
  • 1,302
  • 3
  • 18
  • 41
6
votes
0 answers

AVFoundation how to add subtitles track to AVComposition

I want to add a track of type AVMediaTypeSubtitle to AVMutableComposition the adding itself is easy, but how to populate this Track? and how to read it later?!! I can't find any thing related to how to read/write a track of type AVMediaTypeSubtitle…
AMTourky
  • 1,190
  • 13
  • 25
6
votes
1 answer

How to correct / shift subtitle time in SRT (SubRip) files?

How to correct/shift subtitle time forward and backward? Subtitle time format looks like this: 00:00:52,656 --> 00:00:56,326 If subtitle and audio aren't synchronized, for example, subtitle shows up before voice/audio, then all times of subtitle…
Srdjan Vukmirica
  • 743
  • 2
  • 8
  • 22
6
votes
3 answers

How to get rid or alter default axis labels and/or titles in density plot?

I would like to know, how can I alter "default" x label (or subtitle) in density plot in R. For example, I do not wand this text "N = ..., bandwidth = ..." to be on the plot (I do not know if it is x-label or subtitle, but it usually appears under…
Oleksandr
  • 292
  • 1
  • 4
  • 15
5
votes
2 answers

Android Native Video player with subtitles

I'm currently developing a video player for android. I've created a simple textview that shows the current subtitle. The problem is: MediaPlayer getCurrentPosition() method only gives me time in seconds. And I need that value in milliseconds to…
inversus
  • 1,287
  • 2
  • 15
  • 27
5
votes
2 answers

How to add a subtitle in class article in Latex?

I am writing a report in Latex and my document class must be article. I want to add some additional text under my title but I can't find anything that would correspond to a subtitle command. Does anyone have any…
Pete97
  • 81
  • 1
  • 2
  • 6
5
votes
1 answer

Subtitles/captions with Microsoft Azure Speech-to-text in Python

I've been trying to figure out how to make subtitles with Microsoft Azure Speech Recognition service in Python, but can't figure it out. I've followed the tips someone else has answered here on getting the individual words, but even formatting those…
5
votes
1 answer

How to create a facetted plot with title and subtitle specific to each facet?

Generating a plot combined with separate plots for each column with title and subtitles, along with a vertical line for each plot: I have created using the histogram plot for a column with a vertical…
Prradep
  • 5,506
  • 5
  • 43
  • 84
5
votes
2 answers

Converting Seconds and Duration to SRT (subtitle) time format (PHP)

I have an input like like this: start: 10 | duration: 1 | text: Subtitle Text 1 start: 15 | duration: 2 | text: Subtitle Text 2 start: 20 | duration: 3 | text: Subtitle Text 3 It's a subtitle instruction set, that says following: At 10 second of…
jjj
  • 2,594
  • 7
  • 36
  • 57