Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-ppc-user
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Gentoo PPC User <gentoo-ppc-user@g.o>
From: Andrew Gaffney <agaffney@...>
Subject: Re: getting xawtv to work with planb
Date: Sat, 14 Jun 2003 10:12:32 -0500
Andrew Gaffney wrote:
> I have PlanB support for the video inputs on my PM 7500 compiled into 
> the kernel. The /dev/v4l/video0 device is created by devfs. When I try 
> to run xawtv, I get this:
> 
> 
> linuxmac root # xawtv
> This is xawtv-3.86, running on Linux/ppc (2.4.20-ppc-r3)
> Warning: Cannot allocate colormap entry for "lightgray"
> switching visual (0x32)
> ioctl: VIDIOCSCHAN(channel=0;name="Composite";tuners=0;flags=0x0 
> [];type=CAMERA;norm=3): Invalid argument
> Warning: Cannot convert string 
> "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  146 (GLX)
>   Minor opcode of failed request:  5 (X_GLXMakeCurrent)
>   Serial number of failed request:  279
>   Current serial number in output stream:  279
> 
> 
> A window pops up and immediately disappears. Has anyone got this working?
> 

I've also tried using mplayer to do this:

linuxmac root # mplayer -tv on:driver=v4l:device=/dev/v4l/video0 -vo x11


MPlayer 0.90rc4-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No 
such file or directory
Reading /usr/share/mplayer/codecs.conf: 50 audio & 135 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup 
scripts.
Using usleep() timing
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Input config file /usr/share/mplayer/input.conf parsed : 52 binds

Playing TV
Cache fill:  0.00% (0 bytes)    TV detected! ;-)
Selected driver: v4l
  name: Video 4 Linux input
  author: Alex Beregszaszi <alex@...>
  comment: under development
Selected device: Apple PlanB Video-In
  Capabilites: capture overlay clipping frameram scales
  Device type: 233
  Supported sizes: 32x32 => 768x576
  Inputs: 2
   0: Composite:  (tuner:0, norm:pal)
   1: SVHS:  (tuner:0, norm:pal)
Using input 'Composite'
Selected input hasn't got a tuner!
vo: X11 running at 640x480 with depth 8 and 8 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 32 x 32 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 32x32 => 32x32 Planar YV12  [fs]
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> BGR 8-bit special converter
BGR8 not supported, please contact the developers
FATAL: Cannot initialize video driver.
VDecoder init failed :(
*** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Cannot find codec matching selected -vo and video format 0x32315659.
==========================================================================


Exiting... (End of file)

-- 
Andrew Gaffney


--
gentoo-ppc-user@g.o mailing list

References:
getting xawtv to work with planb
-- Andrew Gaffney
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
getting xawtv to work with planb
Next by thread:
Doesn't locate my scsi HD
Previous by date:
getting xawtv to work with planb
Next by date:
Doesn't locate my scsi HD


Updated Jun 17, 2009

Summary: Archive of the gentoo-ppc-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.