Last active
August 7, 2019 21:46
-
-
Save azbesthu/4d4b91cd32b565d7b23e to your computer and use it in GitHub Desktop.
Raspi2 tvheadend & oscam setup
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
Raspi2 tvheadend & oscam setup | |
Raspbian current | |
sudo apt-get update | |
sudo apt-get upgrade | |
# libs for tvheadend & oscam | |
sudo apt-get install build-essential subversion pcscd pcsc-tools libpcsclite-dev libccid libssl-dev debhelper libavahi-client-dev libcurl4-gnutls-dev liburiparser-dev git | |
# tvheadend 4.2.x unsable master branch | |
# sudo apt-get install cmake libpcre3-dev dvb-apps python-requests libdvbcsa-dev | |
# optional utils | |
sudo apt-get install mc htop | |
# create a 'tvstream' directory for making componenst ready | |
mkdir tvstream | |
cd tvstream | |
# get firmware for it9135 based tuner or for your tuner a different one | |
wget https://github.com/OpenELEC/dvb-firmware/raw/master/firmware/dvb-usb-it9135-02.fw | |
sudo cp dvb-usb-it9135-02.fw /lib/firmware/ | |
# get tvheadend source files | |
git clone https://github.com/tvheadend/tvheadend.git | |
cd tvheadend | |
# select latest stable, if you want the latest unstable, then use master branch | |
git checkout v4.0.10 | |
# For pi2/pi3, to increase performance | |
export CFLAGS=" -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard" | |
# For 4.2.x master, disable video transcoding with cpu, it has not enought performance anyway | |
# export AUTOBUILD_CONFIGURE_EXTRA=" --disable-ffmpeg_static --disable-libav" | |
# build installer | |
./Autobuild.sh -j4 | |
cd .. | |
sudo dpkg -i tvheadend_4.0.10_armhf.deb | |
// on pc: tvheadend_4.0.10_amd64.deb | |
--------------- | |
svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn | |
cd oscam-svn | |
make pcsc -j4 | |
cd Distribution | |
sudo cp oscam*pcsc /usr/local/bin/oscam | |
# Create configuration files | |
# eg. https://gist.github.com/azbesthu/4551674 | |
# place them to /etc/oscam/ | |
# create startup script for starting oscam | |
# eg. https://gist.github.com/azbesthu/f4f864dafd7e34ec68e5 | |
# save it as /etc/init.d/oscam | |
# enable it with | |
# update-rc.d oscam defaults |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Channel icons:
git clone https://github.com/picons/picons-source.git
cd picons-source
sudo apt-get install jq pngguant imagemagick librsvg2-bin
build-input/tvheadend.serverconf
./1-build-servicelist.sh snp
./2-build-picons.sh snp-full
setup tvheadend picon path in general tab
see: https://tvheadend.org/boards/5/topics/13408