I need to parse the m3u8 multimedia file, which is a playlist, and download the actual media content.
In my understanding, the following process:
- Parse the m3u8 file and get .TS fragments.
- Once all the pieces have been extracted, merge them as one file
- Converts the merged TS file to mp4 format.
Unfortunately, I could not find any lib / module to complete the above steps. Can someone provide a better approach or working sample for processing and downloading the m3u8 file?
Any help is greatly appreciated.
source share