Questions tagged [video-subtitles]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Subtitles not showing up in browser's online player in pop os

I recently installed pop os. I'm trying to watch anime in google chrome but the subtitles doesn't show up. It worked fine in windows. I've tried different sites and different browsers but the ...
ZJ Raain's user avatar
4 votes
1 answer
752 views

Is it possible to tell mpv to act like subtitles don't exist

I am practicing Japanese, and as a practice tool, I sometimes want to watch anime without subtitles. I know I can turn off subtitles in mpv using hotkeys, and I am also aware of --sid=0; however, in ...
TT-392's user avatar
  • 137
2 votes
1 answer
2k views

How to make subtitle by default in a certain position in mpv

This is my mpv.conf - $ cat ~/.config/mpv/mpv.conf alang=eng,en,english slang=en,eng, english sub-scale=1.00 save-position-on-quit Now I want that the subtitle should appear at a certain place while ...
shirish's user avatar
  • 12k
1 vote
1 answer
145 views

Is it possible to make SMPlayer check for and load external subtitles from a subdirectory (e.g. ./Subs/*.srt etc)?

I generally use VLC and that works fine most of the time but at a recommendation to check out mpv and mpv-based players, I have been trying to see if SMPlayer would also work for my needs. However, I ...
zpangwin's user avatar
  • 601
0 votes
2 answers
2k views

Unable to view a subtitle in mpv

I have a subtitle that is in .vtt format. I can see the subtitle in l3afpad or any text editor but am unable to play that specific subtitle in MPV. I looked through all of https://mpv.io/manual/stable/...
shirish's user avatar
  • 12k
1 vote
1 answer
496 views

A video player with subtitles transparency settings and the ability to combine subtitles files

QUESTION Is there a video/movie player for Linux that   (a) has a setting for the transparency/opacity of the subtitles and   (b) can append/combine subtitles from two subtitles (e.g. SRT) files? ...
user avatar
1 vote
1 answer
741 views

Are there any command-line tools to merge two srt files?

I have two srt files, cd1.srt and cd2.srt. Unfortunately, srtool is no longer available anywhere which was the answer to the same question when it was asked a few years ago. How do I merge two *.srt ...
shirish's user avatar
  • 12k
0 votes
1 answer
641 views

mpv - subsitles not rendered per mpv.conf even with --sub-ass-override=strip --embeddedfonts=no

I got a mkv file recently where I noted mpv renders subtitles not as I put in mpv.conf. The file has two subtitles streams and one is displayed as describes in mpv.conf, but other is just same no ...
Martian2020's user avatar
  • 1,083
0 votes
1 answer
400 views

Extract embedded subtitles

I have a couple of video files which are subtitled in English. Unfortunately the subtitling is encoded into the video bitstream. I would like to extract the titles (as UTF8 …). Is there a tool to do ...
Matthias Urlichs's user avatar
1 vote
2 answers
159 views

How to change \n to space and \n\n to \n by sed?

I use sed to convert an srt file to a regular text file. Ansrt` file has a format of 1 00:20:41,150 --> 00:20:45,109 line 1 line 2 2 00:21:41,150 --> 00:21:45,109 line 3 line 4 So I use the ...
Googlebot's user avatar
  • 1,909
0 votes
1 answer
944 views

Cut dvbsub from MPEG-TS with ffmpeg

I have a bunch of MPEG-TS files, originally created by a hardware TV-recorder. ffprobe lists their content like so: Input #0, mpegts, from 'recording.ts': Duration: 02:14:57.67, start: 87544.254878,...
XZS's user avatar
  • 1,438
1 vote
1 answer
487 views

how to figure out font color given in subtitle (srt) in mpv

For e.g. I have this sort of subtitle 1 00:01:55,201 --> 00:01:58,401 <font face="sans-serif" size="47"><font size="20"><b>It's absurd going to school every day. The school's ...
shirish's user avatar
  • 12k
3 votes
1 answer
3k views

way to transform vtt, ttml, srv3, srv2 or srv1 insto srt?

When I use youtube-dl to list-subs I usualy get something like the following - en vtt, ttml, srv3, srv2, srv1 Is there a way to transform any of these subtitle formats to .srt format using ...
shirish's user avatar
  • 12k
0 votes
0 answers
253 views

is there a way to extract embedded or muxed subtitles in an mkv media file without harming the media file

I have a media file which has an embedded subtitle file with it. I want the subtitle to be extracted or to be more precise a copy of the subtitle which is embedded in the media file. There are some ...
shirish's user avatar
  • 12k
3 votes
1 answer
2k 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 ...
WobblyWindows's user avatar
2 votes
0 answers
650 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 ...
SkyBeast MC's user avatar
9 votes
1 answer
7k views

youtube-dl download autotranslate subs

I would like to download auto-generated subtitles with youtube-dl as follows $ youtube-dl --write-auto-sub \ --skip-download \ https://www.youtube.com/watch?v=vbLEf4HR74E It ...
xralf's user avatar
  • 16.3k
1 vote
2 answers
2k 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 "$@"*...
Freedo's user avatar
  • 1,215
0 votes
0 answers
730 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 ...
shirish's user avatar
  • 12k
4 votes
4 answers
276 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 ...
brook hong's user avatar
2 votes
0 answers
55 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, ...
Alex Stragies's user avatar
4 votes
0 answers
380 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 ...
tr01's user avatar
  • 596
7 votes
1 answer
10k 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) ?
shirish's user avatar
  • 12k
3 votes
5 answers
4k 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 ...
viuser's user avatar
  • 2,564
8 votes
1 answer
5k 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?
Vlastimil Burián's user avatar
8 votes
2 answers
16k 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 ...
Oskar Persson's user avatar
4 votes
1 answer
5k 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 ...
Jeffrey Lebowski's user avatar
6 votes
1 answer
9k 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 ...
Wally's user avatar
  • 297
1 vote
2 answers
2k 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 ...
user avatar
12 votes
2 answers
30k 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 ...
nilli's user avatar
  • 123
1 vote
0 answers
77 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 ...
Marlom's user avatar
  • 11
2 votes
0 answers
363 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 ...
cea's user avatar
  • 1,523
5 votes
2 answers
11k 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|...
Mikhail Morfikov's user avatar
2 votes
0 answers
768 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 ...
GarouDan's user avatar
  • 991
11 votes
3 answers
41k 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?
xralf's user avatar
  • 16.3k
11 votes
3 answers
9k 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. ...
tshepang's user avatar
  • 64.7k
13 votes
3 answers
11k 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 ...
Stefan's user avatar
  • 24.9k