Live Stream IP Camera (no audio) to Facebook using FFmpeg

Live Stream IP Camera (no audio) to YouTube using FFmpeg: https://youtu.be/MM2oTTb5zXg

FFmpeg notes (including FFmpeg install): https://www.rickmakes.com/ffmpeg-notes/

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

Amcrest playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZNYE224qh9K0hhaaIxU-rta

Live Stream Recommended Settings

https://www.facebook.com/business/help/162540111070395?id=1123223941353904&recommended_by=167417030499767

Facebook Live Stream URL

https://www.facebook.com/live/create

Stream to Facebook (FFmpeg scales video)
ffmpeg -f lavfi -i anullsrc -rtsp_transport udp -i "rtsp://username:password@ip_address:554/cam/realmonitor?channel=1&subtype=0" -force_key_frames "expr:gte(t,n_forced*2)" -vf crop=in_w:in_w*9/16,scale=1280:720 -reorder_queue_size 4000 -max_delay 10000000 -vcodec libx264 -b:v 4500k -pix_fmt yuv420p -f flv "facebook_url"
Stream to Facebook (IP camera scales video)
ffmpeg -f lavfi -i anullsrc -rtsp_transport udp -i "rtsp://username:password@ip_address:554/cam/realmonitor?channel=1&subtype=0" -force_key_frames "expr:gte(t,n_forced*2)" -reorder_queue_size 4000 -max_delay 10000000 -vcodec copy -pix_fmt yuv420p -f flv "facebook_url"
Use Hardware Encoding on Mac

Change libx264 to h264_videotoolbox

Use Hardware Encoding on Windows (Intel processor, QuickSync)

Change libx264 to h264_qsv

Installing FFmpeg on macOS Catalina (without Macports)

FFmpeg download*: https://evermeet.cx/ffmpeg/

* This is a different download site from the video. It looks like you now have to download the individual components (ffmpeg, ffplay, ffprobe) separately.

Installing FFmpeg on a Mac (without Macports): https://youtu.be/AUxxpK24f8c

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

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

Go to Downloads Folder
cd ~/Downloads
Enter FFmpeg Folder
cd ffmpeg*
Enter Binaries Folder
cd bin
List Files
ls
Check is /usr/local/bin
ls /usr/local/bin
Create /usr/local/bin (if it doesn’t exist)
sudo mkdir -p /usr/local/bin
Copy Binaries to /usr/local/bin
sudo cp ff* /usr/local/bin
Run ffmpeg, ffprobe, ffplay
ffmpeg
ffprobe
ffplay
Check PATH (if ffmpeg didn’t work)
echo $PATH
Go to Home Directory
cd
Add /usr/local/bin to PATH (if needed)
touch ~/.zshrc
open -e ~/.zshrc
Contents of .zshrc File
path+=/usr/local/bin
Load .zshrc Immediately
source .zshrc
Check Shell (if you are having trouble)
echo $SHELL

If you get “/bin/bash”, see these instructions.

Mid 2007 Mac Mini RAM Upgrade

In this video, I upgrade the RAM in a Mid 2007 Mac Mini 1.83Ghz.

Apple Order No: MB138LL/A
Apple Subfamily: Mid-2007
Apple Model No: A1176 (EMC 2108)
Model ID: Macmini2,1

Mac Mini SSD Upgrade: https://youtu.be/r0y7GkCTxV0

4GB Kit (2GBX2) DDR2 667 sodimm RAM, Kuesuny PC2-5300 / PC2-5300S CL5 200-Pin Non-ECC Unbuffered Notebook Laptop Memory Modules (Amazon affiliate)
US: https://amzlink.to/az0WO2CDwOF2c