[mythtv-users] front end starts but unable to watch tv

Mike McMullin mwmcmlln at mnsi.net
Wed Apr 22 06:27:07 UTC 2009


On Tue, 2009-04-21 at 11:58 -0400, Mike McMullin wrote:
> On Mon, 2009-04-20 at 17:50 -0700, Andreas Schlehahn wrote:
> > Before trying with MythTV, you might want check if hardware & driver are 
> > working properly.
> > 
> > Check if driver & firmware are loaded. dmesg | grep ivtv should list at least 
> > something like this:
> > ivtv0: Registered device video0 for encoder MPG (16384 kB)
> > [....]
> > ivtv:  End initialization
> > ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> > [....]
> > 
> > Tune the card to a known good channel: ivtv-tune -d /dev/[devicename-for-your-
> > pvr150] -c [channel-number]
> > 
> > You might have to install ivtv and ivtv-firmware through yast to make the 
> > above steps work.
> > 
> > Record some video: cat  /dev/[devicename-for-your-pvr150] > 
> > [/path/to/the/videofile.mpg]
> > 
> > Play the video with something other that MythTV, e.g:
> > mplayer [/path/to/the/videofile.mpg]
> >  
> > Once all that is working, MythTV should work too (tm).
> 
> Mike at P-733-Lin:~> dmesg | grep ivtv
> ivtv:  Start initialization, version 1.4.0
> ivtv0: Initializing card #0
> ivtv0: Autodetected Hauppauge card (cx23416 based)
> ivtv 0000:01:08.0: PCI INT A -> Link[APC1] -> GSI 16 (level, high) ->
> IRQ 16
> ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> ivtv0: Autodetected Hauppauge WinTV PVR-150
> ivtv0: Reopen i2c bus for IR-blaster support
> cx25840 2-0044: cx25841-23 found @ 0x88 (ivtv i2c driver #0)
> tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
> ivtv0: Registered device video1 for encoder MPG (4096 kB)
> ivtv0: Registered device video32 for encoder YUV (2048 kB)
> ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
> ivtv0: Registered device video24 for encoder PCM (320 kB)
> ivtv0: Initialized card #0: Hauppauge WinTV PVR-150
> ivtv:  End initialization
> ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> ivtv0: Encoder revision: 0x02060039
> Mike at P-733-Lin:~> ivtv
> bash: ivtv: command not found
> Mike at P-733-Lin:~> ivtv-tune -d /dev/video1 -c 51
> /dev/video1: 385.250 MHz  (Signal Detected)
> Mike at P-733-Lin:~> cat /dev/video1 > channel51.mpg
> ^C
> Mike at P-733-Lin:~> mplayer channel51.mpg
> MPlayer dev-SVN-r27637-4.3-openSUSE Linux 11.1 (i686)-Packman (C)
> 2000-2008 MPlayer Team
> CPU: AMD Athlon(tm) XP 2500+ (Family: 6, Model: 10, Stepping: 0)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
> Compiled with runtime CPU detection.
> Can't open joystick device /dev/input/js0: No such file or directory
> Can't init input joystick
> mplayer: could not connect to socket
> mplayer: Connection refused
> Failed to open LIRC support. You will not be able to use your remote
> control.
> 
> Playing channel51.mpg.
> MPEG-PS file format detected.
> VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  8000.0 kbps (1000.0
> kbyte/s)
> ==========================================================================
> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> The selected video_out device is incompatible with this codec.
> Try appending the scale filter to your filter list,
> e.g. -vf spp,scale instead of -vf spp.
> VDecoder init failed :(
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or
> resource busy
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> VO: [xv] 720x480 => 720x540 Planar YV12
> A:   7.7 V:   7.9 A-V: -0.159 ct: -0.201 229/229 15%  5%  0.8% 1 0
> 
> Exiting... (End of file)
> Mike at P-733-Lin:~>
> 
>   Still no joy.  Is it possible that I'm having a mysql problem?  On
> occasion when I log into my account, i need to give the mysql root
> password for mythbackend to access somehting.

  Okay let's correct this.  Here is an updated error message report from
the recorded file played in mplayer:
Mike at P-733-Lin:~> mplayer channel51.mpg
MPlayer dev-SVN-r27637-4.3-openSUSE Linux 11.1 (i686)-Packman (C)
2000-2008 MPla
yer Team
CPU: AMD Athlon(tm) XP 2500+ (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support. You will not be able to use your remote
control.

Playing channel51.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  8000.0 kbps (1000.0
kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12
A:   6.4 V:   6.4 A-V: -0.000 ct: -0.181 184/184 15%  5%  1.4% 3 0
Exiting... (Quit)


  It recorded, and it played with sound in mplayer.  I went back into
myth after the success at the CLI but it still wouldn't play, and exited
as before.
















More information about the mythtv-users mailing list