Questions tagged [video-subtitles]

84 questions
1
vote
0 answers

How to change subtitles of video during Airplay on web

I have a native video player (VideoElement) with custom controls that supports AirPlay. The videoElement has textTracks (subtitles) that work fine when playing in the video and they work fine in AirPlay when changing subtitles using the Apple TV…
MLyck
  • 4,959
  • 13
  • 43
  • 74
1
vote
0 answers

How can we add automatic captions to video in flutter app development

Is there any library or dependency in Flutter to add automatic captions to video flutter app.? Like YouTube without uploading SRT file. It should sync automatically. Please help. I have tried which are need to be uploaded SRT files but I need to do…
1
vote
0 answers

Double subtitles when hardcoding from .mkv container

I'm trying to hardcode subtitles into a file that's in .mkv container, using one of the subtitle strams from the container. I want subtitles to have a black background on them. I'm also trying to keep 10bit encoding and preserve high quiality.…
Goran Hinic
  • 21
  • 1
  • 3
1
vote
1 answer

Speech Recognition to VTT for movie or video

I was trying to get the result with timespan, the main idea is to make automatic Speech Recognition to VTT(subtitle) using Google API, but the problem is it's giving me all results at the same time so I can't know the timespan. var speech =…
1
vote
0 answers

Terminal: How to extract vobsub subtitles to bitmap images (jpg, png)?

How to extract image-based subtitles to bitmap images (jpg, png) ? I tried with ffmpeg, but it seems to work only with text-based subtitles. $ ffmpeg -i myvideo.mp4 -map "0:2" output.bre.srt ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg…
DevonDahon
  • 7,460
  • 6
  • 69
  • 114
1
vote
1 answer

Using Django and ccextractor to generate subtitles from video

I want to create a site which takes video, upload it to the server, process it and return subtitles generated from that video. I searched on internet and got to know about ccextractor. Though, site has something about usage with python but it's bit…
1
vote
1 answer

ffmpeg : is there a simple way to edit the video resolution, but keep all audio and subtitles

I would like to lower video resolution - usually from .mkv files - but to keep all possible audio tracks (might be only one, might be several) and subtitles (might be none, might be several) from the original one. I also would like to keep as many…
Arkeen
  • 554
  • 8
  • 20
1
vote
0 answers

how can I add a auto subtitle system running in the background while the video is playing in android

I'm trying to implement automatic captioning while a video is playing. I've searched the internet but haven't found anything useful. Google has a plug-in called speech recognizer, but it does not work in the background while it is running, so you…
NewPartizal
  • 604
  • 4
  • 18
1
vote
0 answers

Java UTF8 encoding Subtitles Content

I take subtitle from URL and display it in exoplayer, but the subtitle content is full of symbols because the language of the text is Arabic, Greek, Chinese, etc. How do I encode MediaScource to UTF8 before displaying it in the video? Here is my…
1
vote
0 answers

Firefox loses webVTT subtitles when the 'video' tag is 'position: absolute'

Recently I found out that webVTT subtitles which were working properly have dissapeared from the video projection when watching in firefox (currently version 92). Chrome (v 94) shows them without problem. Apparently the problem must come from the…
JGA
  • 13
  • 2
1
vote
3 answers

How to convert .srt file into ttml based xml subtitle file using ffmpeg?

I have an .srt subtitle file. I want to convert it into .ttml format(or xml) using ffmpeg command. I tried using traditional way to convert this. But ffmpeg throwing an error. Is there any way to convert this in Linux platform? Or any other command…
geo-freak
  • 327
  • 3
  • 20
1
vote
1 answer

How can I display lots of subtitles at arbitrary positions in a video using ffmpeg?

I am trying to write subtitles and display them at lots of positions throughout a video at arbitrary positions. I have a long list of times and positions to display the text in the video, but I don't know how to encode these times and positions into…
cxrodgers
  • 4,317
  • 2
  • 23
  • 29
1
vote
1 answer

can I remove or change background color subtitle/webvtt in html5

I want to remove or change the background of the subtitles. I've changed the background-color and background but it doesn't work. can the background change? ::cue { color: red; background-color: blue; //or background: blue; } the subtitle color…
1
vote
0 answers

Android MediaPlayer addTimedTextSource not notifying when caption 'ends', only when a caption 'starts'

I have a MediaPlayer setup and I'm loading in a .srt file from my Raw Resources, loading it in via addTimedTextSource and assigning a OnTimedTextListener. This all seems to be working, the OnTimedTextListener onTimedText events fire. However I only…
Iain Stanford
  • 606
  • 1
  • 6
  • 18
1
vote
1 answer

Android VideoView addSubtitleSource - Is it possible to enable it regardless of accessibility settings?

I have a VideoView that I load in subtitles programatically using addSubtitleSource. This is all working, however they are only displayed if the user has 'Show Captions' set in the Captioning Preferences inside the system Accessibility…
Iain Stanford
  • 606
  • 1
  • 6
  • 18