Skip to content

Instantly share code, notes, and snippets.

View luebbert42's full-sized avatar

Dorthe Luebbert luebbert42

  • Cologne, Germany
View GitHub Profile
@dvlden
dvlden / ffmpeg.md
Last active September 13, 2024 18:17
Convert video files to MP4 through FFMPEG

This is my personal list of functions that I wrote for converting mov files to mp4!

Command Flags

Flag Options Description
-codec:a libfaac, libfdk_aac, libvorbis Audio Codec
-quality best, good, realtime Video Quality
-b:a 128k, 192k, 256k, 320k Audio Bitrate
-codec:v mpeg4, libx264, libvpx-vp9 Video Codec
@Iman
Iman / clean.sh
Last active September 11, 2024 11:12
Free up disk space on Ubuntu - clean log, cache, archive packages/apt archives, orphaned packages, old kernel and remove the trash
#!/bin/sh
#Check the Drive Space Used by Cached Files
du -sh /var/cache/apt/archives
#Clean all the log file
#for logs in `find /var/log -type f`; do > $logs; done
logs=`find /var/log -type f`
for i in $logs