Questions tagged [video-subtitles]
84 questions
0
votes
0 answers
What is the format of EIA608 subtitle packet data from av_read_frame() for FFmpeg 4.4 and higher?
I have a video file in MOV format. This file contains EIA608 subtitles. I use ffprobe to see the contents of all packets. For FFmpeg 4.3.1, I get the data of the first subtitle packet according to the file content at the offset specified for this…

Elija
- 91
- 6
0
votes
1 answer
how to add subtitles in video with ffmpeg filter?
I am having hard time adding .srt subtitles to the newly creating video. I am using Python.
subtitles:
f"{PROJECT_PATH}/data/subtitles/final_subtitle_srt/all_slides.srt"
I have checked they are correct.
pieces of my code that does not work:
audio =…

Mr.Slow
- 490
- 1
- 1
- 16
0
votes
0 answers
Why are we getting continuous unknown indexer errors when reindexing a video?
Trial---95f66ad252---014edac0-d4ba-4844-b91e-5493ff8d99e7
We have been indexing videos without any issue. We are now experiencing problems when reindexing an already indexed video.
We got an error email without
The process is the following:
We send…
0
votes
0 answers
Writing subtitles on a video on different time frames
I am trying to write subtitles on a video. The problem is , with cv2(opencv-python), I am unable to write text on different time frames , lets say for first two seconds I want "Hello", and for another 3 seconds the video will show "this is the…

sarveshsta
- 3
- 2
0
votes
0 answers
Get screenshots out of multiple videos with subtitles
I'm trying to get a single frame from a video at every 50 seconds with ffmpeg including the subtitles from multiple videos
The code I know of that will do this from a single video is
ffmpeg -i “video.mkv” -vf “subtitles=subtitles.srt, fps=1/50”…

rkjles
- 1
- 1
0
votes
0 answers
Get screenshots of video with subtitles
I'm trying to get a single frame from a video at every 50 seconds with ffmpeg including the subtitles
The code I know of that will output a frame every 50 seconds is
ffmpeg -i “movie.mkv” -vf fps=1/50 img%03d.bmp
and the only code I know of that…

rkjles
- 1
- 1
0
votes
1 answer
Extract subtitle by language code via ffmpeg
I have a simple task - extract subtitle for exact language from tvshows.
For example, I want to extract English subtitles from Netflix's show.
As you know there're a few different types of subtitles: forced, full and SDH.
So I want to extract all of…

TrustFound
- 3
- 2
0
votes
0 answers
How can we add external subtitles in react native video for hls(m3u8) video format
How can we add external subtitles in react native video for hls(m3u8) video format, In react-native-video library am able to do that for mp4 video, and there is am limitation for m3u8 format video, so what are other possibilities for display those…
0
votes
0 answers
Cannot generate srt subtitle file with Subtitle Edit using command line
I am looking to generate an srt file from PGS based subtitles in an mkv. To do so I am using Subtitle Edit through the command line. I'm using this command here:
SubtitleEdit /convert "./Videos/input.mkv" 10:"./Subtitles/output.srt"
I Have also…

goodkid38
- 79
- 10
0
votes
1 answer
Custom styling in WebVTT subtitles
Is it possible to set custom styling for specific fragments in WebVTT (.vtt) subtitles?
According to the mozilla's WebVTT API docs it is possible to set CSS pseudo-classes e.g. with:
/* this works ok */
video::cue {
background-color:rgba(0, 0,…

ccpizza
- 28,968
- 18
- 162
- 169
0
votes
0 answers
remove background subtitle in chrome with html5 video
My project is to create a video streaming app using NextJS, where I want to display a video and also its subtitles.
Problem:
In Chrome browser the subtitles have a background and I want to remove it (or change its height):
In Firefox or Safari it…

SAMIRA hs
- 91
- 1
- 4
0
votes
0 answers
How can I display subtitles along with a video with Gradio?
I use Gradio to demonstrate some speech recognition system in a video. How can I display subtitles along with a video with Gradio?

Franck Dernoncourt
- 77,520
- 72
- 342
- 501
0
votes
1 answer
How can I display subtitles along with a video with Streamlit?
I use Streamlit to demonstrate some speech recognition system. How can I display subtitles along with a video with Streamlit?
st.video doesn't seem to have this option. What are some workarounds?

Franck Dernoncourt
- 77,520
- 72
- 342
- 501
0
votes
0 answers
Cues are not updating on forwarding or rewinding video.js
I am using video.js to display video and the subtitles. I have an added functionality where user can go back and forth by 10 secs on click of button. The issue I am facing is if a subtitle is displaying on the screen and I click on +10 or -10 secs…

nothing
- 29
- 1
- 5
0
votes
1 answer
Batch combine new elements into subtitle files
I want to take a folder with several (15 in this first case) 'subtitle.srt' files (which, as I'm sure you're aware, are just text files with the extension ".srt" instead of ".txt") and modify each file in turn so that a new subtitle is added at the…

Highlander
- 5
- 3