Questions tagged [video-subtitles]

84 questions
0
votes
1 answer

Hardcoding subtitles from DVD or VOB file with ffmpeg

I have some DVDs that I would like to encode so that I can play them on a Chromecast, with subtitles. It seems that Chromecast only supports text-based subtitle formats, while DVD subtitles are in a bitmap format, so I need to hardcode the subtitles…
0
votes
1 answer

Remove subtitle/caption from hls and dash manifest file

I am currently using aws mediaconvert to encode videos to hls and dash format. I believe that in the m3u8 (for hls) and mpd (for dash) file which is generated, these can be parsed to remove required subtitles. I am looking to parse the m3u8 and mpd…
0
votes
1 answer

Styling VTT cues - ::cue(#id) selector does not work

I'm trying to style dynamically added VTT cues by trying to target the cue id: track = video.addTextTrack('captions', 'Captions', 'en'); track.mode = 'showing'; const cue = new VTTCue(0, 10, "Hello world"); cue.id =…
Cesare Polonara
  • 3,473
  • 1
  • 9
  • 19
0
votes
1 answer

Is it safe to ignore the error "Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option Error while decoding stream"?

I was encoding a video with subtitles and I got the error, "Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option. Error while decoding stream" but the video encoded anyway. What are the consequences of ignoring this error? A…
0
votes
0 answers

Displaying two different subtitles simultaneously

I want to add a video to my own site, but what I want to do is a little different. I want to display both english and french subtitles at the same time, like netflix but low budget). How can I do it ? For example, the English subtitle will be…
Taleh Orucov
  • 43
  • 1
  • 8
0
votes
0 answers

Subtitles (TRACK tags) for VIDEO tag in HTML5

everybody. I'm having a problem that moved discussdion in the WEB before, but by now, I can't really find an answer, of better I'm not really understanding the matter. So, I need to add some subtitlers track to some videos, I'm studying to put in a…
BennyB
  • 35
  • 1
  • 7
0
votes
1 answer

Can we get language and sub title language of vimeo video via api?

I am getting other data of vimeo video using the following api: file_get_contents( 'https://vimeo.com/api/v2/video/' . $video_id. '.json' ); It shows required data as video images,duration,title,description and all but now I want the default…
samjhana joshi
  • 1,995
  • 4
  • 35
  • 69
0
votes
2 answers

use python to convert MM:SS time format to .ass format

I have a multi-line text with time in MM:SS format with the subtitle line from the video. I want to convert the MM:SS format to ass format, i.e. 00:MM:SS,000 and output with spaced tabs. I wrote this code text = """02:42 02:47 And so that Wayne…
John Aiton
  • 85
  • 6
0
votes
1 answer

Not able to render embedded subtitles with Video.JS for mp4 video

I am not able to render subtitles in video.js for an mp4 file which has the subtitle stream embedded to it. If I'm running FFProbe /filePath I can confirm that the mp4 video has subtitles. I'm using Angular for front-end, and this is how I'm…
ExtremeSwat
  • 794
  • 1
  • 12
  • 34
0
votes
1 answer

how can I add subtitles using shaka-player from a .mpd file?

I'm using the shaka player with the below build. https://ajax.googleapis.com/ajax/libs/shaka-player/3.0.8/shaka-player.compiled.js I'm using a .mpd file and it has a subtitle file.
0
votes
1 answer

Positioning WebVTT text overlay (subtitles) in four corners of the video

I have a problem with positioning WebVTT subtitles. I'd like to have 4 placeholders in four corners of the video to post some additional data along with the video. The problem is, the positioning acts weird and I guess it's kinda hackish way to do…
Mark
  • 1,357
  • 16
  • 30
0
votes
1 answer

Can OMXPlayer show SRT subtitles embedded in a mp4 file?

Is there a way to get OMXPlayer to show the embedded subtitles in foo.mp4 without first extracting the subtitles with ffmpeg to foo.srt, and without hardcoding the subtitles into foo.mp4?
Eddy Sorngard
  • 149
  • 1
  • 12
0
votes
1 answer

FFmpeg multiple drawtext filters next to each other

I would like to draw text on a video with ffmpeg that has multiple lines some of the words in these lines are in bold text style while others are not the lines need to be animated with the timeline option What options do I have here? I know that…
0
votes
1 answer

Is there way to increase speed of burning subtitles to a video in ffmpeg

Currently, I do it this way: ffmpeg -i video.mkv -vf subtitles=video.mkv out.mp4 But with some videos, it takes too long around 55mins but with handbrake, it takes only 10 mins to burn subtitle to video even though I tweaked the setting for…
0
votes
1 answer

React Native and FFMPEG render text differently

I'm creating a video editing app in React Native that allows you to burn subtitles onto any video. I'm facing a problem that the font size on the phone screen doesn't match the font size after the video is rendered. I can guarantee that the text is…