3 ms·
If you do it naively your video frames will buffer waiting to be consumed causing a memory leak and eventual crash (or quick crash if you’re running on a device
by yeldarb 2y ago
If you do it naively your video frames will buffer waiting to be consumed causing a memory leak and eventual crash (or quick crash if you’re running on a device with constrained resources).
You really need to have a thread consuming the frames and feeding them to a worker that can run on its own clock.
- llm_trw 2y agoThat's not how loop devices work on Linux.
- _giorgio_ 2y agoSorry for the newbie question Under windows, say that I have an RTSP stream (or something similar) Would you use a single python script with which one of this multithreading solutions? 1 import concurrent.futures 2 import multiprocessing 3 import threading