How to install Tvheadend with transcoding support

LiNuX-SaT

Administrator
Staff member
Ofline
A simple tutorial about how you can install tvheadend with transcoding support
1)install the required libarys

Code:
apt-get install build-essential git pkg-config libssl-dev bzip2 wget apt-get install libavahi-client-dev zlib1g-dev libavcodec-dev apt-get install libavutil-dev libavformat-dev libswscale-dev apt-get install libcurl4-gnutls-dev liburiparser-dev apt-get install debhelper apt-get install libdvbcsa-dev

2)Get the source code from github

Code:
git clone https: //github.com/tvheadend/tvheadend.git

3)Now change into the “tvheadend” directory:

Code:
cd tvheadend/

4)after that we enable some options like ffmpeg to transcode with it the channels and the dvbcsa to have newcamd support etc.

Code:
AUTOBUILD_CONFIGURE_EXTRA=" --enable-dvbcsa -- --enable-libffmpeg_static" ./Autobuild.sh -t precise-amd64

after if finish you go one directory back with the command

Code:
cd ..

5) you check if the new file who is created are avaible with the command

Code:
ls

6)if its exist you type then like

Code:
dpkg -i tvheadend_4......_amd64.deb

7)after if finish you type

Code:
service tvheadend start
dpkg-reconfigure tvheadend

8)And now you can go to your web browser and type there your ip with port 9981
Because alot of poeple ask how to have local channels its a simple way to create some channels
About where to get the stream link you need to type the play button and automatical its download a file with the stream link you become for example something like that

Code:
http:// localhost:9981/stream/channel/0be8022479827829ac0b0bbfd6a74d7a?ticket=76C89740F04E22D26545FA91F39DC8A04B6DD995

the problem is that this link for some reason sometimes are expirate so you can add username and password on the begining and delete from the ? to the end to solve this issue like this

Code:
http:// user: pass@localhost:9981/stream/channel/0be8022479827829ac0b0bbfd6a74d7a

how to change the port 9981 thanks mcloud for this info
nano /etc/default/tvheadend
add this
For example
TVH_HTTP_PORT="4323"
 
Como se llamo esto i am from SPAIN.

I registered a lot time ago. Can i see this web without adblocer?

thanks )
 
Back
Top