Close

Version 5.2 is now available

A project log for Mini-PI Media Server

Mini-PI Media Server for use on home network or as a wifi access point to stream media from

diddydiddy 7 hours ago0 Comments

Project Update: Enhanced Media Automation & Robust Transcoding

The mkv-2-mp4.sh script, which runs as a scheduled midnight systemd task, has been overhauled to improve automation, reliability, and hardware efficiency. This script acts as the "cleanup crew" for the Mini Pi Media Server, ensuring all new downloads are standardized for DLNA streaming.

Key Features of this Update:

Workflow Logic:

  1. Locking: Prevents multiple instances from running simultaneously.
  2. Stream Copying: If the source is already H.264/AAC, it copies the streams without re-encoding to preserve 100% quality and save CPU.
  3. Cleanup: Automatically deletes the original .mkv files only after a successful .mp4 conversion is verified.

You can download / upgrade by running the following on the Raspberry Pi (either SSH into the Pi or on the actual Pi) :-

wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash

Discussions