1
0
Fork 0
mirror of https://github.com/sbrl/bin.git synced 2018-01-10 21:33:46 +00:00

Add youtube-dl commands to hh favourites

This commit is contained in:
Starbeamrainbowlabs 2017-07-31 20:01:15 +01:00
parent 689e9516d8
commit e01e1df9dc

View file

@ -1,3 +1,5 @@
youtube-dl -f 'bestvideo[ext=webm]+bestaudio[ext=webm]/bestvideo/bestaudio' "https://www.youtube.com/watch?v=Hp0cdTXv5Js&feature=youtu.be"
youtube-dl -F "https://www.youtube.com/watch?v=Hp0cdTXv5Js&feature=youtu.be"
find . -iname "*.md" -print0 | xargs -0 -I {} sh -c 'cat "{}" | wc -w' | awk '{s+=$1} END {printf "%.0f", s}' find . -iname "*.md" -print0 | xargs -0 -I {} sh -c 'cat "{}" | wc -w' | awk '{s+=$1} END {printf "%.0f", s}'
find . -iname "*.JPG" -or -iname "*.png" | sed 's/^/\\"/g; s/$/\\"/g' | paste -d\ - - - - - - | xargs -I {} -n 1 bash -c 'echo montage -geometry 800x600+10+10 -tile 3x2 {} tiles/$RANDOM.jpeg' | sh find . -iname "*.JPG" -or -iname "*.png" | sed 's/^/\\"/g; s/$/\\"/g' | paste -d\ - - - - - - | xargs -I {} -n 1 bash -c 'echo montage -geometry 800x600+10+10 -tile 3x2 {} tiles/$RANDOM.jpeg' | sh
ffmpeg -framerate 0.5 -pattern_type sequence -s 1080x720 -start_number 1 -i frame%d.jpeg -vcodec mpeg4 out.mp4 ffmpeg -framerate 0.5 -pattern_type sequence -s 1080x720 -start_number 1 -i frame%d.jpeg -vcodec mpeg4 out.mp4