Sudo add-apt-repository ppa:savoury1/ffmpeg5 If they don't show up or if you want to upgrade to the stable av1 encoder you can check out the ffmpeg 5 ppa and follow the installation instructions below: sudo add-apt-repository ppa:savoury1/ffmpeg4 You can check your locally installed version of ffmpeg by running: ffmpeg -versionįfmpeg version 5.1.2-0ubuntu1~20.04.sav1 Copyright (c) 2000-2022 the FFmpeg developersīuilt with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)Ĭonfiguration: -prefix=/usr -extra-version= '0ubuntu1~20.04.sav1' -toolchain=hardened -libdir=/usr/lib/x86_64-linux-gnu -incdir=/usr/include/x86_64-linux-gnu - arch=amd64 -enable-gpl -disable-stripping -enable-gnutls -enable-ladspa -enable-lcms2 -enable-libaomĪnd you want to look for 5.x and in the list of features for -enable-libaom to confirm that you have the av1 encoder built into your ffmpeg binary. If you're on an Ubuntu-like distro like Linux Mint or similar, you might want to ensure you have ffmpeg 5 installed for the stable version of the av1 encoder through the PPA if necessary. The video examples in this post are from our Norway Travel VLOG, that you can see in full below with a few epic drone shots and some dog and moose content: Installing ffmpeg 5 There are lots of cases where you want to self-host video, for example if it's going to be part of a layout element or if you need more control over how your video is displayed or without third party branding and recommended videos at the end. This post is about producing end results that are similar to theirs. This post does not apply if you are not responsible for the content distribution, if you are uploading your videos to YouTube or Vimeo that have their own transcoding machinery, you should just render what ever is convenient and high quality to you, because you have no control over the finished result that they transcode for you. Videos are a very powerful media type of entertainment and visualisation, let's see hwo we can self host high compression videos that save bandwidth for your viewers/users and how to find out which codec to pick from.Ī word of caution, lots of people, like me, do not prefer video over written text for many contexts, but to explain complex user interfaces or complex data types they're incredibly good. Hethey, reading time: ~5 minutes Encoding webm Videos with ffmpeg: vp9 / av1
0 Comments
Leave a Reply. |