Skip to content

Instantly share code, notes, and snippets.

@Kick4U2
Kick4U2 / RPi4.MAME.Appliance.md
Last active February 26, 2022 02:18 — forked from sonicprod/RPi4.MAME.Appliance.md
How to make a dedicated MAME Appliance on a Raspberry Pi 4B | Comment réaliser un système MAME dédié sur un Raspberry Pi 4/Pi 400

How to make a dedicated MAME Appliance on a Raspberry Pi 400

For the generation like mine who knew the era of arcades, where we found ourselves in a dark, noisy and often smoky room housing dozens of video game cabinets of all styles, this era has left traces in the memory. of many of us. We generally keep good memories of it, sometimes even with a touch of nostalgia for a youth, its innocence or carelessness and the feeling of freedom that was once associated with it.

Today, many of us dream of one day being able to resuscitate the unique atmosphere of these places and being able to play the games of our youth again with the advantage of being able to share this pleasure and this happiness with their family and friends.

With the arrival of the Raspberry Pi, a small, affordable computer in credit card format, and especially since the availability of version 4 (released in the summer of 2019) and Pi 400 (released in the fall of 2020), it now proves possible to run, on a properly optimized system, the vast

@Kick4U2
Kick4U2 / compile-ffmpeg-nvenc.sh
Created January 13, 2021 02:03
This bash script will compile a static Ffmpeg build with NVENC and VAAPI hardware-accelerated support on Ubuntu in your home directory. You can modify the script to customize the build options as you see fit.
#!/bin/bash
#This script will compile and install a static ffmpeg build with support for nvenc un ubuntu.
#See the prefix path and compile options if edits are needed to suit your needs.
#install required things from apt
installLibs(){
echo "Installing prerequisites"
sudo apt-get update
sudo apt-get -y --force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \
[put transcode script]
PATH:/root/transcode/transcode.sh
[register and start service.]
PATH:/etc/systemd/system/transcode.radio.service
# systemctl enable transcode.service
# systemctl start transcode.service
@Kick4U2
Kick4U2 / install-ffmpeg-with-decklink-support-ubuntu-18.04-server.md
Created October 19, 2020 04:00 — forked from macpit/install-ffmpeg-with-decklink-support-ubuntu-18.04-server.md
Compiling and installing `ffmpeg` with Decklink support on Ubuntu 18.04 Server