Questions tagged [subtitles]
The subtitles tag has no usage guidance.
129
questions
0
votes
0
answers
60
views
Handling non continuous input dvb_subtitles in mpegts stream using FFmpeg
I have an input feed that contains video, multiple audio, and dvb_subtitles streams. I am transcoding the audio and video and copying the dvb_subtitles where subtitles are not coming continuously(for ...
0
votes
0
answers
8
views
Difficulty with frame accuracy when generating subcaps with FFmpeg at 23.976fps
Difficulty with frame accuracy when generating subcaps with FFmpeg at 23.976fps
Currently testing .srt & .ass subcaps in a VFX workflow.
The goal is to drop specfic text over specific shots and ...
0
votes
1
answer
19
views
After adding subtitles the second audio track gone
I have a video with 2 audio tracks.
After using the following command line
the other audio track is gone
ffmpeg -i "movie.mkv" -i "subtitles.ass" -c:v copy -c:a copy -c:s copy &...
0
votes
0
answers
70
views
position subtitles in the middle of the video height using ffmpeg
Assume my video resolution is 848x480. I add subtitles on the video and I want it to be positioned on the middle of the video. How to do it? (Please write a solution that can position the subtitle at ...
0
votes
0
answers
55
views
FFmpeg ass filter doesn't use font i choose
I created an .ass file with specified font (SF Pro Semibold) and wanted to merge with a video.
.ass file:
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, ...
0
votes
0
answers
28
views
Use ffmpeg to "overlay" a png on top of an entire video file
I want to be able to use a command to "edit" a video to have an image over the entire length of the video. Some videos I download have hardcoded subtitles that I want to remove. But I also ...
0
votes
1
answer
11
views
Overlay text annotation on an independent video track
I have 25 short videos of family (~3 min each) that I would like to label with names of the various people. There can of course be many people on the screen at once, so I need to be able to add ...
0
votes
1
answer
189
views
Why do I use ffmpeg to embed .ssa subtitles and ffprobe recognizes that the subtitle is ass format?
I use ffmpeg to embed .ssa subtitles into mkv, but ffprobe recognizes that the subtitle is ass format.
ffmpeg -i input.avi -i input.ssa -map 0:0 -map 0:1 -map 1:0 -c copy demo.mkv
Also, I learned ...
0
votes
1
answer
18
views
Syncing hard-coded text with audio
Perhaps too basic for this forum... but it might help someone in the future.
I want to make translated lyric videos, with the lyrics hardcoded onto the video (English on top, my translation in my ...
0
votes
0
answers
24
views
How to add subtitles choices to MP4
So I have a Mp4 file, and I want to add multiples subtitles choices to it that will stay forever. A bit like how YouTube, like there are the subtitles choices, and you select which one you want or ...
0
votes
0
answers
127
views
How do I drawtext two subtitle files one after another in one command?
The following command overlays text on the video:
ffmpeg -hide_banner -i Loving_Caliber.mp4 -vf drawtext="textfile=subs1.txt:fontsize=75" output.mp4
where subs1.txt is a textfile containing ...
1
vote
1
answer
3k
views
How can we keep the subtitle track when converting from MKV to MP4 with ffmpeg?
I have an MKV with integrated subtitles as such:
I want to keep "English [Full] - [English]" when converting to MP4.
Currently I use this command:
ffmpeg -i myMovie.mkv -vcodec copy -acodec ...
1
vote
1
answer
434
views
Is it possible to increase horizontal and vertical padding on ffmpeg burned subtitles - using .srt format?
Using command :
ffmpeg -i source_video_path.mp4 -vf "subtitles=srt_source.srt:force_style='OutlineColour=&H80000000,BorderStyle=4,BackColour=&H80000000,Outline=0,Shadow=0,MarginV=25,...
1
vote
1
answer
201
views
How can I set the colours in libass subtitles?
ffmpeg allows you to pass parameters through to the subtitling library, libass. For example:
# this is wrong
# 0057b8=blue, ffd700=gold
ffmpeg -i original.mp4 -vf "subtitles=russian.srt:...
2
votes
0
answers
18
views
How do you make consistent effects on different clips in premier?
I've got a method for making subtitles for videos. They need to grow onto the screen from small to big, then shrink again before the next line pops up. My way of doing this is setting keyframes in the ...
0
votes
0
answers
10
views
How can I auto-fill a subtitle file with the known text I was reading?
Suppose I subtitle a video of myself reading a story. I can use software like gaupol to insert subtitles into a .srt file at particular times. But I shouldn't have to retype the whole story, given I ...
0
votes
1
answer
1k
views
How can i do overlay subtitle with ffmpeg like in the links provided?
I need a script for ffmpeg to do this:
Background color (drawbox) for all words like this:
0
votes
1
answer
276
views
Possible dropped frames after trimming a video
I have a 30-fps video just downloaded by youtube-dl, and it seems to have black frames in the beginning of it.
Part of the result of ffprobe youtube-dl.mp4:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '...
1
vote
0
answers
18
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 ...
2
votes
1
answer
674
views
Can I inject subtitles into a live stream with FFmpeg?
In my live streaming scenario I need to grab a video source and inject subtitles that I generate algorithmically during the stream (i.e. I do not know the subtitles upfront), and publish the streams ...
2
votes
0
answers
86
views
Create time corrected .srt subtitle file for .mkv which uses file/segment linking
I have two mkv files. One of them is the episode of a series and the other one the opening which is linked in the first one. Let's call them episode.mkv resp. opening.mkv.
I also have a subtitle.srt ...
3
votes
1
answer
2k
views
ffmpeg to cut subtitle file in sync with the cut video
I managed to cut the video and keep subtitle in sync by embedding the subtitles in the video:
$ ffmpeg -i sample-mp4-file.mp4 -hide_banner \
-vf subtitles=subtitles.srt -ss 0:30:00 -t 1:33:31 \
...
0
votes
0
answers
495
views
How to display multiple lines of subtitles that have overlapping time on Youtube?
I have 2 subtitle entries that look like this in the srt file
00:10:15,60 --> 00:10:18,00
- We're good here in the sun, right?
00:10:15,80 --> 00:10:18,00
- You need some sunscreen? I got a 70 ...
2
votes
2
answers
160
views
Video editing software with good support for dual speaker subtitles?
I'm currently using DaVinci Resolve to subtitle my videos but I realize now that it has no support for people speaking with multi track subtitles. I want to color code subtitles for different speakers ...
0
votes
1
answer
925
views
ASS subtitle - Different alignment at block and inner level
I am trying to achieve an ASS subtitle that aligns the rectangular bounding block at the horizontal center of the window, while maintaining left-justification inside that block for multiline subtitle ...
1
vote
1
answer
530
views
Extract subtitles in time range using ffmpeg
I have original video (with subs) and cropped version of it (without subs). I need to add subtitles from original video into cropped in appropriate time range.
I think the best way to do is:
Extract ...
0
votes
1
answer
313
views
How to export only an in/out range or selection of subtitles on Davinci Resolve?
I broke down a project into segments to make a playlist, and successfully exported the audio-video segments using in/out ranges, but the srt subtitles always come out for the whole timeline. I tried ...
0
votes
0
answers
103
views
davinci resolve Editing subtitles at the same time as the video
I used a program to auto-generate the subtitles srt to a video which I'm putting in the timeline. I want to edit the video on the edit page, doing ripple deletes. But when I do a cut and a ripple ...
3
votes
1
answer
156
views
Easiest way to add subtitles
I'm tasked with translating and putting hard subtitles on dozens of videos. This is the only thing I will be doing to the videos and I have 0 experience with video editing. I am a programmer though. ...
1
vote
0
answers
337
views
Drop 1 subtitle, insert another, preserve another with ffmpeg
Here is my scenario:
MKV file has 2 audio tracks (fr, eng)
File needs the audio tracks switched
File needs to make eng the default audio track
File also has 2 subtitle tracks (fr-forced, fr)
Need to ...
2
votes
2
answers
1k
views
Convert TTML Subtitles to STL or SRT in Linux
I want to convert a file with TTML subtitles preferably to STL, or to SRT (less preferred). I thought that I would be able to do it with ffmpeg but apparently they do not support it, because the TTML ...
1
vote
0
answers
97
views
Captions disappear when length changed manually in Premiere timeline
I am editing a video in Premiere that has srt subtitles/captions as a distinct captions layer. At the beginning, I was able to change the position of individual captions manually using the handles ...
0
votes
1
answer
2k
views
Positioning and Resizing Captions in Final Cut
I have a video for which I need to include captions. The video itself has burned-in captions. I would like to include the new captions on top of the old ones. However, when I import captions, the ...
1
vote
1
answer
363
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, ...
2
votes
0
answers
154
views
ticker text does not run really smooth
I want to create a ticker text video like the news ticker you see sometimes in TV. So I use
ffmpeg -loop 1 -i Transparent_800x20.png -vf drawtext="fontsize=16:fontcolor=black:fontfile=...
0
votes
1
answer
410
views
ffmpeg mov_text subtitle too small when converting mkv to mp4
I want to remux a mkv file into mp4.
I used the following command.
ffmpeg -i "input.mkv" -c:v copy -c:a copy -map 0:0 -map 0:1 -map 0:2 -map 0:3 -c:s mov_text "output.mp4"
Problem:...
2
votes
1
answer
1k
views
Correct method to set font-size in .ASS file
My final video output is 1080:1920 (9:16 aspect ratio), after padding.
In .ass file, I set
PlayResX: 1080
PlayResY: 1920
and then the font-size=130. But, this font-size doesnt occupy exact 130 pixels ...
0
votes
1
answer
70
views
Easy way to create AudioGrams, ideally with waveform & Subtitles / Closed Captions with progressing marker on them? Free to start with?
Easy way to create AudioGrams, ideally with waveform & Subtitles / Closed Captions with progressing marker on them? Free to Start with?
Easy way to take my writings; quotes, poems or short ...
0
votes
2
answers
196
views
Merging mp4 files and preserving subtitles
I'm in the process of digitizing my entire movie collection. For the most part, it's pretty smooth. I'm using Handbrake to put everything in mp4 format, and it's getting moved to my Plex server.
The ...
0
votes
1
answer
331
views
Removing streams in HEVC H.265 MKV file?
I have multiple MKV files with video encoded a la HEVC/H.265. I want to, using the Windows command line, make a new MKV file, stripping out all but specific subtitle tracks and audio tracks, on a ...
0
votes
1
answer
46
views
Is there a player that allows copying currently shown susbtitles to the clipboard? [closed]
I'm on Windows 7 and have video files with external or built-in (not hard-coded) subtitles. When watching the videos, I'd like to be able to somehow copy the currently shown text to the clipboard.
Do ...
0
votes
0
answers
2k
views
Adding separate WebVTT files to FFmpeg HLS muxer
I've been experimenting with adding WebVTT subtitles to an HLS playlist, but I'm starting to ask myself if what I'm trying to do is actually possible.
My main file is containing a single video track ...
2
votes
0
answers
103
views
Why is the Japanese version of a film often on a separate title on a Blu-ray
Lots of the Blu-rays I own (bought in Europe) have audio and subtitle tracks in many languages. Often, they also contain Japanese. However, on most of those, the Japanese audio and subtitle track is ...
1
vote
0
answers
52
views
DaVinci Resolve doesn't load subtitles for M4V
I have an .m4v movie with two subtitles tracks. When importing the movie into DaVinci Resolve 16, it only shows Video and Audio - no subs.
Please advise, thanks.
1
vote
1
answer
599
views
Display overlapping subtitles
I used YouTube to autogenerate subtitles for a video. The srt file looks something like this:
0:00:00.060,0:00:07.080
first caption
0:00:03.240,0:00:09.599
second caption
0:00:07.080,0:00:13.019
...
0
votes
0
answers
31
views
How do I highlight the words of a subtitle of a video with the corresponding voices?
I would like to highlight the words of a subtitle of a video with the corresponding voices exactly like this video. How Can I do this?
0
votes
1
answer
55
views
Newlines in AviSynth+ subtitles
This page uses newline characters (\n) to introduce newlines in a subtitle in AviSynth:
subtitle("First line\nNext line\nLast line", ...)
I tried this code on AviSynth+ and it fails.
Newlines would ...
0
votes
1
answer
2k
views
How to prioritize subtitles in LAV Splitter?
I'd like to default subtitles to English [Forced] (refer to Image 1) in MPC-HC, using LAV Splitter (refer to Image 2).
Also, if it'd be possible, I'd like to set the default Audio Track to Japanese [...
2
votes
1
answer
330
views
Adjusting the vertical alignment line position in Premiere's Captions
I am creating burnt-in (open captions) using Premiere CC 2019.
When I generate captions, they look like this:
I would like the line alignment to be vertically centred within the black block. Is this ...
0
votes
1
answer
126
views
Unknown stream found in container (likely a subfile): need help identifying/opening it
There's a video I need to view, foreign language film. I was checking it with ffmpeg, and it seemed legitimate except the third stream was something I've never seen before. I want to know what it is ...