As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [subtitles]

Use this tag when referring to subtitles on videos/movies etc...

Filter by
Sorted by
Tagged with
-1 votes
0 answers
27 views

How do I automatically generate subtitles for a 3-hour-long movie?

Sorry I don't have anywhere else better to ask this question I have a Japanese video that is 3 hours long. There are two-people conversations throughout the mp4 video with long pauses in between. I ...
DavidNyan10's user avatar
0 votes
1 answer
66 views

VLC media player, how can I display subtitles for an mp3 file?

I have LaiShiXiong-zm015.mp3 and LaiShiXiong-zm015.srt. The latter is the real subtitle for that mp3 audio. When playing the mp3 audio with VLC 3.0.4, VLC shows that it has recognized my subtitle as &...
Jimm Chen's user avatar
  • 5,563
0 votes
1 answer
41 views

Is there a way to avoid overlaying subtitle text on video frame?

I have a 20150928 WPA Basics.mp4 and a 20150928 WPA Basics.srt. When play that mp4 file using VLC 3.0.4 on Windows. I see the following scene: You see, the subtitle text overlays the video content, ...
Jimm Chen's user avatar
  • 5,563
0 votes
0 answers
45 views

Is there any ffmpeg option to rescale too fast/slow subtitles?

I found subtitles to an old movie but no one fits to it correctly. I found a delay option like: ffmpeg -itsoffset 2 -i subtitles.srt -c copy subtitles_delayed.srt which could fit it at current frame, ...
Peter.k's user avatar
  • 129
1 vote
1 answer
766 views

mpv: How to play audio with SRT subtitles?

Is there a way to get mpv to display external .srt subtitles with audio files? In vlc this can be achieved by enabling Audio > Visualizations > Spectrometer, and then in advanced Settings under ...
ccpizza's user avatar
  • 7,348
1 vote
0 answers
162 views

Metadata for closed captioned subtitles

I have a video file (mp4.mp4) and two subtitle files (cc.srt and sub.srt). Both subtitle files are in English but the first one has sound effects "[gasps]" and "[coughs]". If I add ...
Artyer's user avatar
  • 111
0 votes
1 answer
109 views

How to combine these two FFmpeg commands into one command?

I'm using ffmpeg to modify multiple .mp4 files. First I use this command to change the default language from eng to fr. ffmpeg.exe -i "imput 1.mp4" -map 0 -c copy -disposition:a:0 0 -...
Dimitri's user avatar
1 vote
0 answers
157 views

ffmpeg subtitles does not copy text, only timestamps when converting ass to srt

I've been trying to convert an mkv to mp4 without loosing subtitles, however nothing has worked so far. I've narrowed it down to some sort of bug (I think). I can extract the subtitles from the mkv to ...
pop1040's user avatar
  • 21
1 vote
1 answer
776 views

Unable to find a suitable output format for 'copy' copy: Invalid argument - ffmpeg Error

I'm trying to get the video and first voice channel with converted AAC. Also trying to add a subtitle. The command I've used is: ffmpeg -i yourmkv.mkv -i yoursubtitles.srt -map 0:v -map 0:a -map 1:s -...
tatoline's user avatar
  • 593
0 votes
0 answers
278 views

How the options to set/unset a default subtitle stream interact?

Using ffmpeg. Say I have an input video file with several subtitles, one of them being flagged "default" (say the 0:s:1 stream, that is the 2nd subtitle stream). I am copying all of them: -...
PierU's user avatar
  • 1,556
0 votes
0 answers
287 views

Set default subtitle language based on language code (eng, spa, etc.), not the stream specifier

I batch downloaded videos from a channel, but the subtitle languages available for each video are not consistent. Is there a way to set a default subtitle using the language code (e.g. eng, spa, fra, ...
athena's user avatar
  • 1
0 votes
0 answers
272 views

ffmpeg/ffprobe won't detect the language of a WEBvtt (subtitles) file

A WEBvtt subtitle file starts with a few header lines, and one of them indicates the language: WEBVTT Kind: captions Language: en 00:00:09.977 --> 00:00:11.563 I'd like you to take a look at this ...
PierU's user avatar
  • 1,556
0 votes
1 answer
2k views

How can I extract a subtitle in "HDMV PGS" format from a video with FFmpeg?

I'm trying to extract a subtitle in "HDMV PGS" format embedded in a video with this command ffmpeg -i Movie.mkv -map 0:s:0 subs.srt from an answer on Super User command, but it gives the ...
Idhtft's user avatar
  • 1
0 votes
0 answers
156 views

Subtitles - Muxing but removing info from title

So I've got some files being muxed into an mkv file and I add a subtitle to it. I want to remove the [gre] (ass) part from the following subtitle info (title): Example Here Code: ffmpeg.exe -i video....
Yamile's user avatar
  • 1
0 votes
1 answer
233 views

How do I customize the timeshift parameter of the delay subtitle keyboard shortcut in VLC?

I always use subtitles when watching movies/TV shows, and kept using BSPlayer just because of the keyboard shortcuts it offers to tweak the subtitles on the fly. And I use these shortcuts a lot. For ...
MonkeyBack's user avatar
2 votes
0 answers
31 views

Huge video duration after PGS subtitles burn onto video

i'm trying to burn subtitles onto video stream and something weird happens. This is my video file before the process: ffprobe version N-107936-gf99d15cca0-20220829 Copyright (c) 2007-2022 the FFmpeg ...
Tvuce's user avatar
  • 21
0 votes
1 answer
154 views

Disabling subtitles within M3U playlists

I have hundreds of playlists, some days-long, that run on my media machine. But if there are MKV files with subtitles VLC is displaying the subtitles all the time. It is distracting and I have to ...
Ali Kayn's user avatar
1 vote
1 answer
1k views

How to add metadata to subtitle?

I'm trying to add language metadata to existing external .ass subtitles, but it doesn't seem to work. I'm using ffmpeg -i input.ass -map 0 "-metadata:s:s:0" "language=eng" "-...
tyrande's user avatar
  • 11
0 votes
1 answer
371 views

How to do automatically transfer subtitles from one video to another ? (based on video stream)

I have the following : a mkv file (let's call it A) with video, audio and subtitles correctly synchronized. another mkv file (let's call it B) with video and audio also synchronized but without ...
tigrou's user avatar
  • 871
0 votes
0 answers
149 views

VLC audio randomly out of sync after subitiles embeded

I can't find an answer anywhere so hope someone might help. I've used VLC for years always works fine. I recently used it to embed subtitles, watched multiple tutorials and the embeded subtitles work ...
JoMo's user avatar
  • 1
2 votes
0 answers
959 views

How to make youtube-dl (yt-dlp) generate subtitles properly and not duplicate the text?

I'm using yt-dlp to download some videos, and I've told it to embed the subtitles. This seems to work, except it's generating subtitles in the most horrible way by duplicating the text. For example, ...
Component's user avatar
0 votes
1 answer
2k views

How can I force a subtitle track to be set as active on an MP4 video?

I'm converting .mkv's to mp4 and it's working, however the issue is that when I open the .mp4, the subtitle track is disabled by default. I have to manually select it as such: How can I make it so ...
Mnea's user avatar
  • 1
2 votes
2 answers
1k views

ffprobe OCR of a subtitle stream

I have some video files containing HDMV PGS subtitles, and I need to convert them to subrip (or other text subtitles). I know that I can ffmpeg demux the video file to extract .sup and on the fly ...
Minty's user avatar
  • 141
0 votes
0 answers
176 views

FFMPEG: boost video volume but preserve subtitles

Using as input video files that contain subtitle streams, currently I use this command to boost volume while copying video: ffmpeg -i input_file -vcodec copy -af "volume=10.0dB" ...
GI D's user avatar
  • 1
1 vote
0 answers
772 views

How to I use MKVmerge to add sbtitles to MKV but disable all of them

I came across mkvmerger.bat on this site and it works really well for me (How to mkvmerge all videos and subtitles with the same file name) BUT It seems to set the last subtitle file as the default (...
user713275's user avatar
0 votes
1 answer
1k views

FFMpeg Softsub ass to mp4 using custom font

Requirement I'm trying to add an ass subtitle file to a mp4 video. I want the text to use system/custom fonts and have a certain position. My test This is an example of my ass file: [Script Info] ...
Timmy's user avatar
  • 223
-1 votes
2 answers
2k views

How to convert audio/video file to SRT?

I want to convert audio/video file to SRT. I've tried these commands: ffmpeg -i sample.mp4 sample.srt ffmpeg -threads 4 -i sample.mp4 -vn -an -codec:s:0.2 srt sample.srt But then I learned that it ...
TheCodeExpert's user avatar
0 votes
1 answer
967 views

How to convert text-based subtitles to image-based subtitles?

I want to convert an ass type subtitle track into a dvd_subtitle type track. I know I can't simply ask ffmpeg to convert it with -c:s dvd_subtitle, but there must be another simple way, since video ...
nc404's user avatar
  • 115
0 votes
0 answers
258 views

VLC Subtitles are cut off/looping around?

I have a .mkv file with .srt subtitles. For some reason, sometimes the last letter of the top row of subtitles gets cut in half, and the half that gets cut off appears at the front of the sentence? ...
ItsCheif's user avatar
0 votes
1 answer
1k views

Can I make VLC to show English subtitles if the language is not English except when it is Russian?

The title says it all. Can I make VLC to show English subtitles if the language is not English except when it is Russian? I like foreign TV series, e.g. French, German, Spanish and Portuguese (sorry, ...
Davids Gaisevskis's user avatar
1 vote
0 answers
177 views

How to hard code / embed subtitles of videos inside a folder with FFMPEG

Lets say I have folder A with lots of videos that have TX3G subtitles Some videos don't have any subtitles So I need a windows command to process all videos inside this folder and embed / hard code ...
Furkan Gözükara's user avatar
2 votes
1 answer
385 views

Batch file to recursively mux .mp4 and .srt from different folders

There is a new trend in torrents to release TV and Movies as x265 .mp4 with .srt subs in a separate folder, following this folder structure: Season1\title1.mp4 Season1\title2.mp4 Season1\title3.mp4 ...
Answer42's user avatar
1 vote
0 answers
2k views

Extracting QuickTime mov_text subtitles with ffmpeg

I have a .mov file that has mov_text-formatted subtitle tracks that were created using the old (now deprecated) QuickTime 7 Pro's "Text Track" feature. This is what ffmpeg -i myfile.mov ...
jan's user avatar
  • 183
0 votes
1 answer
2k views

Extracting DVB_subtitles with ffmpeg fails with empty file / nothing encoded

These are the streams contained: Stream #0:0[0x247]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #...
udippel's user avatar
0 votes
1 answer
665 views

ffmpeg adding subtitles with options

Hi I'm having trouble adding options to subtitles: I can only add 1 attribute. ffmpeg -i "video.mp4" -vf 'subtitles=subtitles.srt:force_style=Fontname=Z003,PrimaryColour=&HCCFF0000' -y &...
user1630709's user avatar
2 votes
1 answer
766 views

Use ffmpeg to convert .mkv to .mp4 while retaining hard-embedded subs

I'm trying to convert an mkv video into mp4 while keeping the hard-embedded subs. Extra information is below - does anyone know which command I should use to make this work? So far I've tried these ...
Wilan's user avatar
  • 21
1 vote
1 answer
59 views

Final Cut Pro subtitle coordinates are not as expected when the project is vertical

For landscape video Create a project with 1920x1080 resolution Add a 1920x1080 resolution image and add a subtitle by pressing control+T Let's take a look when the subtitle on these four positions ...
Willis's user avatar
  • 111
1 vote
1 answer
931 views

how to embed RTL subtitles in a video (hebrew, arabic, ...) with the correct language directionality?

I try to hard-code subtitles in a video, by re-encoding the video with the subtitles as graphics (and NOT as an additional stream). The subtitles are in Hebrew / Arabic. (All texts are UTF-8 encoded. ...
Berry Tsakala's user avatar
0 votes
1 answer
995 views

Removal of select subtitle tracks and audio tracks from mkv file in batch

My problem is that I have 2 subtitle tracks, one is named "English signs and songs" and another is called "English full". I also have English and Japanese audio tracks (dual audio)....
Haadee Bin Hafees's user avatar
0 votes
1 answer
891 views

ffmpeg: mkv to mp4 with subtitles hardcoded

I don't understand something. I'm trying this: ffmpeg -i input.mkv -map 0:0 -map 0:2 -map 0:3 -vf subtitles=input.mkv output.mp4 But I have this error: Automatic encoder selection failed for output ...
user1508331's user avatar
0 votes
1 answer
283 views

ffmpeg subtitles filter input pad error

What am I doing wrong? I'm trying to make this work for a couple of hours now. I know it has something to do with the subtitles filter but couldn't figure it out. If I run a sample command, such as ...
Nicolae Olariu's user avatar
1 vote
0 answers
310 views

Subtitles misaligned/missing when cutting video using ffmpeg

TL;DR: After cutting a video with ffmpeg, subtitles are invisible in VLC player even though there is a subtitle stream. I have an MP4 file of a TV recording of a movie and I want to cut off the parts ...
Mophotla's user avatar
  • 131
1 vote
2 answers
769 views

Why are subtitles not showing in SMPlayer?

My OS is ubuntu 20.04 LTS and I am using SMPlayer 19.10.2. Randomly some videos do not display subtitles, gives no error when loading subtitle file… Recently, one of the videos that should display ...
Truth's user avatar
  • 504
1 vote
1 answer
737 views

FFmpeg: Issues muxing/copying ASS subtitle streams from one MKV source with another MKV, causes 33secs of missing subtitle at the beginning

Hey first time posting, But I really tried to look all around for a solution, even tried a couple of options that worked for me before for a similar issue with WebVTT from another solution [here]. ...
Jinhjy's user avatar
  • 11
1 vote
1 answer
3k views

How do I copy a specific subtitle track, by language, with FFmpeg?

I have a video file with 30+ subtitles from which I want to save only the English subtitle track. Input #0, matroska,webm, from 'Galaxy.mkv': Metadata: title : Galaxy.720p.WEBRip.x264-...
sfxedit's user avatar
  • 213
1 vote
1 answer
2k views

How can I eliminate overlapping subtitles in VLC media player?

I am trying to watch a video with subtitles in VLC media player. But subtitles are overlapping making them difficult to read. How can I fix this? : PS: video file is .mp4, subtitles file is .srt.
Rnj's user avatar
  • 123
1 vote
1 answer
2k views

Is there a way to download the auto generated subtitles of videos in a private / public YouTube playlist?

I found this cool Reddit link here which basically does what the title says, but this stuff felt a bit confusing to me. Can somebody please suggest if there's a better way to download the ...
dongcopter's user avatar
3 votes
0 answers
344 views

Change the speed of subtitles in an srt file

I have a set of videos that were recorded at 25 fps. That was the original speed of the video and I want to keep it that way. The video and audio work fine. I have a corresponding set of subtitle ...
farnsy's user avatar
  • 131
1 vote
0 answers
1k views

How to Batch Merge Identically-Named Subtitles and Audio Files Into a .MKV File

I am very unfamiliar with how batch processing with MKVToolNix (I just barely know how to save a .bat file and make it use MKVToolNix), so forgive me if this is obvious. I found an answer here (Batch ...
SuperUserFR's user avatar
0 votes
0 answers
362 views

ffmpeg: adding subtitles (.srt) to MKV only adds first subtitle frame

I am trying to add a separate .srt file to an existing MKV container using ffmpeg: > ffmpeg -i 'input.mkv' -fix_sub_duration -i 'subtitles.srt' -map 0 -c copy -map 1 -c:s:1 srt 'output.mkv' I am ...
AlpacasInSpace's user avatar

1
2 3 4 5
8