HLS cpu usage #280
Replies: 5 comments
-
Beta Was this translation helpful? Give feedback.
-
Hi thanks for the reply looking at the code it's using -c:v copy -c:a copy so it's copying the stream as it it's just getting split in to segments and updating a m3u files, so not get transcode as such more repackaged if anything. I've run it locally on my laptop on ffmpeg and via a docker ffmpeg image and the CPU usage was 3% but via m3u-editor it's pegs the CPU. Am not at home so can't check it so not sure if the jellyfin ffmpeg build doing it or php when the same options are tested on ffmpeg it self no high CPU usage. |
Beta Was this translation helpful? Give feedback.
-
I've managed to check the CPU usage in the actual container the high CPU isn't FFmpeg its PHP any idea why is so high when doing HLS but near non existing cpu usage from php for TS. |
Beta Was this translation helpful? Give feedback.
-
@sparkison any update of the issue as it is hls proxy is too CPU heavy all the load is coming from php not ffmpeg it self . |
Beta Was this translation helpful? Give feedback.
-
Update after watching the steam for sometime the high CPU php process stop or CPU usage go down. The issue isn't as bad I thought. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I've been using m3u-editor for a few weeks good project.
I was wonder is there anything that can be done to lower the CPU usage when using proxy on HLS mode, TS mode is fine just one media player in the house refuse to work with TS.
From docker compose stats m3u-editor

TS proxy:
HLS:

Beta Was this translation helpful? Give feedback.
All reactions