Last active
May 9, 2019 18:12
-
-
Save neilghosh/234e608939eff8395211789f3bf0d48b 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
wget -O podcast.xml http://www.podcasts.com/rss_feed/4b07c3e0d7b52f436aba7c07bb3638a5 | |
wget https://s3.amazonaws.com/podcasts-image-uploads/WOC2.png | |
grep -e '[^"]*\.mp3' podcast.xml | grep -o '[^"]*\.mp3' '-' >> list.txt | |
wget -i list.txt | |
for i in *.mp3; do | |
[ -f "$i" ] || break | |
echo $i | |
ffmpeg -loop 1 -i WOC2.png -i $i -c:a copy -c:v libx264 -shortest $i.mp4 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment