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.
Questions tagged [subtitle]
600 questions
10
votes
2 answers
Is it possible for HTML5 video to play subtitles embedded in mp4 file as a track?
I imported Webvtt file into mp4 file as a track, following the instruction
Subtitling with GPAC
,and I checked that subtitles are properly shown when I using GPAC's Osmo4 player.
Now, I'd like to play this video with subtitle through HTML5 video…

han0ah
- 229
- 2
- 12
10
votes
4 answers
How to add subtitles to a video in html?
I tried using the track element, but it didn't work..could you please tell me if there's something I am doing wrong?
9
votes
3 answers
How to set custom handler_name metadata for subtitle stream using FFMPEG
I'm currently using FFMPEG to embed subtitles into my MP4 files and I am stumped trying to figure out how to custom set the "handler_name" metadata tag on my subtitle stream so I can control the name that is displayed when selecting the subtitle…

AWainb
- 868
- 2
- 13
- 27
9
votes
0 answers
Local Srt files with AVPlayer
I'm trying to cache srt files and play them with mp4 video files using AVFoundation AVPlayer.
Streaming works fine with webVTT subtitles but I also need to cache videos and subtitles.
I was wondering if this is even possible or a possible…

user2692420
- 91
- 2
8
votes
3 answers
How to display subtitles within MPMoviePlayerController
I built a custom video player, all buttons are working. I need to know what is the code that does the MPMoviePlayerController display subtitles when the video has that option. I did not find anywhere an example or someone who knew what code is…

user722056
- 101
- 1
- 5
8
votes
2 answers
ffmpeg extract hdmv pgs subtitles from mkv to srt
I've been trying to figure out how to extract hdmv pgs subtitles from an mkv file for a few days now. I must be doing something wrong. I'm a noob at this. Can someone please help? I think i need to set an encoder or set a codec parameter to fix the…

breezybrea
- 81
- 1
- 1
- 2
8
votes
3 answers
How to add subtext to axes in ggplot2 R
For the main y-axis and x-axis, I have generic titles like "Tank's Ratio" and "Counts". I want a second line of label where I specify the ratio and counts. eg. Just below "Tank's Ratio" I want "# in water/# in sand" in a smaller font but along the…

Rspacer
- 2,369
- 1
- 14
- 40
7
votes
6 answers
Add SRT subtitle to video with ffmpeg
I use ffmpeg to encode, and add subtitle to a video by following command
$ ffmpeg -i hifi.avi -i hifi.srt -acodec libfaac -ar 48000 -ab 128k -ac 2 -vcodec libx264 -vpre ipod640 -s 480x240 -b 256k -scodec copy hifi.m4v -newsubtitle
Here is the…

jAckOdE
- 2,402
- 8
- 37
- 67
7
votes
2 answers
Any app which can transform .vtt to .srt?
Are there any apps which can transform from .vtt to .srt format? I tried subtitleeditor which doesn't have support for .vtt. If anybody does know of any specific app which can be used to do the same, please share.

shirish
- 477
- 1
- 4
- 12
7
votes
2 answers
How to convert subtitle file to have only one sentence per subtitle?
I am trying to program a method to convert subtitle files, such that there is always just one sentence per subtitle.
My idea is the following:
For each subtitle:
1.1 -> I get the subtitle duration
1.2 -> Calculate the characters_per_second
1.3 ->…

henry
- 875
- 1
- 18
- 48
7
votes
4 answers
Chart.js Subtitle won't display
I can't get the subtitle for my pie chart to work. It just won't show.
I was trying this: https://www.highcharts.com/docs/chart-concepts/title-and-subtitle
options: {
pieceLabel: {
showZero: true,
fontColor: '#fff',
…

Leah
- 336
- 4
- 14
7
votes
5 answers
Can HTML5 subtitles be positioned with css?
I am using a custom HTML5 app for streaming videos on a local network, and now I am adding subtitles support.
I have around 500 .vtt subtitles converted from .srt. After I converted them from .srt, I noticed they display right at the bottom of the…

Mark
- 577
- 1
- 7
- 29
7
votes
2 answers
Is it possible to search YouTube subtitles?
Suppose I want to find list of videos which have the phrase "French presidential election" in its subtitle.
Can I do this using YouTube API?
It will be perfect if it can even search within both human-generated and auto-generated subtitles. But it…

user42459
- 883
- 3
- 12
- 29
7
votes
2 answers
Jwplayer subtitles in Chrome appear too big
I have a page with jwplayer to play videos, but subtitles in chrome appears too big.
You can check it in the next example page: https://support.jwplayer.com/customer/portal/articles/1430278-cea-608-and-708-captions
Firefo example. Captions are ok in…

David Rojo
- 2,337
- 1
- 22
- 44
7
votes
3 answers
What is the best way to extract closed caption from movie files?
I need to extract closed caption information from movie files, I have tried ccextractor but it does not seem to work.
I have captured a video stream (with closed caption in it) and saved to a file and then I run ccextractor... but it can't find…

lzzzfelipe
- 97
- 1
- 4