Questions tagged [video-subtitles]

84 questions
1
vote
3 answers

How to split this text using JavaScript regular expression?

I would like to split this text. I am trying to do it with JavaScript regular expression. (1) Really not. (2) Uh huh. (3) Behold Prince (4) are key in his natural element, cowering at the mercy of the women in his life. (5) See me perhaps you'd like…
1
vote
1 answer

Unable to write textclip with moviepy due to errors with Imagemagick

I am trying to write TextClip into a video with moviepy. It has always been working, yet after I reinstalled ffmpeg, it doesn't work anymore (I am not sure whether it has caused it, but I mentioned it in case it does). Some of the TextClip objects…
Sato
  • 1,013
  • 1
  • 12
  • 27
1
vote
1 answer

Adding subtitles to video with moviepy requiring encoding

I have a srt file named subtitles.srt that is non-English, and I followed the instructions of the documentation and source code of the moviepy package (https://moviepy.readthedocs.io/en/latest/_modules/moviepy/video/tools/subtitles.html): from…
Sato
  • 1,013
  • 1
  • 12
  • 27
1
vote
0 answers

Exoplayer 2.12, dose not load local subtitles

Even after going through many questions on Stackoverflow and other threads we could not find any solution for the subtitle issue in Exoplayer. Following is the code snippet we are using to load video and subtitle from local storage. public void…
1
vote
0 answers

Set a semi transparent box when burning vobsubs to MP4 with ffmpeg

I'm using ffmpeg to convert some old videos. Some have VobSub subtitles, so I am hardcoding them in. Is there a way to add a semi transparent box behind the subtitles for easier reading?
maddogandnoriko
  • 980
  • 2
  • 13
  • 31
1
vote
0 answers

How to get active subtitles text from video using pure JavaScript?

Looking for a solution which is written in pure JS. It will be used as an integration into a web page. P.S. Another reference. Here is some example for Video.js Is there any way to get current caption's text from video tag using Video.js? ...but I…
Kirby
  • 2,847
  • 2
  • 32
  • 42
0
votes
1 answer

In Advanced SubStation Alpha (Ass file) how can I animate each word as it is spoken?

Hello I am trying to get Ass (Advanced SubStation Alpha) code to animate (highlight in green) each word as it is spoken and then have it revert back to white afterwards. What happens with my code is very odd. At first I cannot even see any text. …
0
votes
0 answers

Extract (for OCR) hard-coded video subtitles

Many Korean videos on YouTube have hard-coded subtitles (e.g. https://youtu.be/Zyd6hAvxTnc). The desired end result would be the OCR'd subtitles in text format. I have a semi-manual process of downloading the video with yt-dlp, using ffmpeg to…
jamesdeluk
  • 186
  • 2
  • 16
0
votes
0 answers

I need information on how to configure the Google Speech-To-Text API to generate the output format as either .vtt or .srt subtitles file type

I could produce the output of an audio file but it came as a JSON type of file. I was informed that it is possible to configure the API to produce the file as .srt or .vtt which are adequate for being used to subtitle a video. It seems that the API…
0
votes
0 answers

FFMPEG subtitles in c

I want to record video from camera with subtitles using FFMPEG and C. I was used examples on main FFMPEG repository and had successfully recorded video from camera. But with subtitles I'm stuck and do not know how to make it works. I was also tried…
Serhii
  • 1
  • 1
0
votes
1 answer

How to embed subtitles in multiple movies in an automated way using python?

This python script identifies all movies with mp4 extension and, if they have subtitles in srt format, converts the subtitle encoding to utf-8 (without this conversion you will get error message) and starts building the movie with the subtitle…
0
votes
1 answer

How to use ccextractor in a django website to extract subtitles in windows

I am unable to make ccextractor work with django website and if I do it how I will able to deploy the website while ccextractor work locally . I think I am missing something critical, anyone know about this or can suggest any docs . I am expecting…
0
votes
0 answers

ReactJS - rendering WebVTT or ASS files as time text

I'm looking for a library and other solution to render WebVTT or ASS subtitles files into a "timed text" that will simulate subtitles. Tried looking for some libraries that do that but came out short. Please keep in mind that I need to support the…
gmanIL
  • 23
  • 6
0
votes
0 answers

I have a problem with imagemagick when I try to create automatic subtitles with moviepy and speech_recognition

I'm coding something to edit video automatically but when I wanted to create automatic subtitles there was a problem with image magick As I told you I did something to add automatic subtitles but image magick gave me this…
0
votes
0 answers

How to set Youtube subtitles/close captions to be right alignment?

When I watch like tutorial in Youtube which the content mostly (if any explanation on white board or on a computer monitor) is in (our) left side. The Youtube subtitles also we may put left alignment or center, but not right alignment (borrowing the…