Add encoding pipeline for RPi