Environment variables in Apache/PHP can be tricky, especially when PHP code running in mod_php calls a command-line PHP script.Continue reading Apache, PHP, and environment variables
Every time I set up a new Mac, I always forget how to make control-left and control-right work in remote Linux shells opened via iTerm2. If you don’t care about the built-in Mission Control shortcuts “Move left a space” and “Move right a space”, here’s how you do it. These instructions are for Sierra (10.12).Continue reading Control-arrow CLI navigation in iTerm2
In our AWS migration, we found it necessary to run an FTP server. Yeah, I know — “FTP? In the 20-teens?”. Look, I get it — nobody wants to run an FTP server in this day and age. But it is still a convenient way for partner companies to transfer data to us via automation. This isn’t highly sensitive data; our main concern is keeping the FTP server isolated from our other services so that any vulnerabilities there don’t propagate to more critical systems.
At any rate, we found it surprisingly challenging to build a highly available FTP service in AWS.Continue reading AWS Adventures, part 2 – high-availability FTP service
Recently, I tried to upgrade my old OpenELEC 3.2.4 system to LibreELEC 8, which ships with Kodi 17. Things did not go well.Continue reading Kodi and RC6 bug on Intel NUC (Celeron 847)
We’re in the process of building out some new Linux-based video encoders, and we want to output to a LOT of different destinations: live streams, archived versions on disk, high-quality versions for future editing, JPEG stills, etc.
QuickSync is a great way to get more out of our processors by offloading the encoding to the GPU. To figure out what architecture to invest in, we ran some tests with a Broadwell processor, the Core i7 5775C (3.3 GHz), and a Skylake processor, the Core i7-6700K (4.0 GHz).Continue reading Benchmarking QuickSync on Broadwell and Skylake
NOTE: this document covers Intel’s Media Server Studio 2017. If you want to use Media Server Studio 2016 with an older processor, see this article.
With the release of Media Server Studio 2017, Intel provides Linux with the ability to leverage QuickSync on Skylake processors. This is a welcome development, as Skylake’s graphics capabilities are significantly better than previous generations of Core processors.
This article outlines how we built ffmpeg to capture video from a Blackmagic Design DeckLink mini and encode it using Intel’s QuickSync technology (h264_qsv).Continue reading Building FFMPEG with support for Decklink Capture and QuickSync encoding (Skylake edition)
NOTE: this document covers Intel’s Media Server Studio 2016. If you want to use Media Server Studio 2017 with a Skylake processor, see this article.
ffmpeg has come a long way since the pre-1.0 days. With its elaborate system of routing filter outputs, its ability to capture video from video cards, and support for GPU-based encoding, it has become quite the powerhouse in the video world.
This article outlines how we built ffmpeg to capture video from a Blackmagic Design DeckLink mini and encode it using Intel’s QuickSync technology (h264_qsv).Continue reading Building FFMPEG with support for DeckLink capture and h264_qsv encoding
Note: this series of articles applies to CentOS 7; for CentOS 6, see this series.
CentOS (and of course, it’s upstream distro, Red Hat Enterprise Linux) has an extremely powerful, but somewhat poorly documented, tool for rapidly deploying machines and managing their configuration: kickstart. Kickstart lets you build a custom installation that can run hands-free. So not only is the installation quick and easy for you, you can be confident that your machines are configured exactly the way you want them to be.Continue reading Building a custom CentOS 7 kickstart disc, part 1
Note: this series of articles applies to CentOS 6; for CentOS 5, see this series.
Once you’ve decided which packages you’re going to include in your kickstart disc, it’s time to pull them all together.Continue reading Building a custom CentOS 6 kickstart disc, part 2