Posts

Showing posts from September, 2018

Download media stream available in m3u8 format

Locate the m3u8 stream of the media: Install Firefox plugin "The Stream Detector" or "Video DownloadHelper". Then when you use Firefox to browse pages with media, you will be able to get the link to the m3u8 media streams (master.m3u8). Download the media for 30s: Use ffmpeg: ffmpeg -i " m3u8_full_web_path " -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 -t 00:00:30 local_file_location Download the content specified in the master.m3us8 file ffmpeg -i <master.m3u8 file>  -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 file.mp4