How to Optimize Videos for the Web with FFmpeg

  Рет қаралды 8,811

Eric Murphy

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: 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

Пікірлер: 19
@overkill9_83
@overkill9_83 Жыл бұрын
You clarified a lot of things for me with this video You are definetely one of the best and most underrated channels I've come across
@firejelly
@firejelly Ай бұрын
I like to use handbrake for turning final videos into web videos. The UI is really nice and easy to follow and gives you a fair amount of settings and a render queue, and it gives me better results than even using proprietary apps like premiere.
@awuuwa
@awuuwa 2 ай бұрын
VP9 does work in mp4, it is non-standard as far as I beliveve, but it does work.
@vaylx2253
@vaylx2253 2 жыл бұрын
That was awesome. Liked and subscribed.
@PeacefulFaithh
@PeacefulFaithh 2 жыл бұрын
underrated channel
@draabuu
@draabuu 2 жыл бұрын
I like your videos. Thanks!
@chimak111
@chimak111 2 жыл бұрын
Thanks for another very useful video! Minor point: could you mention in the video notes something to the effect that the process is a bit CPU-intensive and so one should be aware of that when dealing with long videos.
@maheshnatamai7423
@maheshnatamai7423 2 жыл бұрын
banger video as always
@bhaveshverma8629
@bhaveshverma8629 2 жыл бұрын
Thanks you so much ffmpeg is great ............
@jtrenda333
@jtrenda333 9 ай бұрын
'preciate ya
@soumyadeepghosh4428
@soumyadeepghosh4428 2 жыл бұрын
can you give a full nvim tutorial saar?? like installation+config+themes+plugins
@Fandar
@Fandar Жыл бұрын
Do I have to upload the entire FFMPEG folder to my website, or just the one FFMPEG file?
@noeleez
@noeleez Жыл бұрын
hey btw what distro do you use
@hoatranquang8376
@hoatranquang8376 7 ай бұрын
Dear Eric Murphy, I had build Video application Assuming that, i have 1000 client downloading video at the same time. Now, i should use which tool to test download my app from client to measure performance and load of server Thanks.
@hatersgonnahate6150
@hatersgonnahate6150 Жыл бұрын
What color scheme and window manager do you use?
@emberavenge7162
@emberavenge7162 Жыл бұрын
tokyo night he said in another vid, and i3 I think
@lovetheentertainment9949
@lovetheentertainment9949 Жыл бұрын
How to optimise multiple video files in a folder without losing quality
@UmitSeyhan75
@UmitSeyhan75 2 жыл бұрын
Ah cmon, where is av1?
@EricMurphyxyz
@EricMurphyxyz 2 жыл бұрын
I want to make another video about av1 in the future, I just don't think the browser support is enough to replace vp9 yet
How JavaScript Ruined the Web
15:02
Eric Murphy
Рет қаралды 116 М.
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 51 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 36 МЛН
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Бискас
Рет қаралды 4 МЛН
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 36 МЛН
Building a Video Sharing Website (with Node.js, Docker and FFMPEG)
9:48
Can You REALLY Trust Proton Mail?
16:57
Eric Murphy
Рет қаралды 192 М.
FFmpeg for Screencasts and Recording 📹
11:55
Bryce Vandegrift
Рет қаралды 7 М.
How to Record Video in Linux With ffmpeg
11:47
Mental Outlaw
Рет қаралды 41 М.
The Ultimate h264 Video Encoding Tutorial
9:50
Jousboxx
Рет қаралды 16 М.
The ultimate guide to web performance
6:43
Beyond Fireship
Рет қаралды 416 М.
Nobody Understands Online Privacy.
14:11
Eric Murphy
Рет қаралды 176 М.
AV1 is disappointing.
11:29
Vex
Рет қаралды 29 М.
FFMPEG Advanced Techniques Pt1 - Advanced Filters
19:38
0612 TV w/ NERDfirst
Рет қаралды 76 М.
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
Kumanda İle Bilgisayarı Yönetmek #shorts
0:29
Osman Kabadayı
Рет қаралды 2,3 МЛН