Read stream from OpenCV.
See original GitHub issueHello,
First, thanks for your great work. It worked like a charm, really easy to set up and quite simple to follow π
However, I have a question - I would like to read the video stream that is produced by this Flask app using OpenCV.
I usually would use:
VideoStream('http://127.0.0.1:5000/video_feed').start()
BUT this throws an error:
[mpjpeg @ 0x7f9494206400] Expected boundary '--' not found, instead found a line of 127 bytes
[mpjpeg @ 0x7f9494206400] Expected boundary '--' not found, instead found a line of 127 bytes
[mpjpeg @ 0x7f9494206400] Expected boundary '--' not found, instead found a line of 127 bytes
[mpjpeg @ 0x7f9494206400] Expected boundary '--' not found, instead found a line of 127 bytes
[mpjpeg @ 0x7f9494206400] Expected boundary '--' not found, instead found a line of 127 bytes
[mpjpeg @ 0x7f9494206400] Expected boundary '--' not found, instead found a line of 127 bytes
[mpjpeg @ 0x7f9494206400] Expected boundary '--' not found, instead found a line of 127 bytes
[mpjpeg @ 0x7f9494206400] Expected boundary '--' not found, instead found a line of 127 bytes
[mpjpeg @ 0x7f9494206400] Expected boundary '--' not found, instead found a line of 127 bytes
[mpjpeg @ 0x7f9494206400] Expected boundary '--' not found, instead found a line of 127 bytes
[mpjpeg @ 0x7f9494206400] Expected boundary '--' not found, instead found a line of 127 bytes
[mpjpeg @ 0x7f9494206400] Expected boundary '--' not found, instead found a line of 127 bytes
as (I think) there isnβt a specific file that VideoStream needs to start reading.
I would appreciate it a lot if you throw any ideas my way π
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
is it possible to read video stream with opencv?
Yes and the nice feature is that the code is exactly the same as reading from a camera - see Reading and Writing...
Read more >Getting Started with Videos
Learn to read video, display video, and save video. ... Often, we have to capture live stream with a camera. ... Just a...
Read more >Read, Write and Display a video using OpenCV |
In OpenCV, a video can be read either by using the feed from a camera connected to a computer or by reading a...
Read more >Live Streaming using OpenCV
Today we are going to create a live streaming app with help of OpenCV and socket programming we are going to develop code...
Read more >Live video streaming over network with OpenCV and ...
In the first part of this tutorial, we'll discuss why, and under which situations, we may choose to stream video with OpenCV over...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I found a solution without using VideoCapture https://github.com/hyansuper/picam-video-streaming/blob/master/receive.py
This is great!