[mythtv-users] Problems installing second capture card - xmltv id issues?

John Reid johnbaronreid at netscape.net
Mon Jul 25 13:19:18 UTC 2011


On 25/07/11 10:44, John Reid wrote:
>
> On 25/07/11 09:35, David Watkins wrote:
>> On 24 July 2011 10:52, John Reid<johnbaronreid at netscape.net>   wrote:
>>> I've installed my nanostick alongside my Hauppauge 2250. The nanostick
>>> seems to be working OK but I think I've messed up the channels on the
>>> Hauppauge. I have 2 XMLTV video sources. One is connected to both
>>> Hauppauge tuners and the other is connected to the nanostick. In the
>>> MythWeb channel editor I have 3 entries for each channel (one for each
>>> source id, I'm assuming the source ids represent the tuners). For those
>>> that were missing xmltv ids I copied the known ids to make them the same
>>> for all 3 entries for that channel. Was this the wrong thing to do? Do I
>>> need a different xmltv id for the same channel if the guide data is
>>> coming from a different video source?
>> I'm assuming the nanostick is the DVBT2 device, giving you access to
>> the extra HD channels not available on the 2250?
> That's right
>> If so, I think you should have two video sources, one connected to
>> both the channels on the 2250, and the other connected to the
>> nanostick.  The nanostick's source will contain all the same channels
>> as the 2250's, plus the HD channels.
> As pointed out elsewhere it is actually a 2200 not a 2250. I was
> wondering if mythtv would try to tune the 2200 into the DVB-T2
> broadcasts if I used the same source for both. Presumably you're
> suggesting the above to stop this situation.
>> In the backend setup I would recommend giving your cards and sources
>> meaningful names (rather than accept the default) which helps when
>> connecting source to tuner, and also makes troubleshooting easier if
>> things go wrong.
> I've been doing that, it is a real help
>> Having done a channel scan on each capture card I then run a script
>> (attached), slightly modified from the one on the wiki, which assigns
>> visibility, channel number and xmltvid values to each channel based on
>> their callsign.  Note that I use xmltv data for the mainline TV
>> channels and EIT for the radio channels and some other TV channels of
>> borderline interest.  My channel list is likely to be slightly out of
>> date (new freeview channels seem to appear and disappear from time to
>> time) and you may have different channel visibility preferences.
>> (tv_grab_uk_rt has a 'listchannels" option which will show you what
>> channels are available).
> I'll have a go at this later.
OK so I've tried this and am still having problems getting the 2200 
tuners to work. The nanostick seems to be working fine but when mythtv 
tries to use the 2200 I get all sorts of errors in the log. I did think 
they were something to do with how the channels were set up as they are 
much worse on some channels. The errors look like what I've pasted 
below. Does anyone have any idea what could be causing them? I get 
pixellated and broken up playback, no playback at all or more or less OK 
playback depending on the channel.

extract from mythwelcome.log:

2011-07-25 14:14:03.255 TV: Attempting to change from None to WatchingLiveTV
2011-07-25 14:14:03.256 MythCoreContext: Connecting to backend server: 
192.168.1.74:6543 (try 1 of 1)
2011-07-25 14:14:03.256 Using protocol version 63
2011-07-25 14:14:03.419 Spawning LiveTV Recorder -- begin
2011-07-25 14:14:03.653 Spawning LiveTV Recorder -- end
2011-07-25 14:14:03.659 We have a 
playbackURL(/mnt/Samsung2Tb/mythtv/var/lib/mythtv/livetv/1010_20110725141403.mpg) 
& cardtype(DUMMY)
2011-07-25 14:14:03.659 We have a RingBuffer
2011-07-25 14:14:03.698 OpenGL: Initialised MythRenderOpenGL
2011-07-25 14:14:03.698 VidOutGL: Created MythRenderOpenGL device.
2011-07-25 14:14:03.723 OpenGL painter using existing OpenGL context.
2011-07-25 14:14:03.723 OpenGL painter using existing QGLWidget.
2011-07-25 14:14:03.765 Player(2): Video timing method: DRM
2011-07-25 14:14:03.784 TV: Changing from None to WatchingLiveTV
2011-07-25 14:14:03.784 TV: State is LiveTV & mctx == ctx
2011-07-25 14:14:03.785 TV: UpdateOSDInput done
2011-07-25 14:14:03.785 TV: UpdateLCD done
2011-07-25 14:14:03.785 TV: ITVRestart done
2011-07-25 14:14:03.798 ScreenSaverX11Private: DPMS Deactivated 1
2011-07-25 14:14:06.385 pause_active: 0
2011-07-25 14:14:16.116 
RingBuf(/mnt/Samsung2Tb/mythtv/var/lib/mythtv/livetv/1012_20110725141411.mpg): 
Waited 0.2 seconds for data
             to become available... 12000 < 32768
2011-07-25 14:14:17.519 
RingBuf(/mnt/Samsung2Tb/mythtv/var/lib/mythtv/livetv/1012_20110725141411.mpg): 
Waited 0.2 seconds for data
             to become available... 18884 < 32768
2011-07-25 14:14:18.984 Clearing OpenGL painter cache.
2011-07-25 14:14:18.985 MythPainter: 4 images not yet de-allocated.
2011-07-25 14:14:18.997 OpenGL painter using existing OpenGL context.
2011-07-25 14:14:18.997 OpenGL painter using existing QGLWidget.
2011-07-25 14:14:18.999 AFD: Opened codec 0x7f6b241740e0, id(MPEG2VIDEO) 
type(Video)
2011-07-25 14:14:18.999 AFD: codec MP2 has 2 channels
2011-07-25 14:14:19.000 AFD: Opened codec 0x7f6b14124ce0, id(MP2) 
type(Audio)
2011-07-25 14:14:19.000 AFD: codec MP3 has 0 channels
2011-07-25 14:14:19.000 AFD: Opened codec 0x7f6b1408ab50, id(MP3) 
type(Audio)
2011-07-25 14:14:19.000 AFD: Opened codec 0x7f6b2705fe80, 
id(DVB_SUBTITLE) type(Subtitle)
2011-07-25 14:14:19.247 AO: Opening audio device 'pulse' ch 2(2) sr 
48000 sf signed 16 bit reenc 0
2011-07-25 14:14:19.249 AudioOutput Warning: mmap not available, 
attempting to fall back to slow writes
2011-07-25 14:14:19.250 AudioPlayer: Enabling Audio
2011-07-25 14:14:19.363 AFD: Resetting byte context eof (livetv 1 was eof 0)
2011-07-25 14:14:19.897 [mpeg2video @ 0x7f6b542f5580]invalid mb type in 
P Frame at 1 7
2011-07-25 14:14:19.898 [mpeg2video @ 0x7f6b542f5580]Warning MVs not 
available
2011-07-25 14:14:19.948 [mpeg2video @ 0x7f6b542f5580]00 motion_type at 1 19
2011-07-25 14:14:19.950 [mpeg2video @ 0x7f6b542f5580]Warning MVs not 
available
2011-07-25 14:14:20.787 [mp2 @ 0x7f6b542f5580]Header missing
2011-07-25 14:14:20.787 AFD Error: Unknown audio decoding error
2011-07-25 14:14:21.507 [mp2 @ 0x7f6b542f5580]Header missing
2011-07-25 14:14:21.507 AFD Error: Unknown audio decoding error
2011-07-25 14:14:21.825 [mpeg2video @ 0x7f6b542f5580]ac-tex damaged at 10 32
2011-07-25 14:14:22.266 [mpeg2video @ 0x7f6b542f5580]00 motion_type at 7 12
2011-07-25 14:14:22.266 [mpeg2video @ 0x7f6b542f5580]Warning MVs not 
available
2011-07-25 14:14:22.586 [mpeg2video @ 0x7f6b542f5580]end mismatch 
left=65211 F16BA
2011-07-25 14:14:23.585 [mpeg2video @ 0x7f6b542f5580]skipped MB in I 
frame at 8 18
2011-07-25 14:14:23.588 [mpeg2video @ 0x7f6b542f5580]end mismatch 
left=26508 2F388
2011-07-25 14:14:23.787 [mp2 @ 0x7f6b542f5580]Header missing
2011-07-25 14:14:23.787 AFD Error: Unknown audio decoding error
2011-07-25 14:14:23.946 [mpeg2video @ 0x7f6b542f5580]ac-tex damaged at 7 16
2011-07-25 14:14:24.546 [mpeg2video @ 0x7f6b542f5580]00 motion_type at 33 13




More information about the mythtv-users mailing list