Project

General

Profile

Dvbs Setup with Genpix Tuner getting services but will not Map Channels

Added by tony nunya over 12 years ago

Hello all,
Well I bit the bullet and wanted to try tvheadend in linux since i have mediaportal in windows
working properly.. I am the type that gets bored easily. So anyways Installed Tvheadend. That was
simple... Using Legacy Lnb's with a Dp34 switch... Getting the usual sats.. No problems...
My Problem is it finds the muxes no problem.. Works Great it places the services which are channels
in which i have tested no problems there.. However for the Life of me it will NOT map the dang
channels... It will not Pick up the channel name or channel I have entered a few manually no problem
But I really do not wish to enter them one by one... Can someone please shed some light on this..
As I know there has got to be a way to fix this.... Is there a way to slow the tuning scan down
for the genpix skywalker 1? I got unknown channels in mediaportal and setting the tuning time to 30
and the svt to 90 that solved that problem.. I think it might be going to fast and is missing the
data or it could be something i have done.... I am using Ubuntu 12.04 Tvheadend and xbmc pvr which
works Excellent with tvheadend... I love this program there has got to be a way to fix this...

Thanks for you time
Mondo

Replies (20)

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Alex . over 12 years ago

How many muxes are still awaiting the initial scan ?

I think you can only add channels after all muxes have had the initial scan ( so this should be zero).
If there are still muxes waiting, there might be something wrong with them ( like a duplicate mux from the cell further on in the DVB-T case) and you might just try to delete them.

Alex.

tony nunya wrote:

Hello all,
Well I bit the bullet and wanted to try tvheadend in linux since i have mediaportal in windows
working properly.. I am the type that gets bored easily. So anyways Installed Tvheadend. That was
simple... Using Legacy Lnb's with a Dp34 switch... Getting the usual sats.. No problems...
My Problem is it finds the muxes no problem.. Works Great it places the services which are channels
in which i have tested no problems there.. However for the Life of me it will NOT map the dang
channels... It will not Pick up the channel name or channel I have entered a few manually no problem
But I really do not wish to enter them one by one... Can someone please shed some light on this..
As I know there has got to be a way to fix this.... Is there a way to slow the tuning scan down
for the genpix skywalker 1? I got unknown channels in mediaportal and setting the tuning time to 30
and the svt to 90 that solved that problem.. I think it might be going to fast and is missing the
data or it could be something i have done.... I am using Ubuntu 12.04 Tvheadend and xbmc pvr which
works Excellent with tvheadend... I love this program there has got to be a way to fix this...

Thanks for you time
Mondo

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by tony nunya over 12 years ago

Hello there,
I am doing them one at a time and it is making it through the scan no problem
I wrote the muxes to disk and low and behold there are the service id's and
channel info however when i go to map services it says genpix probe started but
thats it... Could i have a permission wrong and that is why it is not reading the
muxes???? I am racking my brains here Now mind you I have not worked with linux
since the Walnut Creek days... Yeah I know I know shame on me... However i want
to get this working and i want to make it easy for everyone... I have got good scans
I have got great video No Problems the dang thing works FABOULOUS with Xbmc But the
problem is i go to services and the channels are listed as other and nothing mapped
and when it finishes the scan i can hit map channels but nothing happens (SNIFF) :(
Please if there is any way i can get this working any help would be GREATLY appreciated
Like you would not believe 2 weeks spent on this i just didn't want to bother folks
with piddly nonesense however i am at my wits end...

Tony

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Alex . over 12 years ago

Hi,

I am not sure if i understand the problem correctly, some questions:

- What does it say in the system log when you hit "map services to channels ? " ?(btw, what does the button actually say ? "map DVB services to channels?"
- are all the services enabled ?

- What do you mean by "wrote the muxes to disk" ?? Did you enable "Write full DVB MUX to disk"?? If so, disable this (you do not need this to watch tv,) and check if it works with this option disabled.

-Can you describe your setup (using bullit points, like what kind of muxes are they ? DVB,t,c, etc?).

- You say XBMC works fine with tv-headend, but that tvheadend itself does not ? Or can you watch from a webbrowser by clicking on Play? ( and if not, what does the system log at the bottom say? )

Alex.

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by tony nunya over 12 years ago

Ok here we go

1. I wrote the full muxes to disk so i was able to make sure i was getting the transponder info... It is set to off now...

2. Tvheadend is working I can play the channels no problem.

3. The services are UNMAPPED.. They will not map to channels as they are supposed to when you press the map to services...

4. The map Services Button is enable ... I have 0 muxes to scan i have 65 services...

5. When i hit Map services it says Jul 22 07:22:53 web interface: Service probe started on "Genpix DVB-S"

Now straight from tvheadend itself

Hardware
Device path:
/dev/dvb/adapter0
Device name:
Genpix DVB-S
Host connection:
USB (480 Mbit/s)
Intermediate Frequency range:
800000 kHz - 2250000 kHz, in steps of 100 kHz
Symbolrate range:
1000000 Baud - 45000000 Baud
Status
Currently tuned to:
EchoStar 119 West: 12,457,000 kHz Vertical (Echostar 14)
Services:
65
Muxes:
2
Muxes awaiting initial scan:
0

that is what i have

this is what i have under services

Below are actual screen shots..

In plain and simple terms and not being complex... I cannot map the services to channels it is NOT finding the info 
about the channel therefore it is not mapping the channels... it is not reading the transponders.... i can manually
map them.. but it will not automatically map them as it should... that is my problem
Tony

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Hein Rigolo over 12 years ago

which version of tvheadend are you using? (latest git?, from a repository? (which one?) etc etc
and on which hardware? (PC?, or NAS system or something else?)

Hein

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by tony nunya over 12 years ago

Hello Hein,
I am using the latest one git-d2164db with all the patches it has the modified
charset I am on ubuntu precise i386 version kernel pc I am using xbmc as the
front end.. Forgive my noobish ways i am sorry for not giving all the information..

One of the problems is i am getting the proper mux but it is listing it as other
I start the web service probe and nothing happens it will not map the services to
channels... I can manually map them but for 879 channels its a bit much That is
the only problem i am having i got the xmltv setup and it works perfect when
a channel is mapped..I wrote the mux to disk so i could look at it.. Its all there
it just won't map it... Any Ideas? Do you need more info??

I appreciate your time and patience
Tony

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Hein Rigolo over 12 years ago

what do you mean with the "with all the patches it has the modified charset"?

I think you mapping fails because your services do not have a service name listed. And I suspect that might have to do something with character sets.

Hein

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by tony nunya over 12 years ago

Ok Hein,
I don't want to confuse you or myself... heh.. it is the latest tvheadend from
the git repository... and I think you are absolutely correct in character sets..

That is why it is not reading the services.. I Really think that is where my problem
is lying.. The simple fact is if i manually map the channel it works fine..
If i plug it into the xmltv it reads the info no problem... Its a matter of just
the automatic mapping the services to channels.. I am using ubuntu precise 12.04 is
there any packages that i have to install to support headend besides the ones i followed
in the guide for installing it? what character set do i need to use for dish network? any
specific? Sorry for the questions I got this far and i don't want to give up on it...

Thank you
Tony

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Hein Rigolo over 12 years ago

well, maybe you can determine from your mux dumps how the dish network is encoding it's data in the dvb tables so that it can be used ...
How do other linux tools present the data? can you use dvb-apps tools to get channel information for example?

Hein

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Anonymous over 12 years ago

I know that many dvb apps have to modified to work cleanly with Dish. I've installed tvheadend and experience the same issues as Tony indicates.
I'm running tvheadend from git, from opdenkamp's repository. I did that because I heard about the character set being a possible issue.
When I view the channel configuration on disk, tvheadend is not reading the services properly: {
"service_id": 398,
"pmt": 33,
"stype": 0,
"scrambled": 0,
"channel": 0,
"dvb_eit_enable": 1,
"pcr": 5666,
"disabled": 0,
"stream": {
"pid": 5666,
"type": "H264",
"position": 0
},
"stream": {
"pid": 5667,
"type": "MPEG2AUDIO",
"position": 1,
"language": "eng"
},
"stream": {
"pid": 341,
"type": "CA",
"position": 262144,
"caidlist": [ {
"caid": 6208
}
]
},
"stream": {
"pid": 85,
"type": "CA",
"position": 262144,
"caidlist": [ {
"caid": 6166
}
]
}
}

It should have these details:

{
"service_id": 15,
"pmt": 32,
"stype": 1,
"scrambled": 1,
"channel": 0,
"provider": "VRKDv",
"servicename": "VRKDv",
"dvb_eit_enable": 1,
"pcr": 5649,
"disabled": 0,
"stream": {
"pid": 5649,
"type": "MPEG2VIDEO",
"position": 0
},
... <full file cut for space>

Notice the 'stype' of 0 for the channel not being read, where as the 'stype' should be 1 indicating SDTV.

I also noticed it flags HDTV channels as 'other' and won't map them cleanly - you can do it manually but it gets messy.
'stype' is 145 for the HDTV channels, where its 1 for SDTV. I could be off on what is actually causing the issue of course - I don't know the inner workings of tvheadend that well.

Any suggestions would be welcome.

Cub

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Anonymous over 12 years ago

FYI I have been able to resolve the HDTV flag issue by making the following change to the service.h file:

/* Service types defined in EN 300 468 */
ST_SDTV       = 0x1,    /* SDTV (MPEG2) /
ST_RADIO = 0x2,
ST_HDTV = 0x91, /
HDTV (MPEG2) /
ST_AC_SDTV = 0x16, /
Advanced codec SDTV /
ST_AC_HDTV = 0x19, /
Advanced codec HDTV */
} s_servicetype;

I changed the ST_HDTV value from 0x11 to 0x91 which is what Bell sends as their s_type for HDTV.

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Adam Sutton over 12 years ago

Sounds like Bell are using non-standard service type definitions (0x80-0xFE = user defined). Can you submit this as a feature request and I'll try and get someone to look into it. Looks like an easy enough fix (just add a new service type and code to handle it).

Hein, that sound sensible to you?

Adam

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Anonymous over 12 years ago

It does - and will do that. With further work on this I've determined there are more service types that are not being recognized - so far I've found 150, 160 and 166 in use. 150 looks to be an SDTV channel so not sure why their stype is different - 160 and 166 are HDTV channels again.

This doesn't resolve the issue of Dish networks - I don't think it interprets the mux stream properly in order to find the service information. I will give it a go shortly with the changes I've made.

Cub

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Adam Sutton over 12 years ago

Cub,

Feel free to provide a patch when you're done with your investigations ;) but make sure that whatever you do is compatible with existing setup/code.

Adam

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Anonymous over 12 years ago

Well I spent the better part of the day reverse engineering through the code, since I'm not familiar with it. I've traced the problem with Dish Network to the way tvheadend inteprets the SDT. Dish must do something differently (i.e. out of standard) that is causing tvheadend to not process the information properly.

I'm looking further into it and have asked around a bit for more information on the sdt differences on Dish since it has been dealt with, with other software.

I've been looking through the code, and I believe the issue is in the file dvb_tables.c. Does anyone know of a way I can output the sdt portion of the stream? I've been throwing in some tvhlog() commands to try and decipher and understand where the flow is stopping but I haven't got there yet.

Thanks
Cub

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Holger Reinmann over 12 years ago

Hello,

I have a similar problem with Sky Germany Channels (Sky Select, Sky Bundesliga, Sky Sport)
The Channels are shown in the Service Tab as channel type other.
In the configuration file from the muxes it is descriped as "stype": 211

Like here :
"service_id": 262,
"pmt": 96,
"stype": 211,
"scrambled": 1,
"channel": 0,
"provider": "",
"servicename": "Sky Bu ndes li ga 1",
"dvb_eit_enable": 1,
"pcr": 255,
"disabled": 0,
"stream": {
"pid": 32,
"type": "TELETEXT",
"position": 0
},
"stream": {
"pid": 255,
"type": "MPEG2VIDEO",
"position": 1,
"width": 720,
"height": 576
},

It is a normal SDTV channel.

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Anonymous over 12 years ago

Check out my patch in Feature #1080. I added your stype to it as well so with it you should be good to go.

Cub

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by tony nunya about 12 years ago

Hey Guys,
Well this is Enlighting... As I said... Well i have been away for a while.
Family emergency cancer unfortunatley.. But no here no there.. I will say this...

I MAPPED EVERY FREAKING CHANNEL BY HAND (Yes I am Insane and YES I wanted it to work..)

I am tired of mediaportal and its shortomings and constant crashes... and the Enormous amount
of overhead... So i sat there and mapped each and every channel.. After doing that.. Well
It works Excellent Not a Fart or a burp... Hats off to the Programmers and OdenKampf

I just wanted to let you guys know i got it working with Xbmc and the Big D network...

There is something else i notice and i am not sure if it relvent or not.. Ok in mediaportal
when you are scanning if you have the scan time turned down low it will give you unknown
channels....

Well what i did to correct that in there was slow the Scanning time down on each transponder
I set the pct and smt to 70 secs and 90 secs.. Now it had a slow scan time but every channel
was labeled and correct...
Is there anyway to be able to put in some code to Slow the tuner down so it sits on each
transponder.. It should be a feature..
1 other feature Renumber channels by SID would HELP a BUNCH!!!!! :) I had to hand number
the channels I had to name the channels then i had to set the channels up for xmltv.. Needless
to say when you are mapping something like 560 channels it gets a little Insane to say the least..

Something that I must tell you I AM also Physchotic, and i have not taken my meds... Heheh..

Kidding but in realistic terms this is a GREAT PROGRAM it just needs some features and If you
Set it up a little better for North American Tv.. This thing would rock.... I am a regular over
at satfix.net i have written guides converting captiveworks to mediaportal etc etc and Was a mod
at Ftabins.. I can tell you There is an htpc section at satfix that rocks because of programs like
this... You guys are great and I appreciate everything that has been done I am rusty in linux...
I am going to need some help but other then that... It is working and working well if we can
just add those few features everyone would love it....

Thanks so much for Listening...
Tony
AKA Mondoman

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by Anonymous about 12 years ago

Hey Mondoman... hope all turns out ok.

To get your channels mapped to sid, I wrote a patch that will do that -- check the 'features' under developer section and search for it, or I can always send it to you. I too wanted my channel numbers to be the same as the SID, however, not everyone wants this -- sids are not the same as channel numbers anywhere else so the discussion is to add it as a checkbox on the configuration page -- I guess I have to write the patch and then upload it to see if it gets merged in :)

It works perfectly as is for me on Bell except that it does not pick up EIT. I have a few ideas about that but haven't had time the last few days to look at anything.

Another great forum for linux stuff is over at dvbn.

Cub

RE: Dvbs Setup with Genpix Tuner getting services but will not Map Channels - Added by tony nunya about 12 years ago

Hey bro,
Thank you very much.. yeah I saw the little patch i am downloading source for 3.0 right now...
I am going to patch away and hopefully everything will turn out right... Thanks for the insight and
the help bro its Appreciated... I am trying to get the Na people up to date with htpc media centers
and get rid of those stupid little Stb boxes... Needless to say alot of people are getting into it
after the Captiveworks Insanity and all the crap they put people through i found some use for my
cw4k heheh... Anyways Thanks a bunch Bro I appreciate it...

Tony
    (1-20/20)