How to Optimize Videos for the Web with FFmpeg
Eric Murphy
Want videos on your website without gigantic file sizes? With everyone's favorite video conversion tool, FFmpeg, I'll show you how you can optimize and transcode your web videos without sacrificing quality. I'll go over the different file formats and video codecs, which options to pass in, how to automate the process, and more.
FFmpeg download page: https://ffmpeg.org/download.html Article with more detail: https://pixelpoint.io/blog/web-optimized-video-ffmpeg/ Bash script: https://gist.github.com/ericmurphyxyz/b00a73142618a65cc70a54f2ae4d7fad VP9 Encoding Guide: https://trac.ffmpeg.org/wiki/Encode/VP9 H.264 Encoding Guide: https://trac.ffmpeg.org/wiki/Encode/H.264 H.265 Encoding Guide: https://trac.ffmpeg.org/wiki/Encode/H.265
Watch my videos on Odysee: https://odysee.com/$/invite/@ericnmurphy:9 My website: https://ericmurphy.xyz My GitHub: https://github.com/ericmurphyxyz
Get a VPS and host a website with Vultr: https://www.vultr.com/?ref=9005580-8H (affiliate link)
0:00 Intro 1:01 Installing FFmpeg 1:34 Changing video resolution 2:50 Removing audio 3:43 Video codecs 4:50 Compression with H264 6:17 Compression with VP9 7:51 Compression with H265 9:02 Creating a script to automate the process 10:13 Loading the videos in HTML 11:09 Additional optimizations 12:45 Conclusion ... https://www.youtube.com/watch?v=G1_7LnbJdR0
50565000 Bytes