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
Nobody Understands Online Privacy.
14:11
Eric Murphy
Рет қаралды 176 М.
How JavaScript Ruined the Web
15:02
Eric Murphy
Рет қаралды 116 М.
Summer shower by Secret Vlog
00:17
Secret Vlog
Рет қаралды 13 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 57 МЛН
Can You Beat Hitman 3 Without Breaking ANY Laws?
22:37
windowledge
Рет қаралды 1,6 МЛН
The Ultimate h264 Video Encoding Tutorial
9:50
Jousboxx
Рет қаралды 16 М.
FFmpeg for Screencasts and Recording 📹
11:55
Bryce Vandegrift
Рет қаралды 7 М.
You NEED to know this before using an AUR Helper...
11:17
Eric Murphy
Рет қаралды 8 М.
Building a Video Sharing Website (with Node.js, Docker and FFMPEG)
9:48
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 3 МЛН
How to Record Video in Linux With ffmpeg
11:47
Mental Outlaw
Рет қаралды 41 М.
iPhone 15 Pro Max vs IPhone Xs Max  troll face speed test
0:33
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 17 МЛН
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 936 М.