Bhyve on Freebsd with Podman and Invidious


Setting up Bhyve for virtual machines on Freebsd,
and installing Podman for Invidious an open source front end for Youtube

The advantage of using Invidious is that when playing videos with mpv,
we can reduce the time it takes to play the video from 8 seconds to under 1 second.

Thats because mpv uses yt-dlp in the backend when playing videos from youtube,
which has to use deno to solve a javascript challenge before getting the urls.

By using a lua script with mpv we can get the video url in under a second,
and reduce the cpu usage with mpv from 110% to 10%

We also set up wlr-which-key so we can copy a url from url and then send it to emacs,
which will rewrite the youtube url to use Invidious instead and take advantage of the faster start up time and reduced cpu usage.

Using a Makefile we can start the Bhyve vm and the Invidious podman container just by typing make,
and then make clean to stop Invidious and the Bhyve VM.

Some music videos dont show up on invidious

Links:

Invidious Bhyve notes


Freebsd dotfiles


Emacs init.el mpv


mpv


mpv config


mpv invidious.lua


wlr-which-key


Invidious Makefile


Freebsd root config files


Freebsd bin


Vermaden Bhyve


Invidious


Invidious github


Bhyve


 
Back
Top