Vorlent / cozycast

movie night over the internet
Other
5 stars 3 forks source link

Decrease CPU usage #5

Closed Vorlent closed 4 years ago

Vorlent commented 6 years ago

Kurento may be transcoding the stream and cause excessive CPU usage. This is fine if only one stream runs on a single machine but running multiple streams just isn't feasable. At the bare minimum it should be possible to run one stream per CPU core.

Possible solutions: avoid transcoding use hardware accelleration

Vorlent commented 4 years ago

h264 encoding is less CPU intensive but the current kurento configuration supports automatic VP8 transcoding. Removing VP8 support decreases the CPU load noticeably but it only shows a blank screen.

Vorlent commented 4 years ago

VP8 encoding performance with the real time option significantly decreases the CPU usage and increases quality because it avoids transcoding.