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
5
votes
1 answer
Android - ExoPlayer2 subtitles
How to set subtitles on ExoPlayer2?
I have tried this tu bild MergingMediaSource:
SingleSampleMediaSource singleSampleSource = new SingleSampleMediaSource(Uri.fromFile(new File("/sdcard/Download/a.vtt")), mediaDataSourceFactory,
…

TheModularMind
- 2,024
- 2
- 22
- 36
5
votes
2 answers
Are subtitles supported in any of the native video controls?
I'm writing an application with some embedded video content, it's Android 2.2 that I'm targetting. I need to show localized subtitles for the video content.
The video content can be mp4 or 3gp video, played from the SD card.
There are some third…

Tristan Warner-Smith
- 9,631
- 6
- 46
- 75
5
votes
1 answer
How to put subtitles in mobile videos with Handheld.PlayFullScreenMovie in unity
So i'm making an unity project for mobile device ( android ) and i ran into the problem of playing videos through unity in mobile devices witch can only be achieved trough Handheld.PlayFullScreenMovie or Assets.
So, in Handheld.PlayFullScreenMovie…

Leon700
- 59
- 6
5
votes
3 answers
Wordpress WooCommerce store - Subtitle under Products Titles
I've been reading WP forums and trying different plugins for over a week now with no luck, so I decided to give it a try here.
I'm creating a WP website with a premium theme, that supports a woocommerce. What I need to do is the following:
Create a…

Prima
- 101
- 1
- 1
- 4
5
votes
2 answers
ios Title and Subtitle in Navigation Bar centered
I'm trying to have two UILabels in my navigation bar instead of just one.
I followed this link to have informations on how to do that:
iPhone Title and Subtitle in Navigation Bar
It works well, but I can't get my texts to be centered properly.
It is…

user2700551
- 339
- 2
- 6
- 24
5
votes
2 answers
How to set default streams with ffmpeg
I have some m4v files that I am wanting to add subtitles to with ffmpeg. I know I need to map the streams to get them into the output file but how do I ensure that this subtitle stream will be a default stream? The subtitles are .srt and people seem…

sion
- 1,367
- 6
- 17
- 21
5
votes
1 answer
Is there any method to get an overlay of media file while it is playing?
I'd like to insert subtitle into the media file without using Library that provides it automatically(Like a DirectShow)
I used way to draw by using window desktop's drawing handle, but it couldn't work. I think it is because of the speed of…

Park Jinsang
- 59
- 1
- 3
4
votes
2 answers
How to convert messed-up .vtt sub file from youtube-dl --write-auto-sub download?
My goal is to download a YouTube video with auto-generated subtitles in a separate file like .vtt,.srt, etc.
I am currently trying to achieve this with youtube-dl but I am open to other solutions if needed.
When I run the following command, it…

perry_the_python
- 385
- 5
- 14
4
votes
3 answers
How to extract subtitles from MKV files in pure Java?
does anybody know how to extract subtiles from MKV files using pure Java? (I know how to do it using tools such as mkvtoolnix. I know I could call them from Java but that's not what I want)
Thanks!

sampy
- 41
- 1
- 2
4
votes
2 answers
How to read and parse srt Subtitle file with Javascript?
I'm trying to make a program that will translate subtiltes file from a given path.
The programm is running inside electron - so I have access to the computer's files.
The problem is I couldn't find explanation on how to read and parse srt file is it…

THW 10
- 123
- 7
4
votes
3 answers
MediaElment.js : How to change the source files of subtitles (track element) on the fly?
How to change the source files of subtitles on the fly (originally defined in the HTML via

srcmax
- 63
- 1
- 5
4
votes
0 answers
How to add subtitles vlc player with libvlc programmatically?
I want to add subtitles in vlc video player by using the SRT format file.
I used LibVlc in android.
add libVLC in GRADLE file
implementation 'org.videolan.android:libvlc-all:3.3.13'
MoviesDetailsActivity.java
Here is my code to add subtitles.…

avstreamdev
- 41
- 1
4
votes
1 answer
youtube-dl does not download auto-generated subtitles
I am trying to download a playlist of videos, all of them with auto-generated subtitles but when I insert the flag --write-sub/--write-auto-sub it says that de videos do not have subtitles. I usually use the same code to download videos with…

Ignasi Piqué Muntané
- 158
- 1
- 2
- 6
4
votes
2 answers
Using FFMPEG, how do we add subtitles in the black bar area or under the video?
I followed these steps:
Added the black bars
-vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1" Source:How to add black borders to video
Added the subtitles ("burned" it into the video)
ffmpeg -i…

DunceDancer
- 41
- 5
4
votes
0 answers
ffmpeg doesn't detect the subtitle format (webvtt) and refuses to copy it
I am trying to re-encode the audio on some video files.
I want to copy the video and subtitles without touching them, however, ffmpeg doesn't detect the format of the subtitle (which is webvtt) and refuses to do anything.
fmpeg -copy_unknown…

Thomas
- 1,053
- 2
- 11
- 20