Project

General

Profile

Setup tvheadend on openelec NUC

Added by Kevin Everding over 10 years ago

Hi there,

I have been setting up a new NUC box with openelec XBMC. so far everything is going well. had some trouble setting up the ir and remote but have that sorted now. I am trying to setup tvheadend and am getting nowhere. I have an AVerTV Volar Green HD USB dongle which should work as the AVerTV HD Pro is supported. The tvheadend backend configuration finds the device but I can't find any services. I am in Brisbane Australia which is one of the pre-defined networks. i also tried manual entry. The dongle and signal work fine as i have just tested this on a windows pc. Any ideas please?

Any advice please..... I am struggling with this.

thankyou


Replies (21)

RE: Setup tvheadend on openelec NUC - Added by Prof Yaffle over 10 years ago

You don't say what version of tvh you're using... I'm assuming 3.4 or 3.5, then, as the stable releases. Thoughts....

1. You say tvh finds the device... is it enabled, is it showing as connected to /dev/dvb/adapterXX?

2. What mux frequencies are you adding? What other config parameters?

3. Where are you getting them from as a definitive source? Remember that muxes can vary between transmitters, even in a locality (e.g. Mount Coot-tha and Darlington Range seem to differ: http://ozdigitaltv.com/transmitters/QLD/161-Mount-Coot-tha), so you need to know exactly what you're pointing at. Look at a normal TV's setup if you have nothing else.

Post a couple of screenshots of the adapter overview and mux overview and I'll take a look.

RE: Setup tvheadend on openelec NUC - Added by Kevin Everding over 10 years ago

Hi there,

thanks alot for your help.

I am using version 3.4.27 of tvh.

1. tvh finds the device and I tick the enabled box. is it showing as connected - not sure, how do I tell?
2. The mux frequencies presets for Brisbane seem inline with the link you provided.
3. I am trying to use Mt Coot-tha.

I have attached a couple of screenshots for you. the guide I followed a guide that I found detailing the process but no services were found. Any help/advice you could offer would be great. I was almost going to go and buy a different TV tuner to see if that worked, but I figured that because tvh was locating my tuner it should work??

thanks again

tvh1.jpg (234 KB) tvh1.jpg
tvh2.jpg (231 KB) tvh2.jpg

RE: Setup tvheadend on openelec NUC - Added by Prof Yaffle over 10 years ago

Looks like it's not finding the services on those muxes, despite it knowing that the carrier signal is there. A couple of your frequencies disagree with that web site, but most are correct and idle scanning/autodetect should find the rest. My suspicion thus points to (a) your adapter appearing as multiple devices - check the drop-down, see if there's another entry that makes more sense; or (b) the network parameters not being right (64QAM, 7k, 8k mode) - these look right from an old post I found, but it'd explain why it can't demux the carrier signal - the lack of NetworkID and MuxID support this being the problem.

I'd suggest deleting those muxes, then add them back by hand: frequency as listed (careful of MHz vs kHz), QAM64, 7MHz bandwidth, Auto everything else (the parameters should be detected).

RE: Setup tvheadend on openelec NUC - Added by Kevin Everding over 10 years ago

Hi,

I'm not sure what i have done, but I now have some services found.... perhaps I did not let it run long enough (the guide I read said that once it said "0 Muxes awaiting initial scan" you were finished. I left it run for a couple of hours and now I have some services.

Anyway, a couple of screenshots of where I am at now. I clicked on the Map DVB services to channels but nothing has happened.

I've enabled the tvh client in XBMC and it's not picking up the channels (I'm guessing because they haven't mapped).

Anyway, I am going to bed, but I will let this run overnight. If you see anything I've missed in the attached, please let me know.

thankyou

tvh3.jpg (233 KB) tvh3.jpg
tvh4.jpg (457 KB) tvh4.jpg

RE: Setup tvheadend on openelec NUC - Added by Prof Yaffle over 10 years ago

Excellent... that's progress in my book, even if the tuner fairies made it happen :-)

It looks like you need to add 184,500 kHz (SBS) and 529,500 kHz (31 Digital) and delete 585,625 and 599,500. If you leave it overnight, Autodetect might find those extra muxes. Either way, once those two are scanned, you should have a complete set of services, which you can then map to channels - XBMC will then see them.

RE: Setup tvheadend on openelec NUC - Added by Kevin Everding over 10 years ago

ok so just checked this morning, it hasn't picked up those services but I will add them manually. Problem is I can't get the services to map to a channel. Clicking the "Map DVB Services to channels" doesn't do anything. Any ideas why this might be? Is there a way I can do this manually?

thanks again

RE: Setup tvheadend on openelec NUC - Added by Prof Yaffle over 10 years ago

My guess is that it's getting stuck trying to find services on non-existent muxes... get those to be valid (delete or delete/replace) and the scan will finish cleanly and then scope in the 'map' button. I think...

RE: Setup tvheadend on openelec NUC - Added by Kevin Everding over 10 years ago

ok thanks..... I will try that tonight.... cheers

RE: Setup tvheadend on openelec NUC - Added by Kevin Everding over 10 years ago

Hi,

ok so I have deleted the non-existent muxes and added 31 and SBS. SBS did not work but 31 did. I deleted SBS for now and tried to map the services to channels. 31 is the only one that worked.

Also, i just remembered that I was playing around with w_scan as well but didn't really know what I was doing..... not sure if that helped in getting tvh to find services.

Any ideas why 31 is the only service mapping to a channel? BTW I can access 31 (but only 31) through XBMC now.... so slowly making progress..

tvh5.jpg (138 KB) tvh5.jpg
tvh6.jpg (375 KB) tvh6.jpg

RE: Setup tvheadend on openelec NUC - Added by Prof Yaffle over 10 years ago

Odd. All I can suggest is deleting the other muxes one by one and re-adding them by hand as you did with 31, and see if they (a) show services when scanned, and (b) allow you to map once discovered.

My other observation is that 31 is showing as QPSK versus the QAM64 for everything else. From reading around, I though Australia was using the latter, but it might be worth trying both just in case...

RE: Setup tvheadend on openelec NUC - Added by Kevin Everding over 10 years ago

31 is a community channel so possibly is different to the other commercial stations. I have deleted the muxes and added them manually..... no services found yet. I will let it run overnight. Fingers crossed this works. Is it normally this troublesome???

thanks again

RE: Setup tvheadend on openelec NUC - Added by Prof Yaffle over 10 years ago

Absolutely not... although part of the problem is that tvheadend relies on an open-source directory of muxes, which inevitably is out of date, so that frequently throws problems. Not as many as you're getting, though...

See how it goes tonight. It's normall pretty quick to find services if the parameters are correct.

RE: Setup tvheadend on openelec NUC - Added by Kevin Everding over 10 years ago

hi there, so run overnight and found no services.... 31 is still there. Any ideas?

RE: Setup tvheadend on openelec NUC - Added by Prof Yaffle over 10 years ago

Sorry, no, not immediately. You could try a later tvh release (there are versions out there for OpenElec), but - if you have the mux information right - scanninng should find the services without a problem. Feel free to post screenshots of where you are now and I'll take another look to see if there's anything there, but I'm a bit stumped for the moment.

RE: Setup tvheadend on openelec NUC - Added by Karl Ashman over 10 years ago

Have you tried using the '--Generic-- auto_Australia' predefined network? This may assist in letting you find out what the available tv network frequencies are. I recently had to use this after a couple of stations frequencies were retuned (I'm in Townsville).

Once you have found the frequencies that are being used, you can go through and clean up the unused ones. It may take a bit of time, but you should find what frequencies are actually being used as the pre-defined ones 'may' be out of date.

RE: Setup tvheadend on openelec NUC - Added by Kevin Everding over 10 years ago

Hi.... yeh I used the pre-defined network. I really don't know what I am doing wrong. I used this and got nothing then all of a sudden for no apparent reason I got all the services except for SBS. However I could not map them to channels so I decided to remove the multiplexes and start again... now I can't get any services except for Bris 31. I don't know what to do now.... do I try a different tuner or will this give the same result. tvh seems to be finding my tuner no problem???

RE: Setup tvheadend on openelec NUC - Added by Kevin Everding over 10 years ago

hi there, attached a couple of pics...... scanned 100 Muxes and only found 2 Bris 31 channels. Anyone have any ideas.... this is very frustrating.

tvh7.jpg (175 KB) tvh7.jpg
tvh8.jpg (340 KB) tvh8.jpg

RE: Setup tvheadend on openelec NUC - Added by Kevin Everding over 10 years ago

Hi all,

For those of you who are experienced with tvh, do you think there is any point in my trying a different tuner.... am having no success. I did manage to get some services once but could not map them. Now they have gone I can't get them back.

thanks to anyone who has any input.

cheers

RE: Setup tvheadend on openelec NUC - Added by Prof Yaffle over 10 years ago

I doubt it's the tuner if it's worked sometimes, though it could be, so it's a valid test if you have/can get hold of something else. It's more likely to be the cable or the connection. Those last screenshots show valid (and invalid) muxes, but there's no NetworkID or MuxID, which means your tuner has found nothing whatsoever at that frequency - it can't even recognise it as a carrier. You also now are stuck waiting to scan muxes that can't complete, I suspect, hence the 21 muxes awaiting initial scan: 'map services' won't be available until the scan completes.

What would I do...

1. Check you connections. Unplug it all, plug it all back in, tighten it, test it on another device.

2. Delete the muxes you don't want/need/have near you and restart

3. Trash the whole config and start again with what you've learned - adding the right muxes of the right config from scratch, for example

4. Check support on OpenElec for your tuner (it looks like it was introduced in 3.1? https://github.com/OpenELEC/OpenELEC.tv/issues/2203)

5. Try a different version of OpenElec - with a very different kernel - just in case something's broken in the particular release you're using (go forward to betas or backwards to something else, the kernel is listed in the release notes to every version)

6. Try XBMCBuntu to eliminate Linux support; try Windows as well to eliminate hardware/connection issues

7. Drink heavily or find a wall to shout at

8. If all else fails, try a different stick

EDIT

'ello, 'ello, 'ello... what's all this, then:

https://www.mail-archive.com/[email protected]/msg75912.html

"Avermedia A835B only works sporadically"

"There is a RF performance issue in the af9033 driver of kernel 3.15. It is no problem in the it913x driver of kernel 3.14.
There were some initial sequences not correct after the it913x driver was integrated into af9033 driver."

Sooo, it may well be your stick, in that the driver or firmware may be an issue. There's a discussion there about trying different versions of the firmware and getting different (but still unsatisfactory) results. Openelec 4.0.x (at least) is on kernel 3.14, though, so it could be a red herring - but see what the very latest betas are running and/or what 3.x versions used.

RE: Setup tvheadend on openelec NUC - Added by Kevin Everding over 10 years ago

Hi Prof Yaffle,

Thanks for your suggestions. I went straight to step 7 and unfortunately no result.

I will look further at the other info tomorrow when I have sobered up. :)

thanks again..... perhaps it is the stick.

cheers

RE: Setup tvheadend on openelec NUC - Added by Kevin Everding over 10 years ago

Hi all,

UPDATE.

So I picked up a Sony Play TV off ebay for $20 and plugged it in..... worked straight away. So obviously there are some problems with the stick I had. Only problem now is that the picture is really blurry when there is motion on the screen. Guess I will have to start reading up on this issue now, unless someone already knows a quick fix for this???

thanks all for your help.

cheers

    (1-21/21)