Finally we completed 4 out 5 dedicated video encoder using Mac Mini i5 4GB ram each. For encoder #2, we use FFMPEG and the rests are using HandBrakeCLI. All machine connected to the storage server via LAN and only processing power that we can test at this moment of truth.
The test :
- Sample.mp4 copied to storage server
- Gearman choose which Worker to process Sample.mp4
- Worker download Sample.mp4
- Worker started to encode in PHP loop to generate 3 profiles ( 400kbps,700kbps,1100kbps )
- Worker upload back all the videos to Storage server
The results :
- FFMPEG use more processing power
- FFMPEG encode much slower