Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
29 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
0 votes
1 answer
208 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
2 votes
1 answer
122 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
3 votes
1 answer
304 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
1 vote
1 answer
128 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
1 vote
0 answers
338 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
479 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
0 votes
1 answer
292 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
426 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
880 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
521 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
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
-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
0 answers
351 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
2 votes
1 answer
620 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
3 votes
1 answer
4k 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
  • 201
0 votes
1 answer
1k 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
1k 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
3 votes
1 answer
2k 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
2k 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
2 votes
0 answers
640 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
  • 141
1 vote
1 answer
4k 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
4 votes
0 answers
759 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
  • 141
2 votes
0 answers
1k views

Move .ass subtitles below the video

I am watching a show in 1920x960 format on my 1920x1080 screen in VLC player, with subtitles coming from an .ass file. This is what it looks like: I would like to move the subtitles into the black ...
Mophotla's user avatar
  • 141
0 votes
0 answers
2k views

How do you open multiple videos with multiple subtitles in VLC from command-line?

Usually, you can use this command to open a video with a subtitle in VLC, if it isn't detected automatically: vlc.exe path_to_video.mp4 --sub-file path_to_sub.srt But I want to open multiple videos, ...
Anchith Acharya's user avatar
1 vote
1 answer
10k views

Why is FFmpeg suddenly throwing “Segmentation fault: 11” errors and creating output files with only “ftypisomisomiso2avc1mp4freemdat” as content?

I am running FFmpeg version 4.3.1 — as installed via Homebrew — on macOS Catalina (10.15.7). And this morning I was running a standard FFmpeg command to I use merge MP4 and SRT subtitles: ffmpeg -y -i ...
Giacomo1968's user avatar
1 vote
0 answers
423 views

How to OCR the hardcoded Korean subtitles from a movie?

I got a Chinese movie called "Xin li zui (2017)" with Korean subtitles, burned into it. Or, 'hardcoded'. Now, with an French, Spanish or English subbed movie or just any movie which uses the ...
Sara Phina's user avatar
0 votes
1 answer
2k views

Using mkvmerge to Merge Subtitle Tracks

I am looking for a way to merge two MKV files, each with an embedded subtitle track, into one where the subtitle tracks merge properly and in order. Right now I get two separate subtitle tracks, and ...
Benjamin Morrison's user avatar
1 vote
2 answers
11k views

VLC Media player won't play video when I add subtitles

I am currently trying to play a video file on VLC Media Player. The video file is from an episode of a TV show, and it doesn't come with subtitles. When I play the video on VLC Media Player by simply ...
Rahiz Khan's user avatar
2 votes
1 answer
923 views

Subtitles do not appear immediately after I have stopped them and enabled them again

I am using VLC media player to watch movies, and sometimes I enable subtitles with the V hotkey. And they work fine. But if I accidentally press the V key again, and then one time more, the same line ...
Demian Wolf's user avatar
-1 votes
1 answer
3k views

How do I embed ttml caption files inside mp4 video files?

In this situation, I know ffmpeg is the general answer by doing something like ffmpeg -i 40\ Days\ Falling\ Apart-55db1e546b66d1421b2cb43c.mp4 -i 40\ Days\ Falling\ Apart-55db1e546b66d1421b2cb43c.en....
user2284570's user avatar
  • 1,873
0 votes
0 answers
988 views

Can't Get Subtitles to Format Correctly

I currently have a video file (MKV) and a subtitle file (WebVTT). The subtitles are not formatted well as they don't move to appropriate locations and the text is much too big. I converted the ...
Benjamin Brownlee's user avatar
29 votes
7 answers
162k views

Extracting Subtitles from mkv file

I have installed MKVToolNix and Subtitle edit. I was able to extract subtitle using Subtitle edit through OCR. While it usable, it comes with a lot of errors. Now I thought of using MKVToolNix to ...
user227495's user avatar
3 votes
2 answers
2k views

Problems getting SRT subtitles merged with an MP4 (HEVC/x265/mov_text) transcoded for iOS: “pts has no value” and “is out of range for mov/mp4 format”

I learned how to transcode MKV video to MP4 with HEVC (x265) video encoding to make the files smaller in a way that makes it all compatible with iOS. But while the process is great — and the ...
Giacomo1968's user avatar
2 votes
1 answer
435 views

How to change Youtube subtitles to srt subtitle file?

I can get the subtitles of this video on Youtube from the transcript box. It is in the following form: 00:02 Künstliche Intelligenz ist auf dem Vormarsch. 00:05 Manche sprechen von einer neuen ...
Sasan's user avatar
  • 135
2 votes
1 answer
6k views

Why don't VTT subtitles work in KM Player?

I'm using KM player to play some videos from my downloaded Udemy courses. These videos are coupled with VTT subtitles. Since the .mp4 and .vtt files have the same name, I'm supposed to see my videos ...
El Niño's user avatar
1 vote
1 answer
1k views

Can ffmpeg burn subtitles and extract frames at the same time?

Using ffmpeg, I would like to save frames with subtitles without burning the intermediate step of burning subtitles. Is it possible? What I do now is: # first, burn the subtitles: ffmpeg -i nosub....
Abitbol's user avatar
  • 145
1 vote
1 answer
1k views

Option to change subtitle font size is missing in VLC

The option to customize the font size in pixels is usually located in the advanced settings at (Show settings: All) Video > Subtitles/OSD > Text renderer, but the option is missing. The option ...
Ativ Joshi's user avatar
1 vote
1 answer
252 views

Recovering maybe damaged subtitles from mkv to convert into mp4

I'm struggling with this specific example of encoding an mkv into h264. 0:0 is video; 0:1 is audio(eng) and 0:9 is eng subtitles that only occur whenever japanese is spoken. I want to encode video ...
Taku's user avatar
  • 13
10 votes
2 answers
18k views

Understanding FFMPEG Error Extracting Subtitles

I'm trying to extract some subtitles as an srt file because there are some lines I'd like to edit therein before remuxing the video. Unfortunately I'm running into an error that I really don't ...
oldboy's user avatar
  • 393
0 votes
1 answer
4k views

How can I display VTT or other subtitle formats used by youtube-dl in VLC?

For some reason, the subtitles don't work on VLC, is there something I need to be aware about, like converting them?
jokoon's user avatar
  • 409
1 vote
0 answers
375 views

FFMPEG - Encoding video changes sounds and subtitles tracks names, and make them invisible for SmartTV / Chromecast

First of all, I'm not sure this is the right place for such question. Please let me know if I'm wrong. INTRODUCTION: I'm regularly recording movies on french channels, via a functionality of my NAS. ...
Quentin Morrier's user avatar
2 votes
2 answers
10k views

Copy multiple PGS subtitle tracks with FFmpeg

I'm using Debian 9. I have a file with several audio tracks and subtitles in PGS. I'd like to pass the video to h265 and keep all the audio tracks and subtitles as they are to an .mkv container, since ...
jota jota Lopez's user avatar
1 vote
2 answers
4k views

Embedding text subtitles in mp4 for desktop use and for web?

Ever since I figured I can play .MP4 videos in my Firefox in Ubuntu 18.04 (e.g. my Firefox 43 still can't do it, my Firefox 60 can), I've been very happy with the concept, especially if I have to ...
sdaau's user avatar
  • 5,718
3 votes
1 answer
8k views

How do I simply edit the subtitles of a MKV file while preserving the video, audio, and attachment streams?

So when I look at the original video: ffprobe -v error -show_entries stream=index,codec_name,codec_type example.mkv I see something like this: [STREAM] index=0 codec_name=h264 codec_type=video [/...
Flair's user avatar
  • 133
3 votes
3 answers
5k views

Extract closed captions (CC) From .mkv file interlaced in video stream

Video output: ffmpeg -i output.mkv Input #0, matroska,webm, from 'output.mkv': Metadata: encoder : libebml v1.3.6 + libmatroska v1.4.9 creation_time : 2018-08-31T06:43:45.000000Z Duration: ...
sard's user avatar
  • 31
2 votes
2 answers
2k views

Is it possible to extract all subtitles tracks using one command?

Is it possible to extract all subtitles tracks (at the same time) using one command? We can use ffmpeg -i <video file> -map 0:s:<index> subs.srt but if we have video container file with ...
user25's user avatar
  • 215
0 votes
1 answer
272 views

Do I need x264 in FFmpeg to extract subtitles

I'm planning to compile my own FFmpeg build and I want to disable unnecessary libraries (e.g., with GPL license) I need to use FFmpeg only for extracting subtitles https://trac.ffmpeg.org/wiki/...
user25's user avatar
  • 215