ffmpeg part three - No more Boogaloos to give

Just like the first two times, I’m assembling my Watkins Glen 2017 track footage with ffmpeg. However, I encountered a small issue I didn’t last year, plus I decided to change things up a bit with codecs, and audio selection. ffmpeg requires protocol whitelist now I’m using pretty much the same concatenation command as last year (filenames are a bit different): $ for f in Front-*MOV; do echo file "$f"; done | ffmpeg -f concat -i - -c copy Front.

Using Metadoctor on HP/Palm WebOS Devices

My Devices I decided to update the 3/4 of my Palm WebOS devices. The Pre (not pictured) and Pre2 (middle) were my primary, daily-driver phones for over two years, from September 2009 through to spring 2012, when I acquired a Galaxy Nexus and made the jump to Android. The Pre3 (right) I also picked up on eBay. It came in box, with all accessories, and a spare battery. The Pixi (left) I picked up cheap on eBay.

WebOS in 2016

Note: Yes, WebOS Technically still exists. However, this article isn’t talking about the TV OS version made by LG. While this article was actually written to discuss getting Palm devices usable, I felt some preamble was necessary. My Palm History I’ve got a soft spot for Palm. My first PDA was the Palm Vx, possibly the greatest PDA ever made. Easily get days of battery from a device that can store all your calendar and contacts information, synchronizing periodically with your master copy on your computer.

Snapperd on Fedora with SELinux enabled

Snapper is an excellent utility that provides hourly snapshots of btrfs subvolumes. Fedora ships with selinux enabled by default. This is excellent, and shouldn’t be disabled. To allow this, most software in Fedora has appropriate rules defined, including snapper. However, snappers rules only allow it to work on / and /home. If you wish to use it to snapshot /mnt/data, or /srv, or any other particular path, you’re going to have a very bad time.

ffmpeg part two - Electric Boogaloo

I just attended the Watkins Glen opening day for the second year. It was, again, a blast. I made some slight adjustments to my ffmpeg assembly procedure from last year. Dashcam saves video in 5-minute chunks Instead of creating .list files, I simply used a pipe as input: for fo in AMBA091*; do echo file "$fo"; done \ | ffmpeg -f concat -i - -c copy Front-Track1.mov Front and Rear videos need to be combined Much like last year, I made short samples to confirm if any offsets needed to be done.

Intel GPU Scaling mode

I was attempting to run my laptop at a lower resolution than the laptop panel. However, by default the video is scaled to fill the panel. This causes the image to be distorted (fonts look bad, etc). On Linux (with Xorg, anyway), this behaviour can be tweaked with xrandr: $ xrandr --output LVDS1 --set "scaling mode" "Center" This is not a persistent setting, which is fine for my purposes.

My failed experiment with CalDAV/CardDAV

In an ongoing quest to attempt to lessen my Google dependancy, I decided to self-host my Calendar and Contacts using Baïkal. Installing and configuring Baïkal is sufficiently documented elsewhere. This post is a 9somewhat short) account of why I’m giving up on self-hosted contacts and calendars. Google The problems can be summed up into these bullet points: It is assumed (and practically required) to use Google Play Store Google Play Store requires a Google Account Google Account means you have Mail, Calendar, and Contacts Simply adding your google account into your phone causes Mail, Calendar and Contacts to sync.

AWStats from multiple hosts

I decided I wanted some stats. There are a few options: Use a service (Google Analytics, etc) or parse your logs. Both have pros and cons. This article isn’t supposed to help you decide. I just wanted simple stats based on logs: It’s non-intrusive to visitors, doesn’t send their browsing habits to third parties (other than what they send themselves), and uses the apache log data I’ve already got for the entire year.

Discard (TRIM) with KVM Virtual Machines

Update - March 09 2020 Since writing this article, I’ve made a few observations: More people read this than expected QEMU has since added discard support to the standard virtio disk, avoiding the need to use virtio-scsi It kinda sorta works out of the box. I’ve written a brief followup: Discard (TRIM) with KVM Virtual Machines… in 2020! Original Article I’ve got a bunch of KVM virtual machines running at home.

Multiple Instances of Gnome Terminal

Gnome 3 introduced a very handy feature, grouping multiple application windows (whether they be separate instances or not) into a single desktop icon. This means when <alt+Tab>ing through your windows, you can skip over the dozen firefox windows, then dive into just your terminal windows. Generally, this works great, and I think most users don’t have any issues. However, some people (myself included) use a lot of terminals. Some are temporary short-lived generic terminals.