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
16
votes
3 answers

What's the benefit of WEBVTT(.vtt) over SubReal (.srt)?

I finally came to a conclusion that google-chrome does not support .srt because WEBVTT is HTML5 standard. Now I am wondering what's the reasoning behind this decision. It seems that google-chrome might have supported .srt too because: .srt was…
RNA
  • 1,164
  • 2
  • 19
  • 35
16
votes
1 answer

How to change subtitle in mediaplayer

I can assign subtitle once but after that if I tried to change subtitle. It won't accept new one, it display previous one every-time. Below code I'm using to change subtitle. MediaPlayer mediaPlayer; public void changeSubtitle() { …
user3322553
  • 239
  • 2
  • 8
16
votes
5 answers

Subtitles for AVPlayer/MPMoviePlayerController

I am using m3u8 video format for streaming the video and now I need to display subtitles for the same. I searched in Apple Documentation and found that I can achieve this by using the closedCaptionDisplayEnabled property of AVPlayer. I am…
15
votes
1 answer

Chromecast add subtitle while playing video

I can show subtitle(webvtt) using android app using following code MediaTrack subtitle = new MediaTrack.Builder(0, MediaTrack.TYPE_TEXT) .setName("English") …
ingsaurabh
  • 15,249
  • 7
  • 52
  • 81
14
votes
4 answers

Does HTML5 Video support srt textTrack?

I have tried the html5 video with textTrack, it works properly with .vtt (WebVTT). However, it doesn't work with .srt. So my question is whether html5 support .srt on the chrome or firefox? I have looked the information in w3 but there are no…
Thomas Lee
  • 1,001
  • 2
  • 13
  • 31
13
votes
4 answers

Is it possible to extract SubRip (SRT) subtitles from an MP4 video with ffmpeg?

I have checked the FFMpeg documentation and many forums and figured out the correct command-line to extract subtitles from an .MP4 video should look like so: ffmpeg -i video.mp4 -vn -an -codec:s:0 srt out.srt However, I get the following error,…
Maxime Labelle
  • 3,609
  • 2
  • 27
  • 48
12
votes
4 answers

Java API for SRT subtitles

Is there any Java API for SRT subtitles ?
firas
  • 1,463
  • 4
  • 19
  • 42
12
votes
2 answers

What's the VOBsub subtitle format?

Where can I find documentation/sample code of the VOBsub subtitles format? The one that's an .idx and a .sub file. I need to create a program that generates those subtitles. I've been looking on Google but only found how to rip them from DVD. Thanks
George
  • 121
  • 1
  • 1
  • 3
12
votes
5 answers

Parsing and Converting TED Talks JSON Subtitles

This question is related to this other question @ SuperUser. I want to download the TED Talks and the respective subtitles for offline viewing, for instance lets take this short talk by Richard St. John, the high-resolution video download URL is the…
Alix Axel
  • 151,645
  • 95
  • 393
  • 500
11
votes
4 answers

ffmpeg subtitles alignment and position

I am adding subtitles to a video using: ffmpeg -i "imput.mp4" -lavfi "subtitles=subtitles.srt:force_style='OutlineColour=&H100000000,BorderStyle=3,Outline=1,Shadow=0,Fontsize=18'" -crf 1 -c:a copy "output.mp4" Which results in: I am repositioning…
friendlygiraffe
  • 871
  • 2
  • 6
  • 18
11
votes
1 answer

Use FFmpeg to join MP4 files while preserving subtitles stream

I tried: ffmpeg -f concat -i files.lst -c copy output.mp4 But the output file doesn't have the subtitles stream. How do I fix this? Log: ffmpeg version 2.3.4 Copyright (c) 2000-2014 the FFmpeg developers built on Dec 4 2014 09:23:21 with gcc…
user1985553
  • 1,032
  • 8
  • 7
11
votes
4 answers

Extracting subtitles from mp4

I got an assignment of retrieving subtitles from a mp4 file I want to know how to do this, by java or c++, does it depends on mp4 encoding format and I want to know the basic concepts of different video formats and basic concepts of video…
vector
  • 493
  • 1
  • 5
  • 14
10
votes
1 answer

Is it possible to play a video on iPhone and have a subtitles synchronized with it show up?

I want to add a "subtitles" to a video played in an iPhone app. I don't want those subtitles encoded into the video itself - ideally I'd love to have a view showing the video (with pause, play, volume and such standard controls) together with a view…
kender
  • 85,663
  • 26
  • 103
  • 145
10
votes
3 answers

Adding subtitles to a movie using moviepy

I'm tried to follow this example how to add subtitles to a movie clip: from moviepy.video.tools.subtitles import SubtitlesClip from moviepy.video.io.VideoFileClip import VideoFileClip subs = [((0, 3), 'sub1'), ((3, 7), 'sub2'), ((9,…
Noam Peled
  • 4,484
  • 5
  • 43
  • 48
10
votes
3 answers

Setting SupportActionBar subtitle multiline

I have the following setup:
injecteer
  • 20,038
  • 4
  • 45
  • 89
1
2
3
39 40