ramonus / flask-video-stream Goto Github PK
View Code? Open in Web Editor NEWSimple webcam video streaming python3 script using Flask.
License: MIT License
Simple webcam video streaming python3 script using Flask.
License: MIT License
Streaming on localhost and the 192 address seems to endless load, even when I change port to be public it doesnt work on the host server. Although, when I use my phone and go to the 192 address, the stream works just fine...on mobile. I go to one of my other pc's and load the 192 address, I get the same problem as the host server, endless load for the stream output. But not once having this problem on mobile -> wifi/externally so long as I was able to see it, it worked on mobile.
But not once have I managed to make it work on the host pc, or locally from a different pc without setting the port to be open externally while using a pc. But somehow works on mobile just fine.
When clicking stream it also seems like it long polls both tabs, to the point where I have to close them both, then go back to the url in new tabs because of the endless buffering/loading
Hi Ramonus,
It seems like you don't have a license for this project.
I would like to use this project, but I need to know the what license the project is under.
If you are not sure what license to use I would recommend that you use MIT.
There is a default template built into GitHub for this.
Hey !
I was able to successfully run the code.
taking pictures was working fine. But streaming was not happening.
When i tried to debug it using VS Code, i put a breakpoint at this line (frame=..)
frame = camera.get_frame()
yield (b'--frame\r\n'b'Content-Type: image/png\r\n\r\n' + frame + b'\r\n\r\n')
then after yielding it was showing the picture. then again i continued the debug and nothing was loading. I dont seem to understand the problem. Do we need to add some kind of js for it work ??
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.