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: [ Ссылка ]
Article with more detail: [ Ссылка ]
Bash script: [ Ссылка ]
VP9 Encoding Guide: [ Ссылка ]
H.264 Encoding Guide: [ Ссылка ]
H.265 Encoding Guide: [ Ссылка ]
Watch my videos on Odysee: [ Ссылка ]
My website: [ Ссылка ]
My GitHub: [ Ссылка ]
Get a VPS and host a website with Vultr: [ Ссылка ] (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
How to Optimize Videos for the Web with FFmpeg
Теги
ffmpegvp9h265h.264h.265vp8hevcencoderdecoderoptimizewebmmp4filecontainertranscodecommand linecliflagshow to useperformanceweb performancevideosourcevideo backgroundhero backgroundhero videoqualityresizescaleresolutionfile sizeshrinksmallerbestfile formatweb videocompressioncodecsvideo codecsh264appleiossafarifirefoxchromegoogle chromeadvancedfaststartcrfconstant qualityinputoutputtutorialhtmlcssmacoslinuxscript