Configure Transcoding Options
To better control your encoding profiles it is recommended to use a json file to specify the resolution and bitrate for your encoding ladder.
Create the JSON file
Use the following as a template for your json file
Modify Docker Config
Create the transcodingOptions.json file using the above template.
Modify the docker-compose.yml file from the root user’s home directory /root/
and add the following below -pixelsPerUnit=1
Modify Linux Config
Create the transcodingOptions.json file using the above template.
Modify the Linux Service file /etc/systemd/system/livepeer.service and add the
following below -pixelsPerUnit=1
Modify Windows Config
Create the transcodingOptions.json file using the above template.
Open notepad (or your text editor of choice) paste the template above and save the transcodingOptions.json file in the following location.
Note: Replace YOUR_USER_NAME with your actual user name
Modify Windows bat file to include the following command after
-pixelsPerUnit=1
Was this page helpful?