Missing the multiplexes tab when checking tuners
Added by John Doe about 12 years ago
I've been trying to set Tvheadend up but I'm missing the multipelxes tab and I don't know why.
this is the log i get when starting tvheadend:
[INFO]:v4l: /dev/video0: ivtv WinTV PVR 500 (unit #1) PCI:0000:06:08.0 capabilities: 0x81070051
[INFO]:v4l: /dev/video0: Standard #0: 000000000000b000 NTSC, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #1: 0000000000001000 NTSC-M, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #2: 0000000000002000 NTSC-M-JP, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #3: 0000000000008000 NTSC-M-KR, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #4: 0000000000004000 NTSC-443, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #5: 00000000000000ff PAL, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #6: 0000000000000007 PAL-BG, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #7: 0000000000000008 PAL-H, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #8: 0000000000000010 PAL-I, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #9: 00000000000000e0 PAL-DK, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #10: 0000000000000100 PAL-M, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #11: 0000000000000200 PAL-N, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #12: 0000000000000400 PAL-Nc, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #13: 0000000000000800 PAL-60, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #14: 0000000000ff0000 SECAM, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #15: 0000000000010000 SECAM-B, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #16: 0000000000040000 SECAM-G, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #17: 0000000000080000 SECAM-H, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #18: 0000000000320000 SECAM-DK, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #19: 0000000000400000 SECAM-L, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #20: 0000000000800000 SECAM-Lc, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Input #0: Tuner 1 (Tuner), audio:0x7, tuner:0, standard:000000000000000f,
[INFO]:v4l: /dev/video0: Input #1: S-Video 1 (Camera), audio:0x7, tuner:0, standard:0000000000ffffff,
[INFO]:v4l: /dev/video0: Input #2: Composite 1 (Camera), audio:0x7, tuner:0, standard:0000000000ffffff,
[INFO]:v4l: /dev/video0: Input #3: S-Video 2 (Camera), audio:0x7, tuner:0, standard:0000000000ffffff,
[INFO]:v4l: /dev/video0: Input #4: Composite 2 (Camera), audio:0x7, tuner:0, standard:0000000000ffffff,
[INFO]:v4l: /dev/video0: Format #0: HM12 (YUV 4:2:0) [HM12]
[INFO]:v4l: /dev/video0: Format #1: MPEG [MPEG] (compressed)
[INFO]:v4l: WinTV PVR 500 (unit #1) ivtv PCI:0000:06:08.0: Using adapter
[INFO]:v4l: /dev/video1: ivtv WinTV PVR 500 (unit #2) PCI:0000:06:09.0 capabilities: 0x81030051
[INFO]:v4l: /dev/video1: Standard #0: 000000000000b000 NTSC, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video1: Standard #1: 0000000000001000 NTSC-M, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video1: Standard #2: 0000000000002000 NTSC-M-JP, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video1: Standard #3: 0000000000008000 NTSC-M-KR, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video1: Standard #4: 0000000000004000 NTSC-443, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video1: Standard #5: 00000000000000ff PAL, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #6: 0000000000000007 PAL-BG, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #7: 0000000000000008 PAL-H, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #8: 0000000000000010 PAL-I, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #9: 00000000000000e0 PAL-DK, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #10: 0000000000000100 PAL-M, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video1: Standard #11: 0000000000000200 PAL-N, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #12: 0000000000000400 PAL-Nc, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #13: 0000000000000800 PAL-60, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video1: Standard #14: 0000000000ff0000 SECAM, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #15: 0000000000010000 SECAM-B, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #16: 0000000000040000 SECAM-G, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #17: 0000000000080000 SECAM-H, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #18: 0000000000320000 SECAM-DK, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #19: 0000000000400000 SECAM-L, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Standard #20: 0000000000800000 SECAM-Lc, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video1: Input #0: Tuner 1 (Tuner), audio:0x7, tuner:0, standard:000000000000000f,
[INFO]:v4l: /dev/video1: Input #1: S-Video 1 (Camera), audio:0x7, tuner:0, standard:0000000000ffffff,
[INFO]:v4l: /dev/video1: Input #2: Composite 1 (Camera), audio:0x7, tuner:0, standard:0000000000ffffff,
[INFO]:v4l: /dev/video1: Input #3: S-Video 2 (Camera), audio:0x7, tuner:0, standard:0000000000ffffff,
[INFO]:v4l: /dev/video1: Input #4: Composite 2 (Camera), audio:0x7, tuner:0, standard:0000000000ffffff,
[INFO]:v4l: /dev/video1: Format #0: HM12 (YUV 4:2:0) [HM12]
[INFO]:v4l: /dev/video1: Format #1: MPEG [MPEG] (compressed)
[INFO]:v4l: WinTV PVR 500 (unit #2) ivtv PCI:0000:06:09.0: Using adapter
[INFO]:dvr: Creating new configuration ''
[INFO]:CSA: Using SSE2 128bit parallel descrambling
[NOTICE]:START: HTS Tvheadend version started, running as PID:2741 UID:0 GID:0, settings located in '/root/.hts/tvheadend', dataroot: /usr/local/share/tvheadend
[DEBUG]:AVAHI: Adding service 'Tvheadend'
[INFO]:xmltv: Grabbing "Sweden (tv.swedb.se)" using command "/usr/bin/tv_grab_se_swedb"
[INFO]:AVAHI: Service 'Tvheadend' successfully established.
[DEBUG]:xmltv: /usr/bin/tv_grab_se_swedb: completed, took 2 seconds
[INFO]:xmltv: /usr/bin/tv_grab_se_swedb: Parsing completed. XML contained 13 channels, 2171 events, 0 new events injected in EPG
Can anyone tell me whats wrong?
Replies (27)
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
I am not sure if this helps, but I seem to remember having a similar issue once when tvheadend thinks it is working with an ntsc devices while actually it is dvb-c.
Are you using dvb-c? It isnt mentioned in the log you post.
In my case I could change it in some config file of the driver of the adapter (it was a virtual adapter)
Alex.
RE: Missing the multiplexes tab when checking tuners - Added by Sébastien Aubry about 12 years ago
Which version are you using?
I just upgraded from version tvheadend 2.99-9~oneiric to version 3.1.1~git201209182221.2099~0ubuntu1~ppa1~oneiric1 using ppa:hts-unstable and the Configuration tab disappeared. I also miss the "Home" page where the TvHeadend version number was displayed.
Attached is a screenshot showing this problem.
Regards
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
Hi Sebastien,
I just upgraded ( from 3.1.665.gbae7a) to the latest version on GIT.
I now seem to have the same issue as you do: Only EPG-tab at first.
After some time (a minute or so) other tabs appear, but everything is slow and stuff doesnt work.
For example, going to the adapterlist ends in a "busy" symbol", but no adapters appear and the list remains empty...
Alex.
(Although your/our problem seems to be a different problem from OP's)
Sébastien Aubry wrote:
Which version are you using?
I just upgraded from version tvheadend 2.99-9~oneiric to version 3.1.1~git201209182221.2099~0ubuntu1~ppa1~oneiric1 using ppa:hts-unstable and the Configuration tab disappeared. I also miss the "Home" page where the TvHeadend version number was displayed.
Attached is a screenshot showing this problem.Regards
RE: Missing the multiplexes tab when checking tuners - Added by Adam Sutton about 12 years ago
Sebastien (et al),
Just to point out that is not latest git, it's actually pretty old (10 days from what I can see). So worth double checking latest code.
However I'm not aware of any particular reasons it wouldn't be working. but just in case can you give a bit of info about how you compiled, what configure options you used (or at least the output from ./configure or the .config.mk file) and what platform this is running on.
Regards
Adam
P.S.
If you're still missing the tabs please check you're browsers error console to make sure it's not reporting an JS errors. We do have some random reports of certain browsers not working (though it seems to be related to specific setups not just a given browser version).
RE: Missing the multiplexes tab when checking tuners - Added by Adam Sutton about 12 years ago
Sebastian,
Sorry I completely misread your message about the version info, my mistake. But still can you provide the requested info.
Adam
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
Hi Adam,
Just to point out that is not latest git, it's actually pretty old (10 days from what I can see). So worth double checking latest code.
Sorry, I upgraded to 3.1.712.g39d63 ( from the number I gave before).
I now also notice the systemload on tvheadend is 100% CPU load with this version!
Compiled, using clean src-dir (but running with old .hts):git clone https://github.com/tvheadend/tvheadend.git /opt/tvheadend/src/
./configure --prefix=/opt/tvheadend
make
make install
.config.mk:
@# Automatically generated by configure - DO NOT EDIT!
ROOTDIR ?= .
BUILDDIR ?= ./build.linux
OSENV ?= posix
ARCH ?= x86_64
ifeq ($(origin CC),default)
CC = cc
endif
PYTHON ?= python
CFLAGS +=
LDFLAGS +=
prefix = /opt/tvheadend
bindir = ${prefix}/bin
mandir = ${datadir}/man
datadir = ${prefix}/share
libdir = ${prefix}/lib
LDFLAGS += -lssl -lcrypto
CFLAGS +=
LDFLAGS += -lz
CFLAGS +=
LDFLAGS += -lavahi-common -lavahi-client
CFLAGS += -D_REENTRANT
CONFIG_CWC = yes
CONFIG_V4L = yes
CONFIG_LINUXDVB = yes
CONFIG_DVBSCAN = yes
CONFIG_AVAHI = yes
CONFIG_ZLIB = yes
CONFIG_BUNDLE = no
CONFIG_EXECINFO = yes
CONFIG_MMX = yes
CONFIG_SSE2 = yes
CONFIG_GETLOADAVG = yes
CONFIG_PYGZIP = yes
CONFIG_SSL = yes
@
However I'm not aware of any particular reasons it wouldn't be working. but just in case can you give a bit of info about how you compiled, what configure options you used (or at least the output from ./configure or the .config.mk file) and what platform this is running on.
Running on a 64 bit gentoo system.
RE: Missing the multiplexes tab when checking tuners - Added by Adam Sutton about 12 years ago
Nothing unusual there (I forgot can you also check build.linux/config.h)
The only thing I can think of that rings a bell is there was a bug in the spawn code (I'm sure I fixed that a while back) which caused an infinite loop.
Adam
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
Hi Adam, thanks for you quick reply.
Removing /opt/tvheadend/bin, /opt/tvheadend/home and /opt/tvheadend/shared and reinstalling seems to fix it: load is low, and my adapters are back ( but I will have to rescan now, so I can check later if tv works again as usual).
Somehow, looks like using the old configuration files messes things up...
Alex.
RE: Missing the multiplexes tab when checking tuners - Added by Adam Sutton about 12 years ago
Alex,
Don't suppose you kept a copy of those files?
Sebastian,
If you're reading this please keep a copy of yours
Adam
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
Adam Sutton wrote:
Alex,
Don't suppose you kept a copy of those files?
Sebastian,
If you're reading this please keep a copy of yours
Adam
Actually , I did :-)
(so ,I didnt remove them ,just moved them :-) )
Any particular file you are interested in ?
RE: Missing the multiplexes tab when checking tuners - Added by Adam Sutton about 12 years ago
Great,
If possible can you send me the entire contents of /opt/tvheadend? If there is stuff in there you don't want to send no trouble.
A useful start though would be a full directory listing, just to get a feel for your setup:
find /opt/tvheadend -type d
I'm guessing you're configuration is being stored in /opt/tvheadend/home?
I'm sure it'll be a stupid mistake in some of my new code.
Adam
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
Adam Sutton wrote:
If there is stuff in there you don't want to send no trouble.
No problem, I will make a zipfile and post it or email it ( I will remove some recordings due to size-constraints :-) ).
Indeed, my configuration .hts directory was in /opt/tvheadend/homeHowever, I now do notice that the new install did not create a homedir in /opt/tvheadend . Where is the config stored now?
Alex.
RE: Missing the multiplexes tab when checking tuners - Added by Adam Sutton about 12 years ago
The configuration has always been stored (by default, as far as I'm aware) in ~hts/.hts/tvheadend (or whatever user runs TVH). I'm assuming you must have overridden the config path with -c in your startup script?
Adam
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
Indeed I define a custom location and used -C in my startupcript, using the script as described here:
https://www.lonelycoder.com/redmine/projects/tvheadend/wiki/Tvheadend_gentoo
Attached is the content of /opt/tvheadend.
In tvheadend, there is a subdir "_old_opt_tvheadend_dir"
This directory contains home, bin and share that I moved there , and this seemed to fixed the problem after reinstall.
( so the files that caused the problems should be in there).
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
Adam Sutton wrote:
The configuration has always been stored (by default, as far as I'm aware) in ~hts/.hts/tvheadend (or whatever user runs TVH). I'm assuming you must have overridden the config path with -c in your startup script?
Adam
Ah, indeed: Forget about my remark about the home directory : I shouldn't have removed it ( but should have just emptied it), since I created it by hand when creating the tvheadend user. ( and it is no part of the tvheadend install).
So, recreating it fixes the configuration-mystery, and .hts is recreated on restarting tvheadend.
RE: Missing the multiplexes tab when checking tuners - Added by Sébastien Aubry about 12 years ago
Hello,
Since I had too many problems with this version (ppa:jabbors/hts-unstable), I reverted to the latest stable version I was using (ppa:pulse-eight/pulse).
I can provide the content of my ~/.hts/tvheadend directory if needed.
RE: Missing the multiplexes tab when checking tuners - Added by Adam Sutton about 12 years ago
Sebastien,
That would be very much appreciated.
Adam
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
Ok, I have been rescanning the channels: The problem now returns after I mapped the services:
What I did:
- removed removing .hts, bin and share and then reinstalling (from a clean source).
- Then I rescanned the adapters
Now, After this, I could watch tv from various adapters from the config/tvadapters/services tab.
However, after "mapping services" the Tvheadend load goes to 100% and the problems start.
EDIT: Ok, I am not 100% sure it happens because I mapped the services, but it seems to start 'after some time', but then it stays (after restart, reboots etc).
I will try to go through the sequence again and look when it first occurs....
RE: Missing the multiplexes tab when checking tuners - Added by Adam Sutton about 12 years ago
Have you got any EPG OTA modules enabled (probably as they get enabled by default). Try disabling them and see what happens.
Also enable debug (-d on TVH startup) and see if anything useful is coming out of there, probably not.
Not really sure what's going on to be honest, I'll try and do a fresh setup on my machine to see what happens.
Adam
RE: Missing the multiplexes tab when checking tuners - Added by Adam Sutton about 12 years ago
I did a full reconfigure from fresh and wasn't able to reproduce the problem, so think I might need a bit of help/input from you guys to find the problem.
Adam
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
Adam Sutton wrote:
Have you got any EPG OTA modules enabled (probably as they get enabled by default). Try disabling them and see what happens.
This might have something to do with it: I had them switched off and things looked rather ok. To check, I switched all on and the system goes to 100% load, tabs disappear, and becomes unusable..
( it might also explain why it starts after mapping the services: that is when the EPG starts working).
Question : In what config file can I switch them off again to check whithout removing .hts again?
I cant use the tab-interface since it is unworable with the 100% processor load... ( there are no config files in epggrab... there is a file 'otamux' but that doesnt seem to help... ).
RE: Missing the multiplexes tab when checking tuners - Added by John Doe about 12 years ago
Hey! Alex. _ ?!?
I'm not using DVB-C, DVB stands for "Digital Video Broadcasting" (right?) and since this PVR-500 is a double Analog device, it might be, hehe, AVB-C
I'm on cable here in Sweden but still got plenty of totally free channels (I can order DVB-C but then I loose lots of channels that I have to pay for to see at all) and since we don't really watch TV that much,
why should we pay lots for digital... hope you understand my "problem"
I record like 1 to 3 programs a week, at a maximum, hope that'll get you to understand that I'm not into digital, when it's totally FREE, then sure
The smallest "package" of tv-stuff here it gonna cost me (not much for you maybe) 200SEK a month and that still are missing like 4-7 channels I got for free today.
(( 200SEK = $30.71 = €23.61 = £18.89 ))
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
Hi Adam,
I tried to narrow the problem down by install older commits.
I now think the problem is with e81e4f4
Installing using git checkout 4365a25 ( "Added a few missing fields to EPG structures.") works as usual, the next one :
git checkout e81e4f4 does not. ("Update EIT and XMLTV processing to pick up and store new fields.") .
Alex.
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
John Doe wrote:
I'm not using DVB-C, DVB stands for "Digital Video Broadcasting" (right?) and since this PVR-500 is a double Analog device, it might be, hehe, AVB-C
There are some more posts about the PVR-500, with mixed comments as fas as I can see: ( some seem to work)
https://www.lonelycoder.com/redmine/boards/4/topics/5076
https://www.lonelycoder.com/redmine/boards/5/topics/1143
(sorry;I think the issues being discussed as a reaction to your post are slightly offtopic for your problem it seems)
RE: Missing the multiplexes tab when checking tuners - Added by Alex . about 12 years ago
Adam, one more thing :
I had all grabbers disabled except "EIT DVB Grabber".
Disabling "EIT DVB Grabber" (using a working version of tvheadend), and then installing e81e4f4, and TvHeadend just works.
Then, once I switch on "EIT DVB Grabber" on version e81e4f4, tvheadend stops functioning/seems to be in some process that requires 100% cpu load.
Alex.
Alex. _ wrote:
Hi Adam,
I tried to narrow the problem down by install older commits.
I now think the problem is with e81e4f4Installing using git checkout 4365a25 ( "Added a few missing fields to EPG structures.") works as usual, the next one :
git checkout e81e4f4 does not. ("Update EIT and XMLTV processing to pick up and store new fields.") .
Alex.