FCGI application that converts mpeg ts segment to mp4 on download