23
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....
8
votes
Accepted
How to DISABLE--NOT REMOVE subtitle tracks from an MKV file from the command line?
I gave up and contacted the author of mkvpropedit to ask if it was possible to do what I wanted to do. The first answer I got was 'No'. But I persevered and asked if there was any setting that will ...
7
votes
How to DISABLE--NOT REMOVE subtitle tracks from an MKV file from the command line?
What player are you using?
Unless you have the "forced" flag set, it's a player option whether subtitles are displayed automatically or not and in which language if you have several subtitle tracks.
...
6
votes
How to DISABLE--NOT REMOVE subtitle tracks from an MKV file from the command line?
While your self-selected answer will work, it requires modifying the file again when you do want the subtitles.
Why not just create an empty but syntactically valid SRT file and mux that as the first ...
5
votes
Accepted
Loss of quality while adding subtitle via FFmpeg
As you are hardcoding subtitles, the video (with the subtitles added) will be re-encoded.
You can use the CRF rate control method to modulate the quality of the output.
So, start with
ffmpeg -i ...
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'...
4
votes
Accepted
How to detect and extract words from audio/video stream online in a webpage itself?
If you work on a regular basis with the "owner" of the voice I can recommend Nuance's Dragon it offers very accurate speech to text with very few errors but it needs some "calibration" to a specific ...
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 ...
4
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.
...
3
votes
How to detect and extract words from audio/video stream online in a webpage itself?
YouTube has several captioning options. At one time they had free computer generated captions which you could then download the results in a text file.
YouTube currently provides this list of caption ...
3
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 ...
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
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 ...
2
votes
How to add Subtitles to already created video file for .avi format on Windows 8?
This can also be accomplished if you have VirtualDubMod and a TextSub provider installed such as VobSub or VSFilter.
To use VobSub, during installation you must select the Plugins -> TextSub for ...
2
votes
Merging mp4 video stream with subtitles for use in creating DVD
Use the subtitles filter to create hardsubs ("burnt-in" subtitles):
ffmpeg -i input.mp4 -vf subtitles=subs.srt -target pal-dvd output.mpg
-target pal-dvd will make the output have a frame rate of 25 ...
2
votes
Burn ASS subtitle onto MKV without any quality loss
The only way to do it with literally zero mathematical quality loss is to make a gigantic output file with a lossless codec. (e.g. utvideo, FFV1, or x264 in lossless mode (--qp 0).
A better ...
2
votes
Render srt subtitles to video?
I've just discovered Subler, which makes it super easy to add subtitles to an existing m4v file, and then burn that.
2
votes
Force subtitles to play as default
You can use MP4Box 0.6.2-DEV-rev453 (May 2016) or higher to do this:
mp4box -add alfa.mp4 -add bravo.srt:txtflags=0xC0000000 -new charlie.mp4
Example
This will mark the subtitle stream in the output ...
2
votes
Accepted
How to Differentiate Subtitle Track Language Between Simplified and Traditional Chinese?
You should be able to define you own 3 character long language code for imported media using the option :lang=LAN when specifying your media file for import. LAN being your own language code. So you ...
2
votes
Accepted
Split PGS subtitles (.sup file)
Here is the structure of a .sup subtitle file and a link to the splitter I created. Information is either from linked reference or my own research.
The .sup subtitle splitter I created. http://forum....
2
votes
Mac Hardcode Subtitles from SRT to MP4 & adjust size and screen position
If you convert the .srt files to .ass, then you can have a lot more control over how the subtitles appear.
To convert use ffmpeg:
ffmpeg -i input.srt output.ass
This will give you an .ass subtitle ...
2
votes
How to detect and extract words from audio/video stream online in a webpage itself?
We use an online service to do our subtitling. It's not free, but it's pretty cheap, considering the amount of work it saves - it's certainly cheaper than paying post production staff to do it. There ...
2
votes
Accepted
ffmpeg - burning in subtitles with non-square pixels
You can try adding the original_size filter option, such as:
-vf "ass=test_subs.ass:original_size=768x576"
Specify the size of the original video, the video for which the ASS
file was composed. ...
2
votes
Accepted
How to display subtitles as default in an MKV file
There are two aspects to your query - 1)setting one of the subtitle streams as the default and 2)automatically displaying it during playback.I'm not aware of a method to force a player to display ...
2
votes
Unable to hardcode subtitles in FFmpeg on Mac to mov
It appears that the subtitles file did not have --> but a –> with the – corresponding to the en dash that was placed in the file, which was edited by hand externally. It seems like the en dash ...
2
votes
Subtitle format guide
SBS - Australia's Special Broadcasting Service has an extensive and international reputation for quality subtitles. from http://www.sbs.com.au/aboutus/faqs/index/id/120/h/Subtitles
SBS subtitles ...
2
votes
How to overlay SRT or ASS on a video and output the pre-render captioned video?
Adobe Premiere Pro allows you to create caption files (including SRT) and export them individually (as SRT files) or embedded with the actual video. This link gives a pretty good overview of how it's ...
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
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
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
subtitles × 128ffmpeg × 37
video × 20
video-editor × 12
mkv × 12
premiere × 11
closed-captioning × 10
mp4 × 9
.srt × 9
conversion × 7
davinci-resolve × 6
editing × 5
tracks × 4
audio × 3
streaming × 3
windows × 3
dvd × 3
vlc × 3
script × 3
command-line × 3
encoding × 2
software-recommendation × 2
youtube × 2
adobe × 2
final-cut-pro-x × 2