Skip to content

Instantly share code, notes, and snippets.

@ww24
Last active April 9, 2017 14:02
Show Gist options
  • Save ww24/6700dfd7beab0caed7566fa0243dea3b to your computer and use it in GitHub Desktop.
Save ww24/6700dfd7beab0caed7566fa0243dea3b to your computer and use it in GitHub Desktop.
Raspberry Pi 3 で TV チューナー鯖構築 ref: http://qiita.com/ww24/items/0adc36c013511524da80
$ lsusb | grep VidzMedia
Bus 001 Device 006: ID 3275:0080 VidzMedia Pte Ltd
$ ls /dev/dvb
adapter0
sudo apt -y install build-essential automake pkg-config
recdvb --b25 --strip --sid hd 25 10 test.m2ts
bcas->init failed
Cannot start b25 decoder
Fall back to encrypted recording
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install pm2 -g
sudo npm install mirakurun -g --unsafe --production
sudo npm install rivarun -g
sudo mirakurun config tuners
sudo mirakurun config tuners
- name: PX-S1UD-1
types:
- GR
command: recdvb --b25 --strip <channel> - -
sudo mirakurun restart
- name: PX-S1UD-1
types:
- GR
command: recdvb --b25 --strip --sid hd <channel> - -
sudo mirakurun log server
rivarun --ch GR/25 10 test.m2ts
sudo apt -y install unzip
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
sudo cp PX-S1UD_driver_Ver.1.0.1/x64/amd64/isdbt_rio.inp /lib/firmware
rivarun --ch GR/25 10 test.m2ts
adapter0 adapter1
recdvb --b25 --strip --dev 0 --sid hd 24 10 test0.m2ts
recdvb --b25 --strip --dev 1 --sid hd 25 10 test1.m2ts
sudo mirakurun config tuners
- name: PX-S1UD-1
types:
- GR
command: recdvb --b25 --strip --dev 0 <channel> - -
- name: PX-S1UD-2
types:
- GR
command: recdvb --b25 --strip --dev 1 <channel> - -
rivarun --mirakurun 192.168.0.100:40772 --b25 --priority 1 --ch GR/24 10 test24.m2ts
sudo apt -y install pcscd libpcsclite-dev pcsc-tools
rivarun --mirakurun 192.168.0.100:40772 --b25 --priority 1 --ch GR/25 10 test25.m2ts
sudo systemctl status pcscd
sudo systemctl start pcscd
cd /usr/local/src
curl -sL https://github.com/stz2012/libarib25/archive/09770e3.tar.gz | sudo tar zxv
cd libarib25-09770e334837f6c67268c41c1c15784373d35e5b
sudo chown -R $(whoami) .
make
sudo make install
cd /usr/local/src
curl -sL http://www13.plala.or.jp/sat/recdvb/recdvb-1.3.1.tgz | sudo tar zxv
cd recdvb-1.3.1
sudo chown -R $(whoami) .
./autogen.sh
./configure --enable-b25
make
sudo make install
recdvb --b25 --strip --sid hd 25 10 test.m2ts
rivarun --mirakurun 192.168.0.100:40772 --ch GR/25 10 test.m2ts
2016-08-28T12:05:14.909Z error: ChannelItem#'NTV' service scan has failed [Error: stream has closed before get services]
status: 200
headers: {"server":"Mirakurun/1.4.1","date":"Sat, 27 Aug 2016 15:26:11 GMT","connection":"close","transfer-encoding":"chunked"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment