Skip to content

How to Make a User an Encoder Admin

Daniel Neto edited this page Mar 11, 2025 · 2 revisions

Understanding Encoder Admin vs. AVideo Admin

It's important to understand that being an AVideo Admin does not automatically make you an Encoder Admin, and vice versa. Each role has different permissions and functionalities:

  • Regular users can only see and manage their own videos.
  • Encoder Admins have additional privileges, such as viewing and managing all videos in the queue.

Benefits of Being an Encoder Admin

If you are an Encoder Admin, you will see three additional tabs in the AVideo Encoder:

1. Configurations

  • Customize FFmpeg commands used for encoding.
  • Set available resolutions for encoding (e.g., 240p, 360p, 480p, etc.).
  • Manage allowed streamer sites, enabling specific AVideo instances to use your encoder.

2. Update

  • This section allows you to update the Encoder when a database update is available.

3. Streamers

  • View a list of all encoder users.
  • Set priority levels for uploads (lower priority means the video will be encoded first).
  • Promote regular users to Encoder Admins, if you are an admin.

image

How to Become an Encoder Admin

By default, the AVideo user that you use to install the encoder will be set as the Encoder Admin. However, if you rename this user, they will lose Encoder Admin access. In this case, you will need either another admin to grant access again or use the command line method below.

Public Encoders

If you are using a public encoder, you cannot be made an admin. Only self-hosted encoders allow admin privileges.

Self-Hosted Encoders

If you host your own encoder and do not see the admin tabs mentioned above, you need an existing Encoder Admin to grant you admin rights. Alternatively, you can set yourself as an admin using the command line.

Command to Set Yourself as Encoder Admin

If you have access to the server, run the following command:

cd /var/www/html/AVideo/Encoder/install
php makeAdmin.php

This will grant you Encoder Admin permissions and allow you to access all administrative features of the Encoder.

Summary

  • Encoder Admins have extra permissions compared to regular users.
  • They can manage videos in queue, configurations, updates, and user roles.
  • Public encoders do not allow admin access.
  • For self-hosted encoders, you need an existing admin to promote you, or you can use the command line method.

Clone this wiki locally