Skip to content

Instantly share code, notes, and snippets.

View obeninteractive's full-sized avatar

Oben Interactive obeninteractive

  • Oben Interactive
  • Internet
View GitHub Profile
@obeninteractive
obeninteractive / ubuntu-convert-mp4-to-mp3
Created August 19, 2019 13:43
Convert mp4 into mp3 using command line
ffmpeg -i file.mp4 -vn \
-acodec libmp3lame -ac 2 -ab 160k -ar 48000 \
file.mp3
@obeninteractive
obeninteractive / command-line-convert-png-to-jpg.txt
Last active March 10, 2020 08:12
convert png to jpg (alpha remove)
//please open terminal (Ctl + Alt + T) & put this command line
convert file.png -background white -alpha remove file.jpg
@obeninteractive
obeninteractive / ubuntu-compress-mp4-files-command-lines.txt
Last active July 22, 2021 07:35
Ubuntu - Compressing mp4 files using command line
for f in *.mp4; do echo "Converting $f"; avconv -i "$f" -acodec mp2 -r 25 ./"${f}"-opt.mp4; done
@obeninteractive
obeninteractive / 0_reuse_code.js
Last active August 29, 2015 14:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console