gohls icon indicating copy to clipboard operation
gohls copied to clipboard

Streaming uses a lot of CPU and is slow

Open shimberger opened this issue 8 years ago • 3 comments

Look into the following options:

  • [ ] compare source / target encoding to maybe skip transcoding all together
  • [ ] get HW acceleration to work
  • [ ] use different profiles / resolutions
  • [ ] use bigger HLS chunks
  • [ ] batch multiple HLS chunks together

shimberger avatar Dec 28 '16 12:12 shimberger

@shimberger Did you had any time to read or test about this issue?

elico avatar Jan 07 '20 00:01 elico

@elico I have not. Are you interested in helping out?

shimberger avatar Jan 16 '20 15:01 shimberger

@shimberger I am not sure what you or others consider as high CPU usage. In streaming and compression there is always a conflict between CPU and DISK. You can spare one with the cost of the other but cannot spare both. There is a talk which gives couple good points about this issue and there is a link to it in this git: https://github.com/elico/nginx-hls-dash-stream-example

elico avatar Jan 17 '20 06:01 elico