Questions tagged [webvtt]

WebVTT (Web Video Text Tracks) is a plain-text subtitle format designed for use with HTML5 video.

WebVTT (Web Video Text Tracks) is a plain-text subtitle format designed for use with HTML5 video. It was developed by the W3C and WHATWG and widely based on the SubRip file format.

References

183 questions
3
votes
1 answer

Positioning subtitles on YouTube with WebVTT

According to YouTube's documentation on subtitle formats, it supports positioning captions with the W3C's WebVTT format, and this seems to be evidenced out in the wild: most videos I've seen using positioning - including this test video and this…
Hashim Aziz
  • 4,074
  • 5
  • 38
  • 68
3
votes
1 answer

How to convert .ass & .ssa subtitles files fomats to webvtt format in js?

I know how to transform .srt file format to webvtt format in javascript , I want to know how to do the same with .ass & .ssa subtitles files formats to be able to parse them and transform to webvtt format on the fly without using file stream using…
Ahmed Maher
  • 1,521
  • 17
  • 22
3
votes
0 answers

The ffmpeg webm_dash_manifest demuxer fails with webvtt subtitles

I am trying to create a DASH manifest using ffmpeg and I encounter some difficulties with the subtitles. I get the error [webm_dash_manifest @ 0x55e19db48180] EBML header parsing failed [webm_dash_manifest @ 0x55e19db48180] Failed to read file…
Hyldrean
  • 53
  • 1
  • 8
3
votes
0 answers

What is a line in WEBVTT format?

I see that WebVTT allows has something called "computed line" for each cue and it is either a percentage or a numeric number. Percentage is clear enough; I want to know what does it mean to have a numeric line. Is it the line-height as per CSS or is…
Anurag Kalia
  • 4,668
  • 4
  • 21
  • 28
3
votes
1 answer

HTML5 locally play MP4 videos with subtitles

I hope that belongs to stackoverflow, if not than I'm sorry. 1st question on a stackexchange page I have currently a project running, where I need to play MP4 videos. I first thought I'll code a player in C++ using wxWidgets, but then I thought why…
supergordon
  • 53
  • 1
  • 4
3
votes
1 answer

html5 MKV playback with subtitles

I am attempting to play an MKV file in my chrome browser with subtitles so I can view local video files. This has been successful, using the above method/code in Microsoft Edge, however, when I use chrome I am unable to see the subtitles (cannot use…
3
votes
2 answers

How can i transform dvb subtitles into text format using FFMpeg within a live streaming or how can i optimize the dvb burning process?

I am working on a hls transcoder from any format to HLS and I need to encode multiple subtitles with the format "dvbsub" at the same time with the purpose of being selected by a client who interprets the m3u8 HLS playlist. The main problem is that…
alexsua
  • 53
  • 2
  • 7
3
votes
0 answers

Dynamic timed text track for captions on canvas video

I have researched and experimented my brains out on this one. I have built a working application that uses the HTML5 canvas to play videos and interact with users through a web page (a game, sort of). Works like a charm, but I want to add captions…
3
votes
1 answer

Extracting from webvtt using regex

I am trying to build a regex to use in a .Net environment that will allow me to extract information from webvtt files. I want to extract the timecode information and the corresponding information from the next line(s) that may be subtitling, or…
3
votes
1 answer

VTT(Subtitles) is not working from external url

I am trying to play the subtitle of a movie from an external url but it doesn't work and when I try to add vtt file whcih is loacally stored then it works. Below are the codes
3
votes
1 answer

Is it possible to use ttml or vtt with the html 5 audio element?

Using the display vtt or ttml as a track element with the html 5 audio tag without the use of javascript? I.E. is there a way to display the vtt or ttml as closed cationioning in the audio tag? I'm trying to display podcast transcripts, just fyi.
Steve French
  • 961
  • 3
  • 13
  • 38
3
votes
2 answers

AVUrlAsset and WebVTTs

On iOS/TVOS, is it possible to load a remote .vtt file from a URL and use it as a subtitle track with a remote HLS video also loaded from a URL (as opposed to the VTT being specified within the m3u8 playlist)? pseudocode: AVAsset* video_asset =…
3
votes
0 answers

Styling WebVTT in Android VideoView

I have an HLS stream with WebVTT subtitles and I would like to render the voices with their specific style inside a VideoView. In an HTML page I would include the CSS with the ::cue voices styles. But at the moment I don't see a way to embed the…
Emanuele Fumagalli
  • 1,476
  • 2
  • 19
  • 31
3
votes
1 answer

Integrate Captions on Web Page with JWPlayer

I am trying to implement Video Captions like at Lynda.com e.g. http://www.lynda.com/JavaScript-tutorials/Foundations-of-Programming-Fundamentals/83603-2.html The captions run with the player and also in a block of HTML below the player. I am using…
MathOldTimer
  • 1,311
  • 3
  • 13
  • 22
3
votes
0 answers

HTML5 Video textTracks - Event for Mode Change

I am attempting to build a standard HTML5 video player that supports closed captioning through the element and WebVTT. My goal for this player is to not have to build a custom control UI, but rather rely on the default controls provided by…
Gspan
  • 41
  • 4
1 2
3
12 13