Attach the 500gb RAID1 as an NFS persistent volume in kubernetes cluster.Redeploy all services as containerized applications.Let traefik handle all the networking, routing and proxying.Create a kubernetes cluster with k3s, or microk8s.In other words, goodbye dropbox, google drive and amazon photos and hello nextcloud, Syncthing, and vaultwarden (self-hosted bitwarden). I also plan on turning the cluster into a personal cloud that can be accessed from anywhere via PiVPN + WireGuard. So I’ve got all this hardware and software running now what? I plan on using this as a home lab to learn and expand my knowledge of container orchestration, CI/CD, distributed computing, and DevOps. I like the specs of the fitlet2 but I haven't tried one yet. For a media box I'd go for a newer Celeron like the j3455 that can play modern video formats, including 4K 10-bit x265. Decent for a file server, but not current video. Weather, sky and air quality Network, pi-hole and roku Lights The Plan It would be an older 3rd or 4th gen i5 that predates x265 compression. But for now, here are few shots of what is set up so far. This post will only highlight homeassistant, I will eventually do a more in-depth writeup on my setup and all the integrations, devices, blueprints, automations and all that jazz at a later date. In my opinion, one of the best open source projects out there. Home assistant provides a nice all-in-one solution to home automation with a very active community and well written documentation. It all started when strolling through costco and seeing smart led light bulbs, outlets and wall switches. Home Assistant was the latest pi project. This, with the help of WireGuard installed on phones, the music hosted on emby can now be listened to from anywhere. Longer term solution will include a nas device. This is where the RAID1 was used as a short term solution to provide some level of redundancy incase of a hard drive failure. Why emby? The emby client can be installed on android and roku, or be accessed from the browser. A super simple and easy to set up media server. Pi-hole DashboardĮmby was next on the list. This software was the sole reason I purchased my first pi. Pi-hole acts as a network-wide DNS sinkhole and ad-blocker without worrying about installing software on all the computers, phones, and laptops. The first raspberry pi 4 is running the emby media server and the second raspberry pi 4, well, it’s powered on and doing nothing. The raspberry pi 3 was the first pi purchased and is running everything but emby. PiVPN - OpenVPN server + WireGuard Tunneling.Home Assistant - Open source home automation.If your Jellyfin server does not support hardware acceleration, but you have another machine that does, you can leverage rffmpeg to delegate the transcoding to another machine.Disclaimer: As of phase 1, this is a ‘cluster’ in appearance only, the pi’s aren’t functioning as a cluster… yet. The hardware acceleration is available immediately for media playback. Raspberry Pi 4 - Building Ultimate PLEX Media Server Raspberry Pi Plex Server 2021 - YouTube 0:00 / 19:25 Raspberry Pi 4 - Building Ultimate PLEX Media Server Raspberry. Supported codecs need to be indicated by checking the boxes in Enable hardware decoding for and Hardware encoding options. Select a valid hardware acceleration method from the drop-down menu and a device if applicable. Hardware acceleration options can be found in the Admin Dashboard under the Transcoding section of the Playback tab. The current state of hardware acceleration support in FFmpeg can be checked on the rpi-ffmpeg repository. Jellyfin will fallback to software de/encoding for those usecases. Mounting an 8GB USB thumb drive (I decided to start. This decision was made because Raspberry Pi is currently migrating to a V4L2 based hardware acceleration, which is already available in Jellyfin but does not support all features other hardware acceleration methods provide due to lacking support in FFmpeg. There are plenty of online tutorials on how to install Plex Media Server on a Raspberry Pi, and within an hour or so I had Plex up and running. Video Scaling & Format conversion (optional)Īs of Jellyfin 10.8 hardware acceleration on Raspberry Pi via OpenMAX OMX was dropped and is no longer available. The transcoding pipeline usually has multiple stages, which can be simplified to: Raspberry Pi Video4Linux2 (V4L2, Linux only) Intel/AMD Video Acceleration API (VA-API, Linux only) The supported and validated video hardware acceleration (HWA) methods are: It enables the Jellyfin server to access the fixed-function video codecs, video processors and GPGPU computing interfaces provided by vendor of the installed GPU and the operating system. The Jellyfin server uses a modified version of FFmpeg as its transcoder, namely jellyfin-ffmpeg. The Jellyfin server can offload on the fly video transcoding by utilizing an integrated or discrete graphics card ( GPU) suitable to accelerate this workloads very efficiently without straining your CPU.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |