Project

General

Profile

how convert dvb-t from tv antena to video stream

Added by alireza sadeghpour over 8 years ago

hi to all
i working on a project that in that i want create a set that it has tv antena input and must share tv stream over wifi or in local network,but i do not have any idea for how covert tv antena signals to an video stream,can any one give me an advise in order to done that??,can i use usb tuners like hauppauge WinTV-dualHD or somthing like that??


Replies (7)

RE: how convert dvb-t from tv antena to video stream - Added by Mark Clarkstone over 8 years ago

I'm guessing you want to "capture" analogue PAL/NTSC signals and stream across your network?

You'd need something like an eazycap usb dongle (supported on Linux) that captures from an analogue source. You could then use something like ffmpeg to pipe it into Tvheadend or whatever software you're using.

I've never tried it myself so can't offer any other info. A quick google search for "ffmpeg analog capture" revealed this guide https://www.linuxtv.org/wiki/index.php/V4L_capturing

HTH.

RE: how convert dvb-t from tv antena to video stream - Added by Jonathan Thomson over 8 years ago

Really confused by the question as it specifically says DVB-T in the title so we're not talking about analogue capture here I don't think.

Which leads me to a slightly obvious statement, but TVHeadend's purpose is to 'convert' broadcast TV into video streams, that's what it does - takes an input from one or more input sources (e.g. a DVB-T card) and sends the video streams to end clients. The USB TV card mentioned above is also a DVB-T model so I'm not sure what you're trying to achieve here.

Is your source DVB-T (digital terrestrial)?
What clients will be receiving the video? (VLC, Kodi, Windows Media Player)?
Will you be wanting multiple clients to receive multiple streams (i.e. clients receiving different channels)?

RE: how convert dvb-t from tv antena to video stream - Added by Mark Clarkstone over 8 years ago

Jonathan Thomson wrote:

Really confused by the question as it specifically says DVB-T in the title so we're not talking about analogue capture here I don't think.

I think you're right. It is a rather confusing question, or maybe just lost in translation. It was his use of convert and video stream that made me think analogue.

He could be asking how he goes about streaming a complete mux over wifi/eth to his TVs with coax input? Who knows!

Which leads me to a slightly obvious statement, but TVHeadend's purpose is to 'convert' broadcast TV into video streams, that's what it does - takes an input from one or more input sources (e.g. a DVB-T card) and sends the video streams to end clients. The USB TV card mentioned above is also a DVB-T model so I'm not sure what you're trying to achieve here.

Is your source DVB-T (digital terrestrial)?
What clients will be receiving the video? (VLC, Kodi, Windows Media Player)?
Will you be wanting multiple clients to receive multiple streams (i.e. clients receiving different channels)?

RE: how convert dvb-t from tv antena to video stream - Added by alireza sadeghpour over 8 years ago

at first,thanks for your attention and excuse for my bad english
i want capture digital tv broadcast and then share it over wifi network for my clients,and in addition every person of my client must can see every channel that he/she want to see.
know any one can give me any advise to how convert dvb-t signals that come from rf connector to any showable thing like mp4,mpeg or some thing like that??

RE: how convert dvb-t from tv antena to video stream - Added by Jonathan Thomson over 8 years ago

No need to apologise :)

So I still think what your asking is exactly what TVHeadend is capable of doing, get one or more DVB-T devices (USB, PCI or PCI-E) which are known to work with Linux, install the devices, install TVHeadend, configure the devices, configure your TV provider and enjoy!

Your clients can (generally speaking) only tune into different channels if you have multiple DVB-T devices - if say two people want to watch two different channels, unless they are on the same transponder (you'd need to look this information up for your provider - it should be freely available online) then you would need two devices to do so. Conversely, if 10 people wanted to watch the same channel, they could.

The format of the video depends on the clients you are sending to. For example if you are using Kodi to receive the video, then htsp is the best format to use (it essentially broadcasts the DVB data over IP) - there are other clients that support htsp too otherwise you'd need to transcode the video into a different format (all possible via TVHeadend but is heavily reliant on your hardware specifications).

If you have any specific questions about any of this feel free to ask.

RE: how convert dvb-t from tv antena to video stream - Added by alireza sadeghpour over 8 years ago

really i want to create a set that it has tv antena as input source and it must share dvb-t tv channel over wifi,for example i must embed in my set a apache webserver and create a website and when someone that was connected to wifi of my device and enter ip of my device,this website opened and in this website he can select her desired channel and after,he can see her live tv.
now i want know,can use tvheadend for this purpose and can i connect with some programming language like python to tvheadend for receiving tv stream and then embed it in my website.
thanks for response.

RE: how convert dvb-t from tv antena to video stream - Added by Jonathan Thomson over 8 years ago

It sounds like you are trying to reinvent the wheel somewhat :) TVHeadend can do all of that (and more). You could give your users restricted access to the TVHeadend webui from there they can browse the channel guide and stream live TV all from the web interface.

If you really wanted to, you could build something in PHP (or even HTML for a static site) which would embed the video player and provide links to all your channels but I would personally just use what TVHeadend already provides out of the box.

The 'Watch TV' button on the 'Electronic Programme Guide' tab allows the user to watch TV in their browser (HTML5 video) without any plugins, downloads etc.

    (1-7/7)