Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [video-subtitles]

The tag has no usage guidance.

2
votes
1answer
41 views

youtube-dl, how to write all subs of a youtube playlist to ONE single file?

I'm on Fedora 28 OS and have youtube-dl version 2019.03.18 and I wanted to download all the subs and only the subs of a Crashcourse playlist off of youtube, consisting of 45 videos. I want all the ...
1
vote
0answers
31 views

How to synchronize subtitles with Subtitle Composer?

This is easy for me with Gnome Subtitles (gnome-subtitles): selecting a subtitle line from the beginning that corresponds to the present video frame, and going to Timing>Synchronize>Add, adding a ...
1
vote
0answers
119 views

Extract hardcoded subtitles

I wanted to know if there is a way to extract hardcoded subtitles via OCR, should I do some image processing after extracting the frames in order to use tesseract afterwards? I have tried to extract ...
0
votes
1answer
446 views

How to remove arbitrary subtitles formats from mkv with a shell loop

I made this script to remove ALL subs from all mkv files in a given path. It works ok. But now I want to only remove PGS subtitles and keep all SRT files, no matter the language. for file in "$@"*...
0
votes
0answers
318 views

sub-scale=1 doesn't work in ~/.mpv/config

I am running mpv on Debian testing/buster hence running mpv 0.25.0 . I had asked a question about making subtitles bigger in Making subtitles (.srt) bigger or smaller with mpv and was told that if I ...
3
votes
3answers
122 views

How to append some line matched to previous line matched with sed?

For example, transfer below 00:00:10.730 this presentation is delivered by the 00:00:13.230 Stanford center for professional 00:00:14.610 development okay so let's get started 00:00:25.500 with ...
2
votes
0answers
31 views

Timed display of text in terminal, perhaps slight markup (bold, colors). A.K.A. “play .srt subtitles”

Independent of the media player, I want to display separate subtitles in a scrolling text terminal to make language learning easier, or when I want more/different subtitles than the other viewers, ...
8
votes
3answers
8k views

Making subtitles (.srt) bigger or smaller with mpv

How do I make subtitle appear larger or smaller with mpv ? The subtitles are in .srt format most of the times but sometimes also in the movie itself ? Is there a way to do that ? Also is there a ...
4
votes
0answers
257 views

“Stretching” subtitles with command line tool

I got a video file with a duartion of e.g. 30 mins and a subtitle file that belongs to this video. But the subtitle file only lasts 25 minutes. Now I'm searching for a way to achieve the following: I ...
7
votes
1answer
4k views

Is there a way to find out the frame-rate of a subtitle file?

While I can find the frame rate of movie via - $ mediainfo $somemovie.$format | grep Frame rate Is there anything which tells the frame-rate of a sub file, (.srt) ?
3
votes
5answers
1k views

Automatically downloading subtitles

There is a media player for Windows, BSPlayer, which can automatically download subtitles. The great thing about it is that it kind of magically always picks the right one, contrary to manual ...
6
votes
1answer
2k views

Batch removing subtitles using MKVToolNix

I need to batch remove all subtitles from MKV files in a directory, using MKVToolNix, for one file I figured: mkvmerge -o output.mkv --no-subtitles input.mkv How do I achieve this for 100+ files?
3
votes
1answer
4k views

Convert image based subtitle to text based subtitle inside MKV file

How do I convert a hdmv_pgs_subtitle (which is image based) to a text based subtitle in a MKV file? I have tried ffmpeg -i in.mkv -c:v copy -c:a copy -c:s mov_text out.mkv but that results with the ...
1
vote
1answer
2k views

Open HDMV PGS subtitles in GNU/Linux

I wanted to know if there's any software in GNU/Linux which can read BluRay subtitles (HDMV PGS). I'm not talking about making an OCR to convert them to SRT like everyone asks, but just reading them ...
2
votes
1answer
4k views

How do I extract subtitles from Video files?

I want to use the command line to extract subtitles from video files. I want to extract subtitles from a lot of files. That is why I want a CLI tool. Ideally it should work with any video format ...
1
vote
2answers
740 views

How to watch a DVD video with external subtitles in Linux?

There are video players in Windows that can use external subtitles when playing a DVD movie, but are there in Linux too? (MPC-HC and PotPlayer are the most obvious solutions for this in Windows. I ...
1
vote
1answer
9k views

Re-encoding video with ffmpeg including all subtitles but not all audio

I'm trying to re-encode video streams from a Matroska file to save space, while keeping all the subtitles as-is, using ffmpeg. I want to write a generic command that works without me having to specify ...
1
vote
0answers
59 views

Miro player doesn't recognize subtitle from video encoded by ffmpeg

It was the first time I encoded a video on Ubuntu. I used ffmpeg to extract the video/audio, encode them and join with a subtitle to a new file. All these steps were fine. I used the following ...
2
votes
0answers
273 views

ffmpeg hardcode subs on flv

Giving up on trying to use videosub.js, I am now trying to hard code subtitles to the video file using ffmpeg. Have run into trouble with configuration files not found, when trying to hard code the ...
3
votes
2answers
10k views

How to convert a .txt subtitle file to .srt format?

I have a subtitle file, it looks like this: 00:00:44:" Myślę, więc jestem".|Kartezjusz, 1596-1650 00:01:01:Trzynaste Pietro 00:01:06:Podobno niewiedza uszczęśliwia. 00:01:10:Po raz pierwszy w życiu|...
2
votes
0answers
634 views

Player or plugin that can transcribe audio to real time subtitles

I'm searching for a Linux player (or a plugin for an existent player) with a similar functionality to Youtube: transcribe the audio to real time subtitles. I would like this to help me watch videos ...
9
votes
3answers
32k views

How can I embed subtitles into videos with ffmpeg?

I'm told it's possible to embed subtitles (.srt) into video files (.avi) using ffmpeg, but I can't find any mention of it in the man page. Is this possible? What command do I use?
9
votes
3answers
7k views

How to 'burn' a subtitle track onto an mp4 video file

I would like to make a subtitle file to be a part of an mp4 video file, so that I don't have to deal with two separate files. I imagine two ways: Make the subtitle an intrinsic part of the video. ...
11
votes
2answers
7k views

How do I merge two *.srt files

Please see this question. I have just merged two avi files cd1.avi and cd1.avi into movie.avi using: avimerge -o movie.avi -i cd{1,2}.avi Problem is that I had to subtitle files linked to the first ...