lundi 4 octobre 2021

how to extract subtitle stream from a video with javascript

I'm trying to display subtitles of a video, I have a video with an embedded subtitle stream in it,

enter image description here

it showing subtitle stream on ffprobe but not on javascript, tried with captureStream API which will return MediaStream object to see the available tracks but it's only returning audio/video tracks not subtitle tracks

enter image description here

guessing web standard doesn't have a spec to return all the tracks other than audio/video it will be helpful if you have a solution for this. but I appreciate your help. thanks.




Aucun commentaire:

Enregistrer un commentaire