Skip to content

Instantly share code, notes, and snippets.

View s-a's full-sized avatar
🎯
Focusing

Stephan Ahlf s-a

🎯
Focusing
  • Hamburg Germany
View GitHub Profile
@s-a
s-a / blockly.xml
Created March 9, 2021 05:52
New Project
Assert ?observation ?contract
ffmpeg -y -i produce.mp4 -filter:v "crop=883:1080:483:0" out.mp4
# ffmpeg -i in.mp4 -filter:v "crop=out_w:out_h:x:y" out.mp4
ffmpeg -y -i "ELEKTRON.noise - Kingdom Of Madness.mp4" -vf "[in]scale=iw*min(1080/iw\,720/ih):ih*min(1080/iw\,720/ih)[scaled]; [scaled]pad=1080:720:(1080-iw*min(1080/iw\,720/ih))/2:(720-ih*min(1080/iw\,720/ih))/2[padded]; [padded]setsar=1:1[out]" -c:v libx264 -c:a copy "shrink.mp4"
ffmpeg -loop 1 -i image.jpg -i audio.wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest out.mp4
ffmpeg -y -i test.jpg -tune film -vf lut3d="1977.cube" test.jpg
ffmpeg -i final.mp4 -vcodec libx264 -vprofile high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=-1:576 -threads 0 -b:a 128k final_mobile.mp4
ffmpeg -i Produce.mp4 -vf lut3d="Science_Fiction.cube" -c:v libx264 -preset slow -pix_fmt yuv420p outx.mp4
ffmpeg -y -framerate 24 -i %04d.png -r 24 -c:v libx264 -preset veryslow -crf 15 -tune film -pix_fmt yuv420p -vf lut3d="Science_Fiction.cube" prod.mp4
@s-a
s-a / clean-up-boot-partition-ubuntu.md
Last active July 5, 2017 09:27 — forked from ipbastola/clean-up-boot-partition-ubuntu.md
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64

Safest way to clean up boot partition - Ubuntu 14.04LTS-x64

Reference

Case I: if /boot is not 100% full and apt is working

1. Check the current kernel version

$ uname -r 
@s-a
s-a / Indian-Female-Names.csv
Created June 24, 2017 18:35 — forked from mbejda/Indian-Female-Names.csv
Dataset of ~14,000 Indian female names for NLP training and analysis. The names have been retrieved from public records. (name,gender,race)
name gender race
shivani f indian
isha f indian
smt shyani devi f indian
divya f indian
mansi f indian
mazida f indian
pooja f indian
kajal f indian
meena f indian