Here is at last a small guide to compile FFmpeg with the SRT procols and Raspberry OMX hardware GPU support.

Thanks to Pimylifeup for a nice tutorial on how to compile the FFmpeg and I have included the SRT part.