My brother @hiroyamagishi informed me of a post regarding running video encoders for threespeak. The post he referred to me was this.
This is to share my attempts on running the encoder on different setups.
First Attempt - Video Encoder on Windows
My first attempt was to install or run it on Windows natively without using docker.
The steps I followed was from this post - How to setup 3Speak Video Encoder node?
The first issue I encountered was in installing ipfs (kabo). I couldn't run ipfs init
. I was able to resolve it by adding the path where its bin was located to my environment PATH.
The second was issue I encountered was running it thru pm2. I wasn't able to resolve it as such I tried to run it on the foreground.
Eventually, for me to be able to run it natively on Windows, I had to keep it running on the foreground (not in the background as a service). I eventually stopped this route and went to the docker setup.
Second Attempt - Video Encoder on Windows via Docker
My second attempt was to run the encoder thru docker. I got the steps from ThreeSpeak's discord.
The steps are in their repository:
Although I was able to retrieve and process a couple of encoding jobs, I wasn't happy with the reassignments happening. Perhaps it was due to my low processor. As such, I went on to my third attempt.
Third Attempt - Video Encoder on Mac via Docker
In my attempt to make use of a better CPU, I opted to install the encoder on my Mac.
I followed the steps I did in my second attempt. However, it didn't proceed with querying for jobs. Which meant I was able to go farther in my second attempt. I stopped this route and went on to my fourth attempt.
Fourth Attempt - Video Encoder on Mac via pm2
This is the route recommended by @sagarkothari88 in the video shared by @threespeak here.
Some of the tools I had to install :
- ipfs - https://dist.ipfs.io/#go-ipfs
- homebrew - https://brew.sh/
- wget - brew install wget