Skip to content

Instantly share code, notes, and snippets.

@MMnasrabadi
Last active October 4, 2022 08:53
Show Gist options
  • Save MMnasrabadi/92fb8a4ed64a7fd770ddbb6aae92351c to your computer and use it in GitHub Desktop.
Save MMnasrabadi/92fb8a4ed64a7fd770ddbb6aae92351c to your computer and use it in GitHub Desktop.
Download stream video format : M3U8
ffmpeg -user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/537.86.7" -i https://branding.arvanvod.com/w4orK6pYLV/wVmowjK7OW/h_,144_200,240_400,360_800,480_1500,720_2500,k.mp4.list/index-f4-v1-a1.m3u8 -c copy Arvin.mkv
@MMnasrabadi
Copy link
Author

Record M3u8 online video :

FOR ADDRESS :

https://branding.arvanvod.com/w4orK6pYLV/wVmowjK7OW/h_,144_200,240_400,360_800,480_1500,720_2500,k.mp4.list/index-f4-v1-a1.m3u8
  1. open Termonal

  2. go to cd Downloads/

  3. run code :

     ffmpeg -user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/537.86.7" -i https://branding.arvanvod.com/w4orK6pYLV/wVmowjK7OW/h_,144_200,240_400,360_800,480_1500,720_2500,k.mp4.list/index-f4-v1-a1.m3u8 -c copy Arvin.mkv
    
  4. after record your video your video in Downloads/Arvin.mkv

if not install ffmpeg Run code :

$ brew install ffmpeg

*. in not install brew run code :

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

PS:

for windows : https://windowsloop.com/download-m3u8-video-with-ffmpeg/

reference :

https://stackoverflow.com/questions/32528595/ffmpeg-mp4-from-http-live-streaming-m3u8-file/32537953#32537953

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment