live-streaming


HLS live streaming subtitle?


I am using rtmp to broadcast streams to the server and using HLS to stream the video to my device.
Is there a subtitle protocol that I can update the subtitle on real time,
for example, there is a subtitle file in server, I can keep write into that file and my player also can keep read from that file.
I know WebVTT works for recorded streaming video, but will it work for live streaming video? Can I link my player to the webVTT file and I can just update the subtitle by keeping writing to it?
You can use WebVTT to add subtitles to a live HLS stream. You do this by using a live subtitle playlist. It works just like a live playlist - you add and remove entries from it as time progresses.
First create a master playlist and add a reference to your subtitle playlist (subtitles.m3u8) to it. Here’s a (simplified) example:
#EXTM3U
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="English",URI="subtitles.m3u8",LANGUAGE="en"
#EXT-X-STREAM-INF:BANDWIDTH=500000,RESOLUTION=1920x1080,SUBTITLES="subs"
prog_index.m3u8
The next step is updating the subtitle playlist during the live broadcast. Let’s say your subtitle playlist looks like this initially:
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:10,
1.webvtt
#EXTINF:10,
2.webvtt
#EXTINF:10,
3.webvtt
Notice that the #EXT-X-ENDLIST tag is missing from the playlist. This will cause the player to keep retrieving the playlist.
Then some time later (segment duration) it will look like this:
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:2
#EXTINF:10,
2.webvtt
#EXTINF:10,
3.webvtt
#EXTINF:10,
4.webvtt
And so on. You’ll probably have to write some custom code to update the subtitle playlist.

Related Links

Live video streaming service
Any possibility for live-videostreaming within a-frame?
Display multiple live stream video in android using Wowza.(Group Video Calling through Wowza)
HLS live streaming subtitle?
How do I Create Livestream testbed?
What are the Data- API limits for Dailymotion API
Generate .m3u8 on the fly from .ts files
One click live stream solution
How does “Follow Chess” stream live chess games?
Streaming webcam and mic inputs through browser
live555 streaming using ByteStreamMemoryBufferSource
mpeg dash live stream example [closed]
Live streamign using Kaltura and Wowza + FMLE
Real Time screen grabbing and streaming with libav-tools
Access camera at remote location on iphone
Hitbox Follower Alert

Categories

HOME
svn
opencart
functional-programming
angular-ui-grid
yahoo-weather-api
systemd
foaf
website
apk
typeerror
cryptography
liferay-7
header
tibco
navigation
clone
clickable-image
fasm
parsley.js
fbloginview
phpstorm-2017.1
fresco
pinterest
tomcat8
xsl-fo
scheduled-tasks
data-type-conversion
activeadmin
coreldraw
react-dnd
mod-wsgi
opentext
pubxml
spreadsheetgear
android-service
code-climate
social-networking
jsonresult
envoy
nic
series
creation
char-pointer
amazon-kms
testlink
nsuserdefaults
strapi
task-parallel-library
raytracing
word-cloud
sendinput
vesta
jshint
bit-shift
swift2.3
windows-media-player
django-static-precompiler
sharpdx
ltrace
openerp-6
allegro
cocoa-bindings
always-on-top
seccomp
gnucash
apache-pig-grunt
highlighting
frame-grab
gridbaglayout
seadragon
trust
knife
unhandled
com0com
actionpack
erlog
text-align
ssmtp
uno
adwords-apiv201402
qt5.4
windows-rt
libgcc
xcode6.3.1
distributed-r
windows-taskbar
django-settings
eclim
codahale-metrics
dibs
tfs-sdk
office-app
onconfigurationchanged
autosize
fbml
servercontrol
uipasteboard
page-curl
formal-semantics
ninject-interception
explicit
self-tracking-entities
dm
rawcontacts
comment-conventions
code-camp
webclient.uploaddata

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App