utgg wrote: 
> I couldn't resist even more fiddling with the alpha HLS plugin; I hope
> you don't mind if you are watching Triode!
> 
> With the attached HLS.pm I've done a small optimisation of the string
> copies, as already hinted at by Triode. This reduces the number of bytes
> copied by around 500 fold, and reduces the HLS decoding overhead
> massively on my NAS, from about 40% to about 5% processor load. With
> this change, the earlier bug fix and reduction in FETCH_CHUNKS, I'm very
> happy indeed - streaming is reliable, interface is snappy, and I'm
> heating up the planet just a little less now!
> discern.

First of all once again many, many thanks to Triode for writing an
implementation of the HLS protocol 'natively' in the plugin, but I too
was seeing high CPU usage on my version 1 Raspberry Pi, so I had to try
your changes too utgg. The patch reduces CPU from 54% down to a
ticking-along 15% so it's well worth looking at if you're suffering from
performance problems until/unless another version from Triode comes out.
Also reducing the chunks to 2 really makes startup a lot snappier.

Thanks both Triode and utgg!


------------------------------------------------------------------------
Parky's Profile: http://forums.slimdevices.com/member.php?userid=30307
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to