GStreamer + HLS stream taking up a massive amount of CPU
Tim Müller
tim at centricular.com
Tue Mar 26 00:26:43 UTC 2019
On Mon, 2019-03-25 at 18:33 -0500, farzaa wrote:
Hi,
> I'm having a hard time understanding why decoding a single frame from
> an HLS stream leads to such high CPU usage. I've tried Python
> multithreading.
You're not decoding a single frame. You're decoding the entire stream,
and then you reduce the raw video stream to 1fps.
If the CPU usage you're seeing is reasonable or not depends a lot on
the exact machine and the video feed (resolution etc.)
Cheers
Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list