How to increase the loudness of an audio track using ffmpeg on Linux.

The FFmpeg utility on Linux is very useful for encoding to different file formats, but it can also be used to tweak audio files. The example below will increase the loudness of an audio track. ┌──[[email protected]]─[~/Music] └──╼ ╼ $ ffmpeg -i Forest_Bg_Night_01.wav -c:a libvorbis -b:8 64k -af loudnorm=I=-16:LRA=11:TP=-1.0 forest.ogg┌──[[email protected]]─[~/Music] └──╼ ╼ $ ffmpeg -i Forest_Bg_Night_01.wav … Read more

How to view videos on Youtube and not count as a view.

Use this code in the uBlock Origin dashboard, and this will block Youtube views code, this allows viewing a video and your visit with a browser will not count views. ||https://s.youtube.com/api/stats/* ||https://www.youtube.com/ptracking ||https://s.youtube.com/api/stats/playback ||https://www.youtube.com/api/stats/watchtime||https://s.youtube.com/api/stats/* ||https://www.youtube.com/ptracking ||https://s.youtube.com/api/stats/playback ||https://www.youtube.com/api/stats/watchtime This could be very useful for any Youtube user who does not care for adding views to videos. … Read more

Trim multiple spaces with sed into a normal string.

To trim multiple spaces from a sentence and turn it back into properly readable text, use this sed syntax. sed ‘s/ \+/ /g’sed ‘s/ \+/ /g’ This is an example. echo "Hello, this sentence has multiple spaces in it and needs fixing." Hello, this sentence has multiple spaces in it and needs fixing.echo "Hello, this … Read more

Use nftables on your Linux machine to add more security.

The nftables firewall is a good alternative to iptables. This has better performance than the old iptables system. To install this on Ubuntu 18.04, run this command. 4.4 Thu Sep 12 jason@Yog-Sothoth 0: $ sudo apt install nftables4.4 Thu Sep 12 jason@Yog-Sothoth 0: $ sudo apt install nftables Edit the /etc/nftables.conf file to remove the … Read more

How to list files with ls that start with letters in the filename and then have numbers.

This is how to list some filenames that start with letters and have some numbers in the filenames. This is a very useful Linux trick. jason@Yog-Sothoth » ~ » $ ls -l [A-Z]*[0-9]*.wav -rw-rw-r– 1 jason jason 4399528 Oct 25 2017 gqrx_20171024_232212_33050000.wav -rw-rw-r– 1 jason jason 2378004 Oct 29 2017 gqrx_20171029_001507_126954900.wav -rw-rw-r– 1 jason jason … Read more

Iptables samples. Very good ways to filter network traffic.

Sample Iptables configurations A sample iptables output that I am using on an OpenVPN server to allow Internet traffic to be passed through it. ubuntu ~ $ sudo iptables-save # Generated by iptables-save v1.4.21 on Wed Aug 2 22:19:48 2017 *filter :INPUT ACCEPT [2654934:1228315333] :FORWARD ACCEPT [31023:17433690] :OUTPUT ACCEPT [2475842:555885003] COMMIT # Completed on Wed … Read more