globocom / m3u8

Python m3u8 Parser for HTTP Live Streaming (HLS) Transmissions
Other
2.06k stars 474 forks source link

dumping the streams #98

Closed Xonshiz closed 7 years ago

Xonshiz commented 7 years ago

I was looking for some kind of detailed documentation on this, but failed. I have this m3u8 url :

https://v.vrv.co/evs/assets/6pkvcf2qhfi6g4u_1416861.mp4/index-v1-a1.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly92LnZydi5jby9ldnMvYXNzZXRzLzZwa3ZjZjJxaGZpNmc0dV8xNDE2ODYxLm1wNC8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNDg4NzI3NDc3fX19XX0_&Signature=YXsfwZuarYAiqf4hGhvP7tE1yegb-CMqn614IEFbnOF6GwU3uVNZwsa5vqkJhFWxnbJ8BGuwYoCyYmjJzSUrpN9TFa3ODH3ztpqp1HZ2mhG~koBMTa7CSWV0GtajUMDI8qSYvTx1X36NYpcDJkn2RjR66HlCOxVJDJR1QzMs0t14i-O8eA7AWtTqqX~NpoA1XKAa6K9l1O3lVaX612xWlzXycHk7cXbBrycSJwfEhFWRmF5rKgtjeLiOzvRoIsljw54lO8d~6ZWyD~2ZlhaxCv00m4S-N2Xnel~EivEkzOmAVIRsTmO--bEslOWdmkqJMZj2aATRA8aaE8s7iqQ4og__&Key-Pair-Id=APKAJMWSQ5S7ZB3MF5VA

I wanted to dump the file. Can I do it with this lib? If yes, how?

leandromoreira commented 7 years ago

If you just want to dump it, maybe you could use something simple like Curl.

Xonshiz commented 7 years ago

I wanted to remove any external dependency like livestreamer etc. Wanted everything to be in Pythons libs. Using FFmpeg now. :)