Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live and background transcodes run at the same CPU priority #3583

Closed
ghost opened this issue Jan 11, 2021 · 0 comments · Fixed by #3577
Closed

Live and background transcodes run at the same CPU priority #3583

ghost opened this issue Jan 11, 2021 · 0 comments · Fixed by #3577

Comments

@ghost
Copy link

ghost commented Jan 11, 2021

Describe the current behavior

All ffmpeg instances run reniced to +15, including the transcodes necessary for live streams. If those fall behind, the stream lags increasingly.

Steps to reproduce:

  1. Upload some video
  2. Start a live stream
  3. Observe process priorities

Describe the expected behavior

I'd expect that both ffmpeg instances would run at lower than default priorities, but that the live ffmpegs would be prioritized higher than the background jobs.

Additional information

  • PeerTube instance:

    • URL: diode.zone
    • version: 3.0.0
    • NodeJS version:
    • Ffmpeg version:
  • Browser name, version and platforms on which you could reproduce the bug:

  • Link to browser console log if relevant:

  • Link to server log if relevant (journalctl or /var/www/peertube/storage/logs/):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants