Comprobo – Video Transcoder

Videos for the web need to be transcoded into multiple different formats

Comprobo needed the ability to be able to accept user uploaded videos and ensure the later playback of them on a variety of browsers in different video encoding methods.

We constructed for them a Slim3 Framework (PHP) powered API microservice, which accepted JWT (JSON Web Token) signed JSON requests which included an input video location, video output location and additional various parameters. This information was then taken and the video fetched, analysed for length, resolution, name etc (with this information being able to be “called back” at this point) and then encoded using ffmpeg to the various output video parameters. Once completed, thumbnails were automatically generated at key parts of the video (such as 5 seconds in and every 10%) and then all these files were then pushed to the output location before a further callback for “completion” was made.

This project involved a custom ffmpeg build script (to cope with the variety of video encodings).


August 2016





Want us to build or design your site?