look into gstreamer.  The HLS segmenter is kind of crap, but will handle basic stuff with no problems. It has bindings for python among others.<p>I&#x27;m working on a better one and hopefully I can convince my client to push it to up stream.