Рет қаралды 8,811
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: ffmpeg.org/download.html
Article with more detail: pixelpoint.io/blog/web-optimi...
Bash script: gist.github.com/ericmurphyxyz...
VP9 Encoding Guide: trac.ffmpeg.org/wiki/Encode/VP9
H.264 Encoding Guide: trac.ffmpeg.org/wiki/Encode/H...
H.265 Encoding Guide: trac.ffmpeg.org/wiki/Encode/H...
Watch my videos on Odysee: odysee.com/$/invite/@ericnmur...
My website: ericmurphy.xyz
My GitHub: github.com/ericmurphyxyz
Get a VPS and host a website with Vultr: 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