sâmbătă, 18 august 2018

JavaScript - real time embedded subtitle parsing (.mkv)

http://bit.ly/2vMdPqK Free download for MakeMkv
Small peek into the future of SubPlayerJS. Keep in mind that everything you see here is still w.i.p. and I did not apply any filters to get some random to text converted bytes out of the output.... oh well. Just to happy that it worked ^^ :D. I was able to parse the subtitle track of any playable .mkv file. Unfortunately it creates a huge overhead for both client and server. I cannot access the data stream inside the video element so I have to load the file separately to the video stream itself, meaning double the data usage :X. Besides that, the script request very small chunks of the file during playback. Those chucks need to be loaded as quick as possible, so on small cheap webhosts this could cause problems. This is just meant as prove in concept. Until I can access a live datastream without it having to finish downloading this can not be improved. I do not own any of the footage from the trailers shown in this showcase. Neither do I have any intent of making money by showing this. This all to proof a bit of research and development I did.

Niciun comentariu:

Trimiteți un comentariu