Creating a Desktop Shortcut on Windows to Watch TV using an HDHomeRun and FFmpeg

SiliconDust HDTC-2US-M HDHomeRun EXTEND (Amazon Affiliate)
US: https://amzn.to/3dV87bx
UK: https://amzn.to/2NYARVG
CA: https://amzn.to/38G96uZ
AU: https://amzn.to/2ABKdUm

Installing FFmpeg on Windows: https://youtu.be/UDIMVp4jWXo

FFmpeg playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZOPDZ71Khzt5PX4X4j6flkg

FFplay Command to Watch TV
ffplay -i "http://<ip_address_of_hdhomerun>:5004/auto/v8.1" -ac 2 -vf "yadif" -fs
FFplay Command to Watch TV (with transcode)
ffplay -i "http://<ip_address_of_hdhomerun>:5004/auto/v8.1?transcode=internet480" -ac 2 -vf "yadif" -fs
FFplay Arguments

-i input
-ac number of audio channels
-vf “yadif” deinterlace
-fs fullscreen

Script File Name
8.1 CBS.bat
Script File Contents
ffplay -i "http://<ip_address_of_hdhomerun>:5004/auto/v8.1" -ac 2 -vf "yadif" -fs

Installing FFmpeg on a Mac (without Macports)

Installing Macports (including FFmpeg): https://youtu.be/N22Ic6ZRPXI

FFmpeg playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZOPDZ71Khzt5PX4X4j6flkg

Move to the Download Directory
cd ~/Downloads
View Files in Download Directory
ls -l
Unzip FFmpeg
unzip ffmpeg*.zip
Move into FFmpeg Directory
cd ffmpeg*
View Files in the Directory
ls
View Files in /usr/local/bin
ls /usr/local/bin
Create /usr/local/bin Directory (if it doesn’t exist)
sudo mkdir -p /usr/local/bin
Copy FFmpeg Binaries to System
sudo cp -r bin/* /usr/local/bin/
View Executable Search Paths
echo $PATH
Create .bash_profile (if needed)
touch ~/.bash_profile
Open .bash_profile
open -e ~/.bash_profile

Add this to the bottom:

 export PATH="/usr/local/bin:$PATH"

Type control-o to save and control-x to exit.

Reload .bash_profile
source ~/.bash_profile

LiBa Shiatsu Neck Back Massager Pillow Unboxing

LiBa Shiatsu Neck Back Massager: https://amzn.to/2H0chBH (Amazon affiliate)

Prior to buying the corder version above, I borrowed this from a family member:
LiBa Cordless Massager: https://amzn.to/2U4HTtM (Amazon affiliate)

P3 International P4460 Kill A Watt EZ Electricity Usage Monitor (Amazon affiliate)
US: https://amzn.to/2TZa4u4
CA: https://amzn.to/3izkEoe

Access Files (using SMB) on the Synology NAS from a Virtual Machine on the Synology NAS

Synology Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZPL8Yx7FxnY6xKxcMiVWkkJ

Access using NFS: https://youtu.be/j625yzl78nA

Synology DS918+ (Amazon Affiliate)
US: https://amzn.to/2EECW3Q
UK: https://amzn.to/35BD9jW
CA: https://amzn.to/35ILfYs
DE: https://amzn.to/2VsP561
ES: https://amzn.to/3eIwJWc
FR: https://amzn.to/2VqZHCo
IT: https://amzn.to/2XEQC8T
IN: https://amzn.to/2Th9pom

(x4) WD RED WD40EFRX CMR* (Amazon Affiliate)
US: https://amzn.to/3ewSHvC
UK: https://amzn.to/354lcOk
CA: https://amzn.to/3l5syGK
DE: https://amzn.to/2IfafjF
ES: https://amzn.to/2TXqa99
FR: https://amzn.to/35178VF
IT: https://amzn.to/32fNx28
IN: https://amzn.to/3l5X6bh
AU: https://amzn.to/2JCUyn7

* Please verify that you have chosen the WD40EFRX (CMR) model when ordering. Also check that you got the correct drives when your order arrives. Avoid the WD40EFAX SMR models!

Crucial 16GB (8GBx2) RAM CT2K8G3S186DM (Amazon Affiliate)
US: https://amzn.to/35TmsB1
UK: https://amzn.to/35Pvsa5
CA: https://amzn.to/2thVWUy
ES: https://amzn.to/2VgoecJ
FR: https://amzn.to/2NoBZSv
IT: https://amzn.to/2VgwIkb
DE: https://amzn.to/3avuVwe (HX318LS11IB/8)
IN: https://amzn.to/37Y1Fgz
AU: https://amzn.to/2CGypRH

Install CIFS Software
sudo apt install cifs-utils
Create Mount Point
sudo mkdir /mnt/DS_Share
Find Current Username
whoami (returns username)
Find User ID of User
id -u rick
Find Group ID of User
id -g rick
Mount Share
sudo mount.cifs -o user=rick,uid=1000,gid=1000 //ip_of_Synology]/DS_Share/ /mnt/DS_Share
Move to Share Directory
cd /mnt/DS_Share
List Contents of Share Directory
ls -l
Return to Home Directory
cd
Unmount Share
umount /mnt/DS_Share
Mount Share Upon Startup
sudo nano /etc/fstab
//ip_of_Synology/DS_Share /mnt/DS_Share cifs user=rick,pass=password,uid=1000,gid=1000 0 0

Type control-o to save, control-x to exit.

Mount all Volumes in fstab
sudo mount -a
Check to see if Mounted
ls /mnt/DS_Share

Note on SMB setup: In the Synology’s File Services settings for SMB, when you click on “Advanced Settings”, I have Maximum SMB Protocol set to SMB3 and Minimum set to SMB1. I also have these four settings with check marks in them, “Enable Opportunistic Locking”, “Enable SMB2 lease”, “Enable Local Master Browser” and “Enable SMB durable handles…”