Project

General

Profile

2 houses and tvheadend

Added by superg 1972 about 11 years ago

Dear All,

i have succesfully installed the tvheadend with DVB-T receiver on a raspbian. Using in LAN an XBMC all is working fine.
My need now is:
I have 2 houses; one of them have DVB-T signal and in the second house i don't have DVB-T signal. My upload bandwith at the house with DVB-T signal is 1 Mbit.
I would want to use a tvheadend client in the other house in order to see the TV.

Is it feasible? do i have to crosscode?
Will it be 1MBit enough?

Thank you in advance for your help


Replies (6)

RE: 2 houses and tvheadend - Added by Nathan Thirlby about 11 years ago

It would depend on size of the stream, i would imagine (and this is only a guess) you would need to transcode.

RE: 2 houses and tvheadend - Added by DJ Jo about 11 years ago

I same as i got at home, it is only enough for radio streaming.
buy a second pi

RE: 2 houses and tvheadend - Added by superg 1972 about 11 years ago

I would suppose that probably i would need a transcode since the size of the streaming is major than the bandwidth.
Unfortunately I don't know if it is possible and how can I do it.
I could buy a second pi but it would not fix the issue since at second home i don't have a DTT signal.

RE: 2 houses and tvheadend - Added by Prof Yaffle about 11 years ago

Well, you could buy an aerial and a DVB-T tuner for the second house... I suppose you've thought of that, though.

There's a transcoding option in tvheadend. Search this forum and you'll find how to enable it; it used to be a separate branch but I believe it's part of master now. IIRC, you have to compile with a particular flag and then access the streams through a URL. I've never used it myself, though.

RE: 2 houses and tvheadend - Added by superg 1972 about 11 years ago

If i could use a DVB-T tuner in the second house, i wouldn't looking for a solution :D

I'm trying to find the transcoding option, but I cannot find it. Probably I have to compile it directly on my Pi.

RE: 2 houses and tvheadend - Added by Claus Holbech about 11 years ago

You can transcode with VLC or ffmpeg, and you can get en acceptable picture on 1 Mbit/s, but Trancsoding requires alot of CPU power which you propably don't have on a Pi.

The following VLC command will keep the stream just below 1 Mbit/s

cvlc --audio-track=x http://user:pass@tvheadend_ip:9981/playlist/channelid/1 --sout '#transcode{vcodec=h264,venc=x264{aud,subme=5,ref=3,me=hex,bframes=16,b-adapt=1, bpyramid=none},threads=1,scale=1.0,width=480,vb=600,deinterlace=true,acodec=aac,ab=96,channels=2,samplerate=44100}:standard{access=http,mux=ts,dst=0.0.0.0:8081}'

You can then connect a player to the stream with http://ip_of_transcoder_server:8081

If you need authentication to the transcoded stream, just change the following {access=http{user=username,pwd=password},mux=ts,dst=0.0.0.0:8081}

I realise that for this to work in practice, you need to start the transcode automaticly, just before connecting to the channel, so you will need to write some script for that (Unless that is what is build into that special version, of thvheadend, which i can't find either).

Hope it helps..

Claus

    (1-6/6)