The 4K Home Theater Upgrade

4K LogoWhen technologies go through major upgrades, they are most often evaluated not on the technical merits of the upgrade but on how the market reacts overall to the technology. For me personally, the iPhone had a major impact and it was my first personal cell phone. Most everyone I know today was impacted by the iPhone. Even if you don’t have an iPhone today, you most likely have an Android, and even though Google was working on Android prior to the iPhone’s release, they ended up having to change their designs, once they saw iOS. In the world of home entertainment, the DVD player and HD television have had monumental impacts as well. In 2017, I looked at my home theater and decided it was time to move into the next big upgrade, namely 4K.

The three big components of home theater system is the television, the surround receiver, and a blu-ray player. Once you talk about speakers and sub-woofers, then you get into things that cannot be accurately described in reviews. Audio is something that is best experienced. Lets just say that I have 7 speakers and a sub-woofer, so it is a surround system.

My first component upgrade was the television. Our television was the first flat screen we ever bought. It is nice television for its time, but it certainly paled in comparison to today’s modern TVs. For some reason, in 2017, televisions are more than just screens. Once you decide on a screen size, you still have to decide what type of screen technology you can afford, if it comes with apps (similar to your phone), and even if you can talk to it. Showing my age, I chose a 55-inch Sony. My father’s generation had Zenith, my generation has Sony, and if you are younger than me, you probably have a Samsung or LG for your brand of choice. Sony makes nice televisions, but their price is higher than you would expect. The new Sony television annoyingly comes with Google Android. I say annoying because, I don’t want to talk to my TV, and I don’t want it to tell me what to watch. All I really want to to is turn it on, and then watch a movie or play a video game. Sony needlessly complicated their television and forces me to deal with an Android OS, its apps, and networking. Aside from this the screen is flat, appears bright, and is just awesome for watching movies.

Content Problems

4K is a technology upgrade that is in search of content. The problem is that DVD resolutions do not look very good on a 4K screen. I am a cable cord-cutter, so online content comes from Netflix, Hulu, and Amazon Prime video. The Sony TV includes these apps, and these apps are also on my Apple TV, Playstation, and Blu-ray Player. Regardless, my connection to the internet at home is not capable of delivering 4K resolution streams, so streaming content is not really going to look all that great on the 4K screen. Slow and unreliable internet connections are a barrier to 4K. I will also mention that ISPs with data-caps are also a barrier to 4K adoption. If you do have the internet capacity to have 4k streaming, then Amazon Prime video is a good source for content. Netflix charges extra for 4K content, so you might need to spend a bit more on subscriptions. Content is also in a mix of formats at this time. This means that higher resolutions than 1080HD are available, but they will vary in resolution and HDR color and of course audio formats will vary. It is best to stick with the native apps on the television if your 4K television has HDR as well.

The Cord Problems

HDMI has both been a blessing and a curse for me. While having one cable for both audio and video makes connections easier and cleaner, the DRM protections included with the standard has meant having to upgrade cables, and unplug them multiple times! In the case of my previous Onkyo Receiver, it even meant having to ship the component for repair due to a malfunctioning HDMI board. Yes, HDMI is awesome when it works, but when it doesn’t it is the most frustrating part of any setup. For 4K, it means another round of replacing all your HDMI cables so they will support the 4K speeds and DRM standards. Don’t even think about using your current cables, just go to monoprice.com and buy new ones. Once you have them, set your HDMI connection to Enhanced (at least that is what Sony calls it if you want to view 4K content), and be prepared to spend 20 minutes trying to make sure the blu-ray player syncs up right. In the case of the Apple TV and my Denon receiver, well, just unplug everything, power it off and start plugging one device at a time! HDMI is suppose to be automatic, but it seems that this was more of a goal than an actual reality for some manufacturers. Yes, I am talking about you Apple! Getting any Apple TV to work with your receiver is the opposite of plug-and-play. Note that a lot of devices do not support 4K at this time.

Receiver 4K Support – Pass Through – Upscaling?

Similar to computer companies who put Intel Inside stickers on their laptops, it has also become fashionable for electronics to be adorned with stickers advertising features and technologies. In the case of my Denon receiver, there was some sticker on it that mentioned 4K. But what does that even mean? Unless your receiver was made in 2017 or is newer, it means almost nothing. The surround receiver, much like the Sony television has become more complicated as well. Modern receivers are slaves to the technologies that televisions and blu-ray players implement. This has meant HDMI boards to allow for multiple inputs and network capabilities. For HDMI specifically, this has meant that the receiver has to support the newer and faster speeds of the HDMI Specification, and at the same time come up with a way to not interfere with the DRM protections (HDCP) that are grounded between the television and the media device (Apple TV, Playstation, XBox, Blu-ray Player, etc). It is the DRM protection that is a problem for older receivers. Although my Denon receiver can pass through 4K resolutions and speeds, it does not know what to do with the newer DRM protection that 4K UHD requires. You will need to upgrade to a new receiver in order to get 4K to be passed through your receiver to your 4K television. Before you buy HDMI cables, a receiver or other component to add to your 4K setup, look for these specifications to be at least: HDCP 2.2 and HDMI 2.0.

UBP-X800 UHD Blu-ray

Given today’s economics, the magic price point for consumers is $300. This is the price range that you will see most companies try to hit when it comes to devices. It is a price that customers view as affordable for entry level tablets, to fancy thermostats and wireless routers. It is the same price range that Sony aimed for the UBP-X800 UHD Blu-ray player. At this price range, the UBP-X800 provides an overall good quality player with an assortment of streaming apps. Sony made some trade-offs in regards to physical outputs and front panel display in order to get to this price range. There are two HDMI outputs, however the second HDMI output is for audio only. This allowed me to keep my Denon receiver and have it process audio only, while connecting the UBP-X800 directly to my television via the first HDMI output. Overall the UBP-X800 is the most responsive disc player that I have ever bought. It beats the previous five Sony Blu-ray players that I have. Is it a perfect high-end player? No. There are $500+ players out there that have more features, but again those players are in a different price range.

Is Blu-ray Dead?

In 2017, there are multiple market realities that are going to hold back 4K adoption. You have the obvious factors such as price and for people who already have invested in 1080 flat televisions, the upgrade to 4K is not as compelling due to the limited internet connections. A more detrimental factor might rest not with consumers but with the media companies themselves. As services like Netflix and iTunes became more popular, physical media sales have been declining for multiple years now. The VHS and DVD formats were very profitable, but as the internet became a content delivery platform of choice, it has resulted in a declining Blu-ray format. A trip to your local BestBuy or Walmart shows that the space dedicated to Blu-ray media is shrinking with every store remodeling. Much like music CDs, the availability of Blu-ray movies is becoming more limited. The upsale to 3D Blu-ray was never more than a passing fad and today you won’t find a 3D Blu-ray section in most stores. The movie studios have begun to adjust to the market; the end result being that some films are no longer even being considered for a blu-ray release!

The market at this time has three different physical formats: DVD, Blu-ray, and 4K UHD Blu-ray. The DVD format is not going away. Internationally DVD is still a high end format. You will find in some international markets, people still renting VHS movies. Those markets will be adopting DVD for multiple years and the inexpensiveness of DVD discs will allow DVDs to remain popular. In the USA, step into any gas station and you will find cheap DVDs for sale.

This leaves us with Blu-ray and 4K UHD. At this time, 4K is not an option by itself. Instead you have to purchase a combo-package that contains usually at least a Blu-ray disc and a 4K UHD Blu-ray. These combo-packages are anywhere from $5-15 above the normal price of single Blu-ray or DVD disc. At this price range, the 4K format is being priced as the most expensive of all formats, including digital online delivery. This does not bode well for the future of 4K or Blu-ray in general. The movie studios should consider lowering the price of entry, because the movie industry has multiple problems.

There are younger generations of consumers who do not go to the movie theater and who do not consider spending two hours watching films to be a worthwhile experience. There is then the glaring issue with films not featuring female and minorities as leads. In my opinion these are bigger threats to the movie industry than pricing Blu-ray discs for profitability. These problems and others with the movie industry can only be ignored for so long.

With Blu-ray in decline and 4K discs being limited and expensive, 4K adoption will be slow and might have to be saved by consumers themselves. The mobile phone is for many consumers already a 4K camera with HDR capabilities. If Disney won’t release Empire on 4K, it may be that you can reach for your phone and make your own 4K content.

Final Thoughts

At the end of the day, I come home and sit down in front of my setup, throw in John Wick on the UBP-X800…

People keep asking if I’m back and I haven’t really had an answer. But now, yeah, I’m thinkin’ I’m back.

And yes, it sounds and looks amazing!

Spammers Lack Quality Control

Warning SignThis morning, I was going through emails, and looked at my spam folder and found something that made me laugh. I have been studying up on some development classes online and integer & string values came to mind.

This is what happens when a developer makes a mistake in their spamming scripts and does not have any quality control. I bolded the amount below for emphasis.

Note this e-mail is been directed to you because during our investigations, your email address was found in one of the scam Artists file and computer hard disk in our custody. In reference to this regards, you will be compensated with the sum of US$17, .500,000.00 (Seventeen Million five Hundred Thousand Dollars). Meanwhile, the Africa Union has requested for evidence to prove you are a victim of West Africa scam. In plight to this regards the USIS have appointed a United State base Attorney (Barrister Allen Adams) here in the State to advocate on your behalf and provide the requested evidence to process the payment approval for your fund to be release to you.

IMPORTANT NOTICE: The only fee you’re to pay to the Attorney is the processing fee $350 for procurment of legal evidence to prove to the West Africa Union that you are a victim of scam. Also kindly request him to direct you on how to submit the processing fee $350

It appears to me that for the amount of $350, I stand the chance of getting back $17.50. This does not appear to be much of bargain. Where you place a period matters.

CentOS 7 Linux Commands

CentOS LogoMy preferred Linux distro at the moment is CentOS 7. It is a community-supported distribution that follows the work that Red Hat does with Red Hat Enterprise Linux (RHEL). It is stable operating system for web servers and something I use every day. Unlike MacOS or Windows, which have lots of internet resources for support, Linux is a bit different. It inherits most of the UNIX terminology and documentation, and perhaps because of this, you will find it harder to research things. After a while, I started to make notes for myself and this post is the end result of some of that note taking. Many things in Linux are step oriented. For example, you should not install PHP, before you have Apache or some other web server installed. Below I have documented some of the steps I take after installing a bare minimum install of CentOS 7 without any GUI. I plan on revising this post in the future as I add or revise my post installation steps.

Note: It is assumed that you are aware that all administrative commands in Linux require root privileges, so I have left out the sudo part. Learn more about how to become root on the CentOS Wiki.

Post Installation Tasks:

1. Update System (Update YUM and Install Updates)

This will automatically update the system. The -y option will suppress any prompting to accept the changes.

yum -y update && yum -y upgrade
2. Enable Repositories

Before installing some packages in the next section, you will need to enable some repositories. The most common are EPEL, IUS, and Remi. Unlike Ubuntu, CentOS is a linux distro that caters to users interested in an enterprise platform. This means that CentOS chooses stability over newer updated software. The EPEL, IUS, and Remi repositories aim to bring newer versions of software to CentOS, without compromising the overall goal of stability. I leave it up to you to read about what repositories to enable and why. In this tutorial, we will enable EPEL and Remi.

Enable EPEL Repo:

To enable EPEL, just use the YUM command. If this command does not work, reference the EPEL Wiki for more information.

yum install epel-release

Enable Remi Repo:

The primary reason for enabling Remi is for testing out newer versions of PHP. You can reference the Remi site for more information, however if you primarily interested in PHP, it is better to use the Remi Configuration Wizard to learn about the various way you want to setup PHP. Note that PHP is also available through the IUS repository. For this tutorial we will install only PHP version 7.1 from Remi.

In order to install PHP from Remi, we must enable EPEL. We have already done this so we will skip the first step.

# EPEL already enabled #yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum install yum-utils
yum-config-manager --enable remi-php71
yum update

To install additional packages:

yum install php-xxx

We then can verify the PHP Version and PHP Extensions installed:

php --version
php --modules
3. Programs and Applications to Install

The following commands, applications, packages are useful to install on a new system. You can use yum to install each of them. Skip down to the YUM Commands section to learn more about yum commands. In Linux most anything installed by yum is called an package, however most Windows users are familiar with the terms application or program. I use the term application interchangeably with package.

To install a specific application/package…

yum install package-name
YUM Utils

These are required in order to remove old kernels and use YUM Plugins

yum install -y yum-utils 
nano

Nano is an easy to use text editor for those of us who are not Vim or eMacs masters. I highly recommend using Nano if you are new to Linux.

net-tools

If you installed a minimal install of CentOS 7, the ifconfig command will be missing. Installing net-tools will install ifconfig. This is the equivalent of the ipconfig command in Windows.

nmap

Nmap is a utility for network exploration or security auditing. Once installed, use it to list all open ports and services.

nmap 127.0.0.1
rkhunter

Rootkit Hunter is an easy-to-use tool which checks computers running UNIX (clones) for the presence of rootkits and other unwanted tools.

rkhunter --check
telnet

Telnet is a popular protocol for logging into remote systems over the Internet. The package provides a command line Telnet client.

tree

The tree utility recursively displays the contents of directories in a tree-like format. Tree is basically a UNIX port of the DOS tree utility.

wget

GNU Wget is a file retrieval utility which can use either the HTTP or FTP protocols.

unzip

The unzip utility is used to list, test, or extract files from a zip archive.

zip

The zip program is a compression and file packaging utility.

4. CentOS VirtualBox Guest

If you are setting up CentOS as a guest operating system on VirtualBox, there are some additional steps outlined on the CentOS Wiki.

Directory Structure:

With the Tree command installed, you can get a good view of the system.

tree -C -L 1 /
  • /bin – command binaries (this is actually a symbolic link to usr/bin)
  • /boot – boot system
  • /dev – is for system devices
  • /etc – system configuration files
  • /home – user home directories
  • /lib – library for system binaries(this is actually a symbolic link to usr/lib)
  • /lib64 – (this is actually a symbolic link to usr/lib64)
  • /media – mount point for removable media
  • /opt – third-party software packages
  • /proc – system and process information
  • /root – root user home folder
  • /run – information about running processes
  • /sbin – system binaries (this is actually a symbolic link to usr/sbin)
  • /srv – files for various services
  • /sys – similar to /proc
  • /tmp – temporary files
  • /usr – another place for applications
  • /var – variables files, such as logs

For a more detailed explanation of the directory structure see LinuxInsider’s The Filesystem Hierarchy Standard.

YUM Commands:

Search for an application and description

yum search zip

Display information for an application

yum info zip

Install an application

yum install zip

Check if an application is installed

yum list zip

See all applications installed

yum list installed | less

Remove or Uninstall an Application

yum remove zip

Check What Needs Updating

yum check-update
yum list updates
yum list available

Update All

yum update

Yum Commands for Groups

yum grouplist
yum groupinfo "group name"
yum groupinstall "group name"
yum groupremove "group name"
yum groupupdate "group name"

Repositories are setup under:

/etc/yum.repos.d/

List Enabled Repositories

yum repolist

Display All Repositories (Both Enabled and Disabled)

yum repolist all

YUM Clean Commands

yum clean expire-cache
yum clean packages
yum clean headers
yum clean metadata
yum clean dbcache
yum clean rpmdb
yum clean plugins
yum clean all

Yum Plugins

yum info yum

Yum Delta RPMS

To save bandwidth Linux has a feature that allows you to download only partial changes instead of entire packages. Not all repositories utilize this and the minimal install of CentOS does not enable delta rpms. Enabling this feature is a trade off between CPU utilization versus bandwidth. Learn more about delta rpms.

yum install -y deltarpm

Disk Space:

Use the Tree command to list out directories. To see disk space use the df and du commands.

df -h
du -hd1 / | sort -h

Find Large Files

Use the find command to list out the largest 10 files.

find -type f -exec du -Sh {} + | sort -rh | head -n 10
find / -type f -exec du -Sh {} + | sort -rh | head -n 10
find /home/username -type f -exec du -Sh {} + | sort -rh | head -n 10
find /var/log -type f -exec du -Sh {} + | sort -rh | head -n 10

Find files larger than 100 Megabytes (ignore the false positives for /proc)

find / -size +100M

Find files created in the last day

afind -ctime -1 -ls

Run the YUM Clean command

yum clean all

Remove Old Kernels

This will remove all kernels, except the previous one. Note that if you recently installed a new kernel, you need to reboot the system first and then run this command. You can also increase the count to equal higher than 1 to keep more than the previous kernel file.

package-cleanup --oldkernels --count=1

Delete Old and Rotated Log Files

List out the log files first and then delete.

find /var/log -type f -regex ".*\.gz$"
find /var/log -type f -regex ".*\.gz$" -delete
find /var/log -type f -regex ".*\.[0-9]$"
find /var/log -type f -regex ".*\.[0-9]$" -delete

Additional Resources: