-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Html5 video compatibility #13
Comments
Hi @marcogorak , This library only decodes video in a string of matrix pixels that represent each frame of the video. Obviously you can't target directly these frames to html5 video element because this expect a encoding video format like mp4, ogg... Also, you need another extra information like the fps. I suggest you to take a view of these links that containts libraries usefull for you: Brodway : https://github.com/mbebenita/Broadway Images to video Javascript: http://techslides.com/convert-images-to-video-with-javascript Another solution is to develop a basic video player based in canvas (for more compatibility) that control the time and the fps of the frames string. Also if you want to tell more about your problem, maybe we could make a solution in this library if more developers have the same problems. Thank you! |
Hi, thanks for the reply. I wanted to be able to control the pause and play of the stream outside that I would like to buffer the stream in the user's browser because at the moment of execution the frames are being sent in half and being displayed on the screen. |
I think you can start and stop the stream with Socket IO clearing the channel that you are subscribed. In the example you can disconnect with divSocket.disconnect(); and reconnect with divSocket.connect(); |
Hello,
I'm trying to use your library to run video in a html5 video player
But unfortunately I'm not succeeding, would you have an example of playing videos in html5?
The text was updated successfully, but these errors were encountered: