Skip to content

Instantly share code, notes, and snippets.

@mkckr0
Created February 4, 2023 03:29
Show Gist options
  • Save mkckr0/a823a72b0f3d3baf4201d7b598d254dd to your computer and use it in GitHub Desktop.
Save mkckr0/a823a72b0f3d3baf4201d7b598d254dd to your computer and use it in GitHub Desktop.
ffmpeg specify user agent and referer for http protocol
ffmpeg -hide_banner -y -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.52" -referer "" -i "http://.m3u8" -c copy out.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment