HTTP Live Streaming (HLS) is used to provide streaming videos on popular social media platforms, such as Twitter. One of the main benefits of HLS is that very large video files can be streamed as smaller, individual segments. You can use PowerShell to download the .m3u8 playlist files, and then examine those playlist files to find the individual .ts video segments.
Once you've downloaded the individual .ts segments, you can use FFMPEG to re-assemble the video segments into a single video file.
In this video, we'll use vanilla PowerShell, with no additional module dependencies, along with ffmpeg, to perform this task end-to-end. Hopefully by the end of this video, you have a better understanding of how HLS works, and how to use PowerShell to download files, read and construct new text files, and invoke ffmpeg with some additional arguments.
Scoop package manager: https://scoop.sh/
Producer: Trevor Sullivan
Website: https://trevorsullivan.net/
Patreon: https://patreon.com/trevorsullivan
Twitter: https://twitter.com/pcgeek86
LinkedIn: https://www.linkedin.com/in/trevor-sullivan/
#PowerShell #ffmpeg #Microsoft
90 Comments