m3u8_to_mp4() {
url=${1}
filename=${2}
ffmpeg -i $url -c copy -bsf:a aac_adtstoasc $filename
}
Usage: m3u8_to_mp4 ${url} ${filename}
Credit: https://stackoverflow.com/questions/32528595/ffmpeg-mp4-from-http-live-streaming-m3u8-file
m3u8_to_mp4() {
url=${1}
filename=${2}
ffmpeg -i $url -c copy -bsf:a aac_adtstoasc $filename
}
Usage: m3u8_to_mp4 ${url} ${filename}
Credit: https://stackoverflow.com/questions/32528595/ffmpeg-mp4-from-http-live-streaming-m3u8-file