Answer the question
In order to leave comments, you need to log in
Is there a browser to play video stream (IPTV) on Raspberry PI without using Flash player or HTML5 technologies?
Hello!
I am looking for a solution for an idea to make a video player out of RaspberryPi (or similar devices) to play a video stream in real time, that is, IP television. In principle, something similar to XBMC / Kodi, but I would like to use web technologies to develop an interface for interaction with the user. To do this, you need a browser that allows you to play the video stream, but without the use of Flash or HTML5 technologies. Are there any Linux browsers that can play videos with other video players? For example using ffmpeg?
Or, to implement such an idea, it is necessary to develop a browser, for example, on Qt using WebKit?
Could you advise how to be in this situation?
Thank you!
Answer the question
In order to leave comments, you need to log in
I considered this solution, but unfortunately when using the VLC plugin in the browser, I did not find the option to disable the internal controls in the VLC player (such as volume control, full screen). Therefore, this solution is not the best option.
Thanks for your reply!
Six months ago, I myself set out to change my bike on mjpegs to another bike that would not hang up the current browser (the fact is that in the mjpeg stream the browser does not delete unnecessary frames, so every minute or two there is an iframe, in which the video display is located, reload).
So, the situation is still deplorable: nothing native simply exists. There is webRTC, but it's dark there, like in a tank.
So I started cycling the video stream on websockets. I got about 7 frames per second (again, due to the fact that browsers cannot display blobs in img, so you have to encode / decode in base64). For my task, this is enough for my eyes (you need 1-5 frames per second + performing simple actions), and I can use the "raspberry" as a piece of iron control.
If you need to be smarter, then somewhere in the limit of 15 frames per second at 640x480, mjpegs will help you. Just don't forget to reload the iframe.
Yes, of course, both methods do not imply the presence of sound. Browsers still don't know how to play sound outside of tags. Therefore, the idea of streaming video with sound in real time is not yet feasible in any way. Write a standalone application.
Unfortunately, connecting the mplayer call to the browser to view streaming video (say, in a separate iframe) will not work, because you won't get any feedback. Problems will arise if the network cannot handle the flow.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question