Skip to main content

Questions tagged [subtitles]

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

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

ffmpeg -c:s dvdsub continues processing after writing the outuput

When running ffmpeg -y -t 20 -i test-in.ts -c:s dvdsub test-out.mp4 ffmpeg continues to use CPU after writing the 20 seconds of output. Observed with versions 6.1.1 and 7.0. There is no such problem ...
Peter's user avatar
  • 11
0 votes
0 answers
28 views

Specific Video Making

I know this may be oddly specific, but answer me these: How do I make a video out of images where each image lasts for 5 seconds? I am looping a video where the characters can only say "1! 2!&...
David Pilling's user avatar
1 vote
0 answers
91 views

How to extract subtitle timestamps using ffprobe (not working as expected)?

I am trying to extract subtitle timestamps from a M2TS file using ffprobe. This does not work as expected. The M2TS file is known to contain 1001 subtitles in track 4, but I am getting about 4000 ...
Binarus's user avatar
  • 1,835
0 votes
1 answer
144 views

Change subtitle font size with ffmpeg

I’m able to change the FontName when hardcoding subtitles with ffmpeg: ffmpeg -y -i temp.mp4 -vf subtitles=subtitles.srt:force_style='FontName=Roboto-Condensed-Bold' output.mp4 but unable to change ...
Sulli's user avatar
  • 137
1 vote
0 answers
48 views

ilovepdf desktop leaves warning message

ilovepdf desktop program shows the message "Your PDFs have been converted successfully" when the conversion process is completed while right-clicking on Windows. The question is, how to ...
Burak Celik's user avatar
0 votes
0 answers
42 views

Why does Handbrake on Mac have subtitle options not available on Windows, and what do they do?

The most recent version of Handbrake (1.7.3) has two subtitle burn-in options on Mac that are missing on Windows: "DVD Subtitles" and "Blu-ray Subtitles". The screenshots in the ...
KnowItAllWannabe's user avatar
1 vote
0 answers
48 views

Generating ffmpeg command to mux in subtitles matching the style of VLC

I am trying to mux in subtitles with ffmpeg, but I am having trouble getting the desired style and output with a reference point being VLC's standard format of showing subtitles matching the look of ...
bigboss's user avatar
  • 11
0 votes
0 answers
115 views

WEBVTT usage with correct X-TIMESTAMP-MAP such that VLC will synchronize

I have a VTT subtitle file where the first lines looks like the following WEBVTT X-TIMESTAMP-MAP=MPEGTS:1810830,LOCAL:00:00:00.000 00:35:43.618 --> 00:35:46.138 Because the sub titles in fact ...
Jaleks's user avatar
  • 257
0 votes
1 answer
199 views

How to convert multiple .VTT segments to one single .VTT file or subtitle file?

I have a list of .VTT segments from a bunch of URLs for a stream looking like these (the total amount of segments is much higher): https://drod24s.akamaized.net/all/clear/none/d9/...
bigboss's user avatar
  • 11
0 votes
0 answers
142 views

Disable subtitles by default in a MP4 file using FFmpeg

Is there a way to disable (not to remove) subtitles by default using FFmpeg, I tried: ffmpeg -i input.mkv -map 0:0 -map 0:1 -map 0:2 -c:v copy -c:a copy -c:s mov_text -disposition:s:s:0 0 output.mp4 ...
Nau's user avatar
  • 205
2 votes
1 answer
114 views

I cannot seem to add subtitles to MP4 using FFmpeg

I have a video called test_video.mp4 downloaded from YouTube This is the information of the video obtained by running ffmpeg -i test_video.mp4: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test_video.mp4'...
Nau's user avatar
  • 205
0 votes
3 answers
647 views

How do I extract a subtitle track from an MP4 file in a usable format?

I have an MP4 file containing a subtitle track. When I extract it using MP4Box -raw 3:output=track3 myfile.mp4 I get a .tx3g file - a semi-binary format. My subtitle editors don't support it, and I ...
einpoklum's user avatar
  • 9,741
0 votes
0 answers
137 views

How to extract subtitle from usm file

I would like to extract subtitle.txt from usm file, I tried use ffmpeg but it show unspuported file. Hexedit show that file has txt extension. Ffmpeg support demux cri usm file, but I cant figure out ...
Marcin Nancin's user avatar
0 votes
1 answer
160 views

FFmpeg: How to encoding h264 mkv files in h265 mkv and keep the 2 subtitles streams?

I've lots of mkv files in h264 format with 2 languages of subtitle, and I'm trying to convert them in h265 (with cuda) and keep the 2 subtitles streams. I've tried that: ffmpeg -i "xxx.mkv" -...
ShkYo's user avatar
  • 11
3 votes
1 answer
293 views

How to escape file path for burned-in text-based subtitles with FFmpeg?

I'm trying to burn text-based subtitles into a video using ffmpeg, via the command line option -vf followed by subtitles=(filename):si=(subtitle index). I need this to work for both Windows and macOS. ...
kshetline's user avatar
  • 165
3 votes
3 answers
576 views

Convert a video with a specific subtitle overlay

I downloaded a video file found on TED. It was with subtitles in different languages. Then I tried to convert it to an MP4 file using the VLC media player. In the conversion profile, I checked Overlay ...
Mori's user avatar
  • 74
1 vote
1 answer
126 views

Unexpected output when using FFMPEG to add multiple English Subtitles to MP4 file

I am trying to soft-encode 3 subtitle files into my film. I extracted the subtitles from the DVD using ByteCopy I am using this command to add the files: ffmpeg -i BloodDiamond.mp4 -i ...
Our Man in Bananas's user avatar
0 votes
0 answers
152 views

ffmpeg fails to detect subtitles

Just encoding an episode of Game of Thrones, Season 5, Episode 6 - Unbowed Unbent Unbroken. First copy to a temporary file, and thats whats fails to detect all subtitles. Here is an example that works,...
Summers's user avatar
  • 11
-1 votes
1 answer
265 views

How do I burn an MKV with picture-based subtitles into a DVD?

I'm trying to figure out how to burn a series of MKV files with picture-based subtitles (not srt) to a video DVD but I can't figure out how to achieve this. I tried DVDStyler and it did import the ...
user9564371's user avatar
0 votes
1 answer
2k views

yt-dlp: search and download videos with closed captions / subtitles

yt-dlp has the ability to search the web for videos from the command line and download the first result, but I'd like to limit the search to results with Closed Captioning (㏄) or subtitles, if ...
hackerb9's user avatar
  • 1,037
0 votes
1 answer
220 views

Does 'force_style' work with 'subtitles=video.mkv' for FFMPEG?

I am using this script to encode an burn in subtiles for an entire folder: for filepath in newFiles: video = os.path.basename(filepath) videoName = os.path.splitext(video)[0] newFile = '%s....
http.bird's user avatar
1 vote
0 answers
335 views

How to add multiple audio and subtitle tracks to video?

I'm trying to add an audio track and three subtitle tracks to a video file with already one audio track, but can't get it to work. How does it work (on Linux in case it isn't obvious)? The subtitle ...
zvavybir's user avatar
  • 145
0 votes
0 answers
457 views

How to fix subtitles overlapping in KM Player?

I am trying to watch a movie with subtitles in KMplayer. But subtitles are overlapping making them difficult to read. How can I fix this?
Chanaka Ranaweera's user avatar
9 votes
1 answer
6k 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
  • 6,014
1 vote
1 answer
384 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
  • 6,014
0 votes
0 answers
325 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
4k 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,853
1 vote
0 answers
643 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
290 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
420 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
3k 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
  • 623
0 votes
0 answers
866 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
518 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,629
1 vote
1 answer
8k 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
  • 11
0 votes
1 answer
637 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
75 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
606 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
3k 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
2 votes
1 answer
1k 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
  • 931
2 votes
2 answers
2k 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
0 answers
3k 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
3k 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
  • 143
0 votes
0 answers
211 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
1k 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
2k 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
5k 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
2 answers
2k 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
350 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
2k 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
272 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

1
2 3 4 5
8