This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Linuxで PX-Q1UD を使う場合は下記の手順が必要です。 | |
apt-get install -y unzip wget | |
wget http://plex-net.co.jp/plex/px-s1ud/PX-S1UD_driver_Ver.1.0.1.zip | |
unzip PX-S1UD_driver_Ver.1.0.1.zip | |
cp PX-S1UD_driver_Ver.1.0.1/x86/i386/isdbt_rio.inp /lib/firmware/ | |
rm -rf PX-S1UD_driver_Ver.1.0.1.zip PX-S1UD_driver_Ver.1.0.1 | |
# コンテナからもvideoデバイスにアクセスできるようになる。たぶん。 | |
echo 'SUBSYSTEM=="vchiq",GROUP="video",MODE="0666"' | tee /etc/udev/rules.d/10-vchiq-permissions.rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
port: 8888 | |
mirakurunPath: http://mirakurun:40772/ | |
# dbtype: sqlite | |
# sqlite: | |
# extensions: | |
# - '/hoge/regexp.dylib' | |
# regexp: true | |
dbtype: mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const spawn = require('child_process').spawn; | |
const ffmpeg = process.env.FFMPEG; | |
const input = process.env.INPUT; | |
const output = process.env.OUTPUT; | |
const analyzedurationSize = '10M'; // Mirakurun の設定に応じて変更すること | |
const probesizeSize = '32M'; // Mirakurun の設定に応じて変更すること | |
const maxMuxingQueueSize = 1024; | |
const dualMonoMode = 'main'; | |
const videoHeight = parseInt(process.env.VIDEORESOLUTION, 10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM l3tnun/epgstation:master-debian | |
ENV DEV="make gcc git g++ automake curl wget autoconf build-essential libass-dev libfreetype6-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev" | |
ARG FFMPEG_VERSION=4.4 | |
RUN apt-get update && \ | |
apt-get -y install $DEV && \ | |
apt-get -y install yasm libx264-dev libmp3lame-dev libopus-dev libvpx-dev && \ | |
apt-get -y install libx265-dev libnuma-dev && \ | |
apt-get -y install libasound2 libass9 libvdpau1 libva-x11-2 libva-drm2 libxcb-shm0 libxcb-xfixes0 libxcb-shape0 libvorbisenc2 libtheora0 libaribb24-dev && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
mirakurun: | |
image: chinachu/mirakurun | |
cap_add: | |
- SYS_ADMIN | |
- SYS_NICE | |
ports: | |
- "40772:40772" | |
- "9229:9229" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove old packages and Set up the repository | |
apt-get remove docker docker-engine docker.io containerd runc | |
apt-get update | |
apt-get install -y apt-transport-https ca-certificates curl gnupg lsb-release libffi-dev | |
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
echo "deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ | |
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null | |
apt-get update | |
# Install Docker Engine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# echo 'SUBSYSTEM=="vchiq",GROUP="video",MODE="0666"' | sudo tee /etc/udev/rules.d/10-vchiq-permissions.rules | |
git clone https://github.com/l3tnun/docker-mirakurun-epgstation.git | |
cd docker-mirakurun-epgstation | |
#cp docker-compose-sample.yml docker-compose.yml | |
curl -o docker-compose.yml https://gist.githubusercontent.com/usurageha/fd8ec48df649162de041b0cc524f708a/raw/c29a95054a05fee726faad18040b2cd05e676112/docker-compose-sample.yml.pi4 | |
curl -o epgstation/pi4.Dockerfile https://gist.githubusercontent.com/usurageha/139287a47add509e1ba1f23d44654120/raw/5c2c32aa62144ac7dc73637a94636e60508d1e63/pi4.Dockerfile | |
#cp epgstation/config/enc.js.template epgstation/config/enc.js | |
curl -o epgstation/config/enc.js https://gist.githubusercontent.com/usurageha/ba0642ade0457f2a2f82290cde346ed7/raw/26cbe536ee034f4e0264cdb5abbbeffa2c0ab42a/enc.js.template.pi4 | |
#cp epgstation/config/config.yml.template epgstation/config/config.yml |