29
votes
Accepted
ffmpeg: how to add several subtitle streams
Whenever's there's multiple inputs fed to ffmpeg, and you need one more than video/audio/subtitle stream sent to the output, -map statements are needed.
ffmpeg -i $movie.mov -i $sub_en.srt -i $sub_de....
5
votes
ffmpeg hardcoded subtitles from the top, bigger, with thicker stroke, on a dark background
Aegisub
Use ASS subtitles. Style them in Aegisub. You can style each letter or word individually, or apply the desired styling to all subtitles. See the documentation for detailed instructions.
...
5
votes
Accepted
DaVinci Resolve: Blur and fade title on top of video
DaVinci doesn't really have a strong toolset when it comes to working with titles and motion graphics, although given BlackMagic's current trajectory, that may change in the near future. For now, you'...
5
votes
Accepted
ffmpeg to cut subtitle file in sync with the cut video
Found out that ffmpeg works on the text based subtitle file just as well:
$ cat subtitles.srt
1
00:00:06,000 --> 00:00:20,000
This is demo subtitle 1
2
00:00:20,000 --> 00:00:40,000
This is ...
4
votes
MKVToolNix equivalent for .MP4's
I just went through a very similar use-case working with TS files. MoritzLost has the key point but as ffmpeg options can be quite difficult to sort out when you are first getting started, here is a ...
4
votes
Accepted
Positioning subtitles in Premiere Pro CC
Do the math
If you want to align your text using percentage offsets or any other 'round' number in pixels, you just need to perform some simple calculations. For example, 10% from the bottom of a ...
3
votes
Accepted
Burn .ass subtitle onto .webm with no loss of quality
Use
ffmpeg -i input.webm -vf ass=subtitles.ass -b:v 0 -crf 20 output.webm
The libvpx encoders for WebM, by default, perform Constrained Quality encoding, and use the bitrate as a ceiling. Default ...
3
votes
Accepted
ffplay won't play internal(embedded) subtitle?
You can use subtitles filter like your example in your question but point to the same input file:
ffplay -vf subtitles=input.mkv input.mkv
If you want to choose a different subtitle stream then use ...
3
votes
.SRT File Import Problem on Premiere Pro CC 2017 1.2
It's a Premiere bug. Try Subtitle Edit 3.5.5, which is free, insert the .srt, export as EBU STL file (25 fps works fine, it's time coded not frame coded).
Import to Premiere, interpret as open ...
3
votes
Accepted
Convert TTML Subtitles to STL or SRT in Linux
The ttconv Python package will do it. It can be installed with pip.
3
votes
Accepted
Is it possible to increase horizontal and vertical padding on ffmpeg burned subtitles - using .srt format?
You need to increase value of shadow, like "Shadow=10" and you will add padding to your BG.
Here you can read more about this.
As I know, no way to change x,y axis separately for BG size.
2
votes
MKVToolNix equivalent for .MP4's
dmMediaConverter is very similar to MKVToolnix.
It is just a ffmpeg gui, so it can save in any format.
To replicate the described MKVToolnix use, select "Convert", then "Add files", selecting both ...
2
votes
Accepted
MKVToolNix equivalent for .MP4's
Muxing a file simply means to extract individual streams out of existing container files or mix existing streams together into a new container file. For MP4, this can be done with ffmpeg and the -c ...
2
votes
Accepted
How can I import subtitles/captions into a letterboxed video like this?
You can use ffmpeg. Make your subtitles with Aegisub or manually with a text editor. ASS subtitles are fancier, but SRT are simpler if you want to manually make them.
Alignment & Margin
The ...
2
votes
Is there a Youtube-supported subtitle format that does positioning + Unicode?
Google Subtitle Workshop... it's an outdated program, but allows for full flexibility in terms of subtitles, size, language, position, lines, size, color, position, etc.
It's an old program, but it ...
2
votes
Accepted
ffmpeg cut same video to multiple pieces
Use ss/to as input options. This seeks at the demuxer stage, which is much faster.
ffmpeg -ss 00:22:23.345 -to 00:22:25.846 -i input.mp4 ...
You'll need a very recent build of ffmpeg (> Nov 19 2017)
2
votes
Accepted
Subtitles do not match spoken dialogue. Why?
This is an educated guess as I'm not sure anyone can give a concrete answer as to this particular show's specific reason, but since it was dubbed, there's a solid possibility that the subtitles are a ...
2
votes
Accepted
How to make ffmpeg flush the subtitles in real time while transcoding?
When ffmpeg will flush to output depends on the protocol. For file protocol, atleast 256 kiB data must be waiting, unless it's end of output. So, for text formats, there will be only one payload write....
2
votes
Accepted
FFmpeg can't convert eia_608 subtitles: "Data Ignored since exceeding screen width"
It's a warning, not an error. The subs are still converted.
The EIA-608 standard specifies a maximum of 32 characters per line and the ffmpeg decoder is enforcing that.
A workaround is to use ...
2
votes
Accepted
Newlines in AviSynth+ subtitles
To use newlines in the built-in Subtitle filter, you must specify the lsp (linespacing) argument:
subtitle("First line\nNext line\nLast line", lsp=12)
See the Subtitle wiki page for more ...
2
votes
Easiest way to add subtitles
For subtitle timing, I would suggest Aegisub and save the subtitles file as *.srt, then you can add the subtitles and export your video with ActivePresenter
2
votes
Video editing software with good support for dual speaker subtitles?
Resolve does support multi-track subtitles. To add a second subtitle track, right-click in the track header and select "add subtitle track." This is used for language localization, so that ...
2
votes
How can I set the colours in libass subtitles?
The colour format used by libass is really weird: &HAABBGGRR (alpha, blue, green, red). This is backwards from the standard web ordering, &HRRGGBBAA (red, blue, green).
The alpha is inverted: ...
2
votes
How can we keep the subtitle track when converting from MKV to MP4 with ffmpeg?
You can find detailed answer on your question here
Basically you need to add "-map" parameter to your command.
ffmpeg -i myMovie.mkv -c copy -map 0:v:0 -map 0:a:0 -map 0:s:0 myMovieMP4.mp4
-...
2
votes
How do you extract bitmap subtitles to a standard image format using ffmpeg?
The key is using the overlay filter to embed the subtitles on a transparent or fixed-color background. Adjust the size and rate to match your input video.
Transparent version
ffmpeg -i my_video.mkv -f ...
2
votes
Accepted
Setting the default subtitles
Add -disposition option :
-disposition:s:0 0 -disposition:s:1 0 to clear the disposition for first and second subtitles (fr and eng).
1
vote
Positioning and Resizing Captions in Final Cut
Apple has an article in the FCP user guide.
All you need should be explained here.
Format caption text in Final Cut Pro
1
vote
How do you open multiple videos with multiple subtitles in VLC from command-line?
This is a workaround which converts the files to another container format. It happens almost as fast as your hard disk can write data because nothing is re-encoded.
use MKVToolNix (specifically ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
subtitles × 137ffmpeg × 47
video × 23
video-editor × 15
premiere × 12
mkv × 11
mp4 × 10
.srt × 10
closed-captioning × 8
conversion × 7
davinci-resolve × 6
audio × 5
editing × 4
encoding × 4
tracks × 4
streaming × 3
software-recommendation × 3
windows × 3
sync × 3
vlc × 3
command-line × 3
adobe × 2
youtube × 2
final-cut-pro-x × 2
file-formats × 2