Archive for the ‘Uncategorized’ Category

Notes: Professional Audio/Broadcasting with OBS Studio

Sunday, February 25th, 2018

OBS Studio 21 is awesome! Other than the obvious (open source, cross platform), I’d say it’s finally at the point where it’s ready to be taken seriously by professional broadcasters.

On my list, the big thing that OBS Studio 21 brought that it was missing was Audio Ducking to the Compressor. Pair that with the Noise Gate, and you configure a clean auto-mix on any platform.

Here’s a quick look at my current audio configuration that ducks the audio whenever I speak:

I’m still experimenting with it, trying to make it better, but it gets the job done. The goal of such a configuration is something that auto-balances you and the audio, so that when you have nothing to add (commentary), more of the original audio can be enjoyed.

Details are below.

(more…)

Notes: VLC

Sunday, February 25th, 2018

Under View->Add Interface, you can enable the Web Interface for VLC. This gives you a way to remote control VLC using HTTP requests, or simply check the status of things (like the currently playing song).

By default, the web server runs here:

http://localhost:8080/

Before you can access it, you need to set a password. Follow the instructions at the URL above (i.e. Tools->Preferences then All->Interface->Main Interface->Lua then Lua HTTP->Password.

With a password set, you can access it via cURL like so:

Noting that you have a password, and no login. To connect via other means (i.e. the browser), you’ll have to open a connection using Basic Authentication. You can find details about the HTTP headers necessary to do this in the example found here (last item).

Useful links:

To permanently enable the web server when VLC is running, go to Tools->Preferences, then select All->Interface->Main Interface. Under Extra interface modules you can select Web. When you restart and check View->Add Interface it wont show up, but the server is running.

Notes: DaVinci Resolve on Ubuntu

Monday, January 22nd, 2018

DaVinci Resolve is not designed to run on Ubuntu out-of-the-box (it’s designed for Redhat/CentOS). So we need some trickery.

Download it: https://www.blackmagicdesign.com/ca/products/davinciresolve/

Install pre-requisites:

Install OpenCL:

Install DaVinci Resolve:

This is about as far as I got.

If you ever need to repeat the genuine install step, you can delete the /opt/resolve folder and re-run the install. Be sure to re-own the folder though.

* * *

Without the OpenCL drivers, I get the welcome first-run, but it never actually starts once configured.

With the OpenCL drivers, the app starts, but warns me it can’t find a usable GPU.

* * *

Also, word has is DaVinci can’t export MP4 on Linux (at least as of Resolve 14). There’s also a lot of whining about audio support not quite working right, but I’m not sure about this yet.

Sphinx Search Notes

Tuesday, November 14th, 2017

Config broken up in to sections

* sources (source)
* indexes (index)
* indexers (indexer)
* searchd (searchd)

http://sphinxsearch.com/docs/current.html#quick-tour

https://github.com/sphinxsearch/sphinx/blob/rel22/sphinx-min.conf.in

https://github.com/sphinxsearch/sphinx/blob/rel22/sphinx.conf.in

Should you switch to Sphinx real time indexes?

Notes: Rsync’y Box

Wednesday, November 1st, 2017

(more…)

Notes: EdgeMax (EdgeRouter)

Sunday, October 29th, 2017

Notes on working with an Ubiquiti EdgeRouter running EdgeMax.

Factory Reset

If you ever need to start over, you can factory reset by holding the Reset button for about 10 seconds, until the eth4 LED starts flashing and then becomes solidly lit. After a few seconds, the LED will turn off, and the EdgeRouter will automatically reboot.

Getting Started

Plug your computer in to PORT 1 (eth0). Connect to https://192.168.1.1 (note HTTPS). Accept that it lacks a certificate. Default user account is “ubnt” with password “ubnt” (and no quotes).

First things first, you should do an update. At the very bottom of the page, there is buttons for Alert and System. Click System, and scroll further down.

In another tab, you’re going to want to open this link:

https://www.ubnt.com/download/edgemax/edgerouter-x

Grab the latest firmware for your EdgeRouter. Then back in the web-ui, find Configuration Management & Device Maintenance->Upgrade System Image->Upload System Image.

Hop over to the Wizards tab, and run the Basic Setup. This will reconfigure the EdgeRouter so PORT 1 (eth0) uses DHCP to fetch an IP and Gateway to the internet. This is useful for connecting it to your existing network, and for when you have a Cable internet provider (i.e. no authentication required. it’s all MAC/Serial Number based).

This also sets up switch0, and a variety of other settings (NAT masquerading for the WAN connection, good WAN firewall defaults, a DHCP server for a normal LAN).

The Dashboard

The dashboard is the main tab you use for setting up interfaces.

After the wizard, we already have a virtual Switch (switch0) ready to go. If you drill down in to switch0’s settings (Actions->Config), you can define or change the IP address (i.e. where you see the Router on the network), or in the VLAN tab set which ports to associate with the Switch, and optionally set a fixed VLAN address for specific ports (i.e. for connecting an untagged device).

(more…)