Downloading M3U8 Sources


I came across a video online that was hosted in JWPlayer. I wanted to pull the source and started to evaluate traffic in Chrome Dev tools and found the network traffic that was pulling down small snippets of video and a separate audio stream while the video played.
Apparently the playback streams sections at a time. Fortunately FFmpeg can grab these streams and compile them into a full video. Command below:

ffmpeg -i "http://example.com/video_url.m3u8" -c copy -bsf:a aac_adtstoasc "output.mp4"

Leave a Reply

Your email address will not be published. Required fields are marked *