Posts

Showing posts from April, 2024

Useful linux apps

 Thanks to Derek Keats: - General office tools (presentation, vector graphics, word processing, spreadsheets) - Libreoffice - Advanced vector graphics (working with Adobe Illustrator and EPS files) - Inkskape - Raster graphics (90% overlap with photoshop) - Gimp - Video editing  - KDenlive (so far it has everything I have needed) - Video recording - OBS (open broadcaster studio - the golden standard for live streamers also works well for recording) - Text comparison - Meld (good for checking text between different documents) - Backups and photo syncing -  GRSYNC - Photo collection management - Digikam. - RAW editing - Darktable (like Adobe lightroom without the cost) - Audio recording and editing - Audacity - Cellphone as webcam - Irun webcam - Video optimisation and conversion - Handbrake - Image to video with effects - PhotoFilmstrip

Converting media formats from one to the other using ffmpeg and/or ImageMagick

 Where $i is the original name and $nn is the new name: Animated gif to mp4: ffmpeg -i $i -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" $nn.mp4 WAV to mp3: In case you have to deal with windows 3.11 users. Just kidding, any windows users. ffmpeg -i $i -vn -ar 44100 -ac 2 -b:a 192k $nn.mp3 Any video to mp4: This is useful if you get MOV files from your phone as they are 3x bigger than mp4: ffmpeg -i $i $-vn -acodec libmp3lame -ac 2 -ab 160k -ar 48000 $nn.mp4 PNG to jpg: This is useful if you get lots of screenshots on your phone as the screenshots are 10x bigger than jpg:      convert $i $nn.jpg