Hello
I wrote the current HTTP Live Streaming recorder in myth
If all you need is to extract the mpegts stream, there's really no
need to do anything, there's already a debug mode that write the
content of the mpegts stream to disk.
Regards
Jean-Yves