iconik Edge Transcoder on Enterprise Linux 8
This section contains everything you need to know about installing and managing the iconik Edge Transcoder
1. Download and install the iconik Edge Transcoder
Set up the iconik Yum repository, and install the iconik Edge Transcoder RPM
sudo tee -a /etc/yum.repos.d/iconik.repo >/dev/null << EOF
[iconik]
name=Packages - EL8 \$basearch
baseurl=https://packages.iconik.io/rpm/8/\$basearch/
enabled=1
gpgkey=https://packages.iconik.io/rpm/iconik_package_repos.asc
gpgcheck=1
EOF
sudo dnf install iconik_edge_transcoder
For local transcoding to work you will have to install ffmpeg, poppler and ImageMagick. Make sure they are in the path for the user running the service.
Below is one way of doing so, but please do not use on a production setup without checking compatibility with other software: First install Extra Packages for Enterprise Linux (EPEL), see https://docs.fedoraproject.org/en-US/epel/ for instructions.
sudo dnf install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm -y
sudo dnf install ffmpeg ImageMagick poppler-utils ghostscript dcraw perl-Image-ExifTool -y
Alternatively, you can download a static build of ffmpeg which doesn't require any additional libraries. This is available from https://johnvansickle.com/ffmpeg/
To get frame accurate playback in other browsers than Safari you also need mp4mux from Bento4
https://www.bento4.com/downloads/
Unpack the correct package, and copy the mp4mux
binary to /usr/local/bin
To write xmp metadata which can be used in our adobe integration to the proxy files you need Exiftool
sudo dnf install perl-Image-ExifTool
2. Edit config.ini
Edit /etc/iconik/iconik_edge_transcoder/config.ini
to look like this (See Setting up how to get the correct values)
[main]
app-id = 22f34c6e-268e-11e7-ac53-6c4008b85488
iconik-url = https://app.iconik.io/
auth-token = eyJhbGciOiJIUzI1NiIsImlhdCI6MTUwMTU3NjAyNCwiZXhwIjoxNTAxNjE5MjI0fQ.eyJpZCI6IjMzMjFkMjIyLTc2OTMtMTFlNy1hN2EyLTAyNDIwYTAyMTAxYSJ9.sgag4OQb19J9qT1IAdKZYAqbpIoai7oW60Mahye7o8s
sleep-time = 10
max-transcoding-jobs = 4
log-filename = /var/log/iconik/iconik_edge_transcoder/default.log
use-file-cache-proxy = true
session-timeout = 60
image-magick-config = /etc/iconik/iconik_edge_transcoder/image_magick_config
3. Start caching proxy service (Optional)
Using the caching proxy can significantly increase performance in some transcoding scenarios. To use it the service must be running.
sudo systemctl enable iconik_file_cache
sudo systemctl start iconik_file_cache
Make sure the setting is enabled in config.ini, see Advanced options
4. Start the service##.
After installation you can start service with:
sudo systemctl enable iconik_edge_transcoder
sudo systemctl start iconik_edge_transcoder
This will create the Transcoder in iconik the first time you start it. You have to add this transcoder to the corresponding storages in the iconik UI for it to work.
Add the Transcoder's id to the configuration file as transcoder-id
attribute. You find this in the URL when you are editing the transcoder in the format 6f9c5e54-fb9f-11e7-8152-0a580a000240
or in the transcoder list as a button you can click to copy.
For following the log file, you can use the following command:
sudo tail -f /var/log/iconik/iconik_edge_transcoder/default.log
Installation guides per platform:
More information for Administrators
- Administrator's Quick Start
- Application Tokens for managing keys for giving authorization to use iconik
- Getting support