[mythtv-users] Unable to initialize video on new box setup

Roger E. Scheen roger at scheenfamily.com
Mon May 21 22:05:19 UTC 2007


On May 20, 2007, at 2:13 AM, scott at tbwifi.ca wrote:

>  am trying to set up myth on a new box.  I am using a PVR-350 on 
> Mandriva
> 2007 64 bit.  ivtv seems to be set up correctly, but I get unable to
> initialize video when I try to view some programs inported from a
> different database.  I also can't seem to get livetv to work.  I just 
> get
> a black screen for about 5 seconds and then the menu again.  Take note
> that I am attempting to view myth on a standard monitor.  I don't want 
> to
> output to a tv via the PVR-350.  I have attached the output of my dmesg
> pertinent to ivtv below.  Also note that I can do
>
> cat /dev/video0 > test.mpg
>
> but when I try to use mplayer to review the file I get
>
> [root at power dev]# /bin/cat /dev/video0 > test.mpg
>
> [root at power dev]# /usr/bin/mplayer test.mpg
> MPlayer 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team
> CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ (Family: 15, Model:
> 75, Stepping: 2)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
>
>
> 93 audio & 211 video codecs
> Opening joystick device /dev/input/js0
> Can't open joystick device /dev/input/js0: No such file or directory
> Can't init input joystick
> Setting up LIRC support...
>
> Playing test.mpg.
> Seek failed
>
>
> Exiting... (End of file)
>
>
> Does someone have any theories?
>
>
> ivtv:  ==================== START INIT IVTV ====================
> ivtv:  version 0.7.4 (tagged release) loading
> ivtv:  Linux version: 2.6.17-5mdv SMP mod_unload gcc-4.1
> ivtv:  In case of problems please include the debug info between
> ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
> ivtv:  any module options, when mailing the ivtv-users mailinglist.
> ivtv0: Autodetected Hauppauge WinTV PVR-350 card (cx23415 based)
> ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> tveeprom 0-0050: Hauppauge model 48132, rev K268, serial# 9921474
> tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
> tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
> tveeprom 0-0050: audio processor is MSP4448 (idx 27)
> tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
> tveeprom 0-0050: has radio, has IR remote
> tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
> saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
> saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
> msp3400 0-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0)
> msp3400 0-0040: MSP4448G-A2 supports radio, mode is autodetect and 
> autoselect
> ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
> ivtv0: Encoder revision: 0x02060039
> ivtv0: Decoder revision: 0x02020023
> ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB 
> total)
> ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB 
> total)
> ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB 
> total)
> ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers 
> (2048KB
> total)
> ivtv0: Create encoder radio stream
> ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB 
> total)
> ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB 
> total)
> ivtv0: Create decoder VOUT stream
> ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB 
> total)
> ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
> tuner 0-0061: type set to 47 (LG NTSC (TAPE series))
> ivtv0: Initialized Hauppauge WinTV PVR-350, card #0
> ivtv:  ====================  END INIT IVTV  ====================
> _______________________________________________
>

I seem to have very much the same problem as you.  I select "watch live 
TV" and I get a blank screen for 5 seconds and then it comes back to 
the menu.  If I run mythfrontend from the command line I notice error 
messages like this once I quit mythfrontend (if I've tried to watch 
live TV or a recording):
> 2007-05-16 17:15:57.016 NVP: Couldn't find a matching decoder for:
> /media/mythtv/1147_20070516171550.mpg
> 2007-05-16 17:15:57.021 TV Error: StartPlayer(): NVP is not playing
> after 20000 msec
> 2007-05-16 17:15:57.076 TV Error: LiveTV not successfully started

The only piece of debugging advice I can offer you is to try to run 
this on the command line:

mplayer /dev/video0

If that gives you some output, then at least your capture card is 
working.  Unfortunately, I've been banging my head against my similar 
problem for weeks and haven't found a solution, so that's about the end 
of the help I can give you.  I may try to load freevo instead of mythtv 
and see how that works.



More information about the mythtv-users mailing list