June 18, 2019
  • June 18, 2019

Articles Posted by Tom Gerken

How To Make Audio/ Video Louder or More Quiet With ffmpeg/ avlib

by on February 1, 2019 0

Louder: ffmpeg -i Mandolin.mp3 -filter:a “volume=+10dB” MandolinLoud.mp3   Quieter: ffmpeg -i Mandolin.mp3 -filter:a “volume=-10dB” MandolinLight.mp3     Ex: Make Video Louder ffmpeg -i Mandolin.mp4 -filter:a “volume=+10dB” MandolinLoud.mp4 If you get a warning error that says: The encoder ‘aac’ is experimental but experimental codecs are not enabled, add ‘-strict -2’ if you want to use it.… […]

Read More

Merge pdfs In Linux

by on January 20, 2019 0
It's often useful to merge multiple pdf files in a single pdf file.  I recently had to do this to merge all my monthly statements into a single pdf to print. Let's take an example where we have a folder full of pdfs in /usr/myPdfs and we want to merge them all together. First, let's get [...] Read More

Transfering a Folder Recursively to Another Machine With rsync (Push or Pull)

by on January 10, 2019 0
rsync is an awesome program built into Linux to copy files.  It can do both pushing and pulling of files: Pushing Files sudo rsync [OPTION...] [USER@]HOST:SRC... [DEST] Example of Pushing a Directory Recursively: sudo rsync -rt /var/www/html/coolFiles timmanz@ Pulling Files You can also initiate the transfer on the receiving machine.  The syntax is as follows: [...] Read More

Migrating From MySQL to PostgreSQL Using pgloader

by on January 10, 2019 0
This tutorial shows how to migrate your mysql database to postgresql.  Let's imagine we are migrating a table called MusicData to PostgreSql from mysql sudo mysqldump --compatible=postgresql --default-character-set=utf8 -r MusicData.mysql -u root -p MusicData sudo wget https://raw.github.com/lanyrd/mysql-postgresql-converter/master/db_converter.py sudo chmod +rx db_converter.py sudo python db_converter.py MusicData.mysql MusicData.psql Install PostgreSQL if you don't have it installed yet: sudo apt-get [...] Read More

Enable NGINX to Allow Larger Uploads

by on January 8, 2019 0
Many times we'll set up a new media server and will need to allow larger files to be uploaded.  This is also useful when running a WordPress site with NGINX sudo nano /etc/nginx/nginx.conf Look for a setting called client_max_body_size and update it to a marge larger number, I like 8000M.  If there is no client_max_body_size setting, add [...] Read More

Linux Hard Drive Guide

by on December 31, 2018 0
Hard drives allow us to store large amounts of data in a predictable, uniform way.  No matter which manufacturer produces the hard drive, Linux abstracts this away from the computer's user so they can easily use the available space. Storage is reaching amazing low prices and you can get a great 1TB hard drive for $46.88 [...] Read More