Last active
May 23, 2016 01:19
-
-
Save vivekn/94080cafe921a0f50d7c67c958809588 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX='http://mediastream2.brown.edu/media/_definst_/vreserves/harrison_ampa2610/mp4:' | |
for i in `seq 1 36` | |
do | |
file=`curl http://brown.edu/cis/sta/dev/harrison_ampa2610/lecture_$i.html | grep mp4 | awk '{print substr($2, 2, length($2)-3)}'`; | |
ffmpeg -i $PREFIX$file/playlist.m3u8 -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 $file | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment