1 |
Andrew Gaffney wrote: |
2 |
> I have PlanB support for the video inputs on my PM 7500 compiled into |
3 |
> the kernel. The /dev/v4l/video0 device is created by devfs. When I try |
4 |
> to run xawtv, I get this: |
5 |
> |
6 |
> |
7 |
> linuxmac root # xawtv |
8 |
> This is xawtv-3.86, running on Linux/ppc (2.4.20-ppc-r3) |
9 |
> Warning: Cannot allocate colormap entry for "lightgray" |
10 |
> switching visual (0x32) |
11 |
> ioctl: VIDIOCSCHAN(channel=0;name="Composite";tuners=0;flags=0x0 |
12 |
> [];type=CAMERA;norm=3): Invalid argument |
13 |
> Warning: Cannot convert string |
14 |
> "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct |
15 |
> X Error of failed request: BadMatch (invalid parameter attributes) |
16 |
> Major opcode of failed request: 146 (GLX) |
17 |
> Minor opcode of failed request: 5 (X_GLXMakeCurrent) |
18 |
> Serial number of failed request: 279 |
19 |
> Current serial number in output stream: 279 |
20 |
> |
21 |
> |
22 |
> A window pops up and immediately disappears. Has anyone got this working? |
23 |
> |
24 |
|
25 |
I've also tried using mplayer to do this: |
26 |
|
27 |
linuxmac root # mplayer -tv on:driver=v4l:device=/dev/v4l/video0 -vo x11 |
28 |
|
29 |
|
30 |
MPlayer 0.90rc4-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS) |
31 |
|
32 |
Reading config file /usr/share/mplayer/mplayer.conf |
33 |
Reading config file /root/.mplayer/config |
34 |
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No |
35 |
such file or directory |
36 |
Reading /usr/share/mplayer/codecs.conf: 50 audio & 135 video codecs |
37 |
font: can't open file: /root/.mplayer/font/font.desc |
38 |
font: can't open file: /usr/share/mplayer/font/font.desc |
39 |
Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument |
40 |
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup |
41 |
scripts. |
42 |
Using usleep() timing |
43 |
Can't open input config file /root/.mplayer/input.conf : No such file or directory |
44 |
Input config file /usr/share/mplayer/input.conf parsed : 52 binds |
45 |
|
46 |
Playing TV |
47 |
Cache fill: 0.00% (0 bytes) TV detected! ;-) |
48 |
Selected driver: v4l |
49 |
name: Video 4 Linux input |
50 |
author: Alex Beregszaszi <alex@××××××.org> |
51 |
comment: under development |
52 |
Selected device: Apple PlanB Video-In |
53 |
Capabilites: capture overlay clipping frameram scales |
54 |
Device type: 233 |
55 |
Supported sizes: 32x32 => 768x576 |
56 |
Inputs: 2 |
57 |
0: Composite: (tuner:0, norm:pal) |
58 |
1: SVHS: (tuner:0, norm:pal) |
59 |
Using input 'Composite' |
60 |
Selected input hasn't got a tuner! |
61 |
vo: X11 running at 640x480 with depth 8 and 8 bpp (":0.0" => local display) |
62 |
========================================================================== |
63 |
Opening video decoder: [raw] RAW Uncompressed Video |
64 |
VDec: vo config request - 32 x 32 (preferred csp: Planar YV12) |
65 |
VDec: using Planar YV12 as output csp (no 0) |
66 |
Movie-Aspect is undefined - no prescaling applied. |
67 |
VO: [x11] 32x32 => 32x32 Planar YV12 [fs] |
68 |
No accelerated colorspace conversion found |
69 |
SwScaler: using unscaled Planar YV12 -> BGR 8-bit special converter |
70 |
BGR8 not supported, please contact the developers |
71 |
FATAL: Cannot initialize video driver. |
72 |
VDecoder init failed :( |
73 |
*** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf |
74 |
*** If it still does not work, read DOCS/codecs.html! |
75 |
Cannot find codec matching selected -vo and video format 0x32315659. |
76 |
========================================================================== |
77 |
|
78 |
|
79 |
Exiting... (End of file) |
80 |
|
81 |
-- |
82 |
Andrew Gaffney |
83 |
|
84 |
|
85 |
-- |
86 |
gentoo-ppc-user@g.o mailing list |