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
4
votes
2 answers
ffmpeg cut video and burn subtitle in a single command
I want to cut a piece out of a video and burn subtitle in that piece.
I can do this in 3 steps:
cut the video
ffmpeg -ss 25:00 -to 26:00 -i vid.mp4 -c copy out.mp4
cut the subtitle
ffmpeg -i sub.srt -ss 25:00 -to 26:00 out.srt
burn subtitle in the…

razvan
- 51
- 1
- 6
4
votes
0 answers
Using ffmpeg to overlay dvdsub subtitles
I am trying to overlay a dvdsub file pair (*.idx + *.sub) to a video file.
Here is the sub pair.
This is the batch script with the command line I am trying to use:
@echo off
set srcVidFile1="myvideo.mov"
set srcSubFile=mysub.sub
set…

ib11
- 2,530
- 3
- 22
- 55
4
votes
1 answer
JavaScript - Generating .SRT file
I made a script to edit my subtitles in my browser. not in text editors etc.. so i did everything and i am at the final stage of it, when i click the button 'save' to download my edited version, My browser automatically downloads the SRT file as…
user9373173
4
votes
2 answers
Discard data stream from container using ffmpeg
I am trying to get rid of a data (subtitle) stream within a Mp4 container, using ffmpeg.
Here's the screenshot from ffprobe:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.m4v':
Metadata:
major_brand : isom
minor_version : 2
compatible_brands:…

A.Be
- 109
- 1
- 4
4
votes
2 answers
Adding multiple .srt subtitle streams to MP4 with FFMPEG
After a lot of trial and error, I managed to add multiple subtitle streams to one MP4.
However, when checking the metadata of the MP4, I see some results that I want to change, hoping someone can help me or can explain why it happened.
This is the…

Dragonix
- 199
- 1
- 1
- 14
4
votes
2 answers
What is this subtitle format called?
I found a subtitle that goes like this:
TEXT 1
TEXT 2
......
What is that format called?

casolorz
- 8,486
- 19
- 93
- 200
4
votes
1 answer
ffmpeg: add subtitles to mp4 with out creating a new file
ffmpeg -i infile.mp4 -i infile.srt -c copy -c:s mov_text outfile.mp4
adds subtitles to mp4 video but it creates a new file instead just adding few blocks of data to existing file.
Is there a way to modify existing video instead of creating a new…

Necktwi
- 2,483
- 7
- 39
- 62
4
votes
0 answers
How to compile libass to iOS platform?
I want to render .ass file to display subtitles, but I don't know how to cross-compile it.
Github repo is here:
https://github.com/libass/libass
I'm looking for some build scripts kind of things, anybody can help? Thanks.

Franz Wang
- 596
- 4
- 14
4
votes
6 answers
how make youtube subtitles selectable?
when activating youtube subtitles, if you try to select a word in the caption of subtitles witch identified in the DOM by id="caption-window-1" , the first thing noticed is that : it is not selectable, so to make it selectable, i run this script…

Jolo
- 41
- 2
4
votes
1 answer
MediaPlayer doesn't continue showing subtitle (.SRT) after pause or seekTo
I'm trying to implement subtitles to videoview. I've used this example project :
package com.example.media.timedtexttest;
import java.io.Closeable;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import…

MilanNz
- 1,323
- 3
- 12
- 29
4
votes
2 answers
Subtitle in the wrong position and legend not visible
I have five lists which I intend to plot in two separate subplots. In subplot 1 I want list 1, 2, 3 and 4; in subplot 2 I want list 4 and 5. These are the lists and the event_index used to set the x label.
event_index=['event 1','event 2','event…

FaCoffee
- 7,609
- 28
- 99
- 174
4
votes
1 answer
Swift UITableViewCell Alignment
I am trying to display a page like the following
page title (left align)
region name(center align)
people in the region(subtitle with email in the detail label)
But if I choose subtitle as cell style, everything will be left aligned and I cannot…

Jun Luo
- 139
- 1
- 13
4
votes
1 answer
How to embed subtitles to .mp4 movie using ffmpeg
I'm trying to embed subtitles I wrote to a movie I created.
I'm using FFmpeg version: ffmpeg-20150418-git-edbb9b5-win64-static with the command:
ffmpeg -i in.mp4 -f srt -i subs.srt -c:v copy -c:a copy -c:s mov_text out.mp4
I saw here.
But I get…

hudac
- 2,584
- 6
- 34
- 57
4
votes
3 answers
Convert videos with all contained subtitles and audio into mp4 via commandline using handbrake
I'd like to convert my videos with Handbrake from mkv to mp4. But I want all audio files and subtitles contained in the mkv into the new mp4 container!
I use Handbrake 0.9.9 GUI because in this version you can predefine the amount of audio tracks…

MarcelHodan
- 580
- 1
- 7
- 27
4
votes
2 answers
How to add subtitles from a SRT file on a video and play it with Gstreamer in a c program
I want to play a video with a C program using Gstreamer and adding subtitles from a SRT file.
I'm new to gstreamer and I somehow figured out who to make it work in command-line :
gst-launch filesrc location=video.srt ! subparse ! \
overlay.…

Aleksandair
- 167
- 1
- 2
- 11