Skip to content

Instantly share code, notes, and snippets.

@richseviora
Created August 5, 2019 00:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richseviora/85b609e3c301d2368c327e4cf9ae3d8d to your computer and use it in GitHub Desktop.
Save richseviora/85b609e3c301d2368c327e4cf9ae3d8d to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "Enter m3u8 link:";
read link;
echo "Enter output filename:";
read filename;
ffmpeg -i "$link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 "$filename.mp4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment