-
Notifications
You must be signed in to change notification settings - Fork 417
Closed
Description
Hello,
I am using pyav to stream a few rtsp videos on the same device. I need to access some of the data coming from the streaming and decode the actual frame only if a few conditions arise:
get packet --> compute conditions --> if conditions are satisfied decode the frame
It is my understanding that multiple containers cannot work in parallel because of GIL, therefore I tried to create Process for video ingestion. However, that does not seem to be a solution because VideoFrame objects cannot be pickled. I would need to pickle them to add them to a queue so that they can be later retrieved and decoded only if the abovementioned conditions are satisfied.
How can I solve this situation? My goal is to ingest multiple streams in parallel so that I can fully exploit the CPU.
Metadata
Metadata
Assignees
Labels
No labels