Re: V4L2 backwards compatability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 17 Feb 2003, Gerd Knorr wrote:

> > Hmm okay thanks. I was mainly trying to figure out why programs like mplayer 
> > and mencoder don't work with saa7134 and the v4l1 compat stuff. I get a green 
> > flashing screen unfortunately. Anyone got any ideas?
> 
> updating to saa7134-0.2.5 ?
> 

Nope, it gives me a solid green screen now. :(

For a specific window size, 
i.e., 'mplayer -tv on:driver=v4l:device=/dev/video0:\
input=0:channel=E5:norm=pal:chanlist=europe-west:width=720:height=576'

Mplayer 0.90rc4 keeps spitting out errors like:
ioctl set tuner failed: Invalid argument
ioctl mcapture failed: Invalid argument
...

When specified without the window size argument, mplayer displays a
48x32 window with a tiny part of the video field:
----------------- mplayer output ------------------------------
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


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

CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading config file /etc/mplayer/mplayer.confReading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Reading /etc/mplayer/codecs.conf: 50 audio & 135 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such device
Setting up LIRC support...

Playing TV channel E5
TV detected! ;-)
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi <alex@xxxxxxxxxx>
 comment: under development
Selected device: LifeView FlyVIDEO2000
 Capabilites: capture tuner teletext overlay clipping 
 Device type: 47
 Supported sizes: 48x32 => 720x576
 Inputs: 4
  0: Television: tuner tv  (tuner:1, norm:pal)
  1: Composite1:  (tuner:0, norm:pal)
  2: Composite2:  (tuner:0, norm:pal)
  3: S-Video:  (tuner:0, norm:pal)
Using input 'Television'
Selected channel: E5 (freq: 175.250)
vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 48 x 32 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 48x32 => 48x32 Planar YV12 
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
V:   0.0    1   0%  0%  0.0% 0 0 0%
V:   0.0    2   0%  0%  0.0% 0 0 0%
V:   0.1    3   0%  0%  0.0% 0 0 0%
V:   0.1    4   0%  0%  0.0% 0 0 0%
V:   0.2    5   0%  0%  0.0% 0 0 0%
V:   0.2    6   0%  0%  0.0% 0 0 0%
V:   0.2    7   0%  0%  0.0% 0 0 0%
V:   0.3    8   0%  0%  0.0% 0 0 0%
V:   0.3    9   0%  0%  0.0% 0 0 0%
V:   0.4   10   0%  0%  0.0% 0 0 0%
V:   0.4   11   0%  0%  0.0% 0 0 0%
V:   0.4   12   0%  0%  0.0% 0 0 0%
V:   0.5   13   0%  0%  0.0% 0 0 0%
V:   0.5   14   0%  0%  0.0% 0 0 0%
V:   0.6   15   0%  1%  0.0% 0 0 0%
V:   0.6   16   0%  1%  0.0% 0 0 0%
V:   0.6   17   0%  1%  0.0% 0 0 0%
V:   0.7   18   0%  1%  0.0% 0 0 0%
V:   0.7   19   0%  1%  0.0% 0 0 0%
V:   0.8   20   0%  1%  0.0% 0 0 0%
V:   0.8   21   0%  1%  0.0% 0 0 0%
V:   0.8   22   0%  1%  0.0% 0 0 0%
V:   0.9   23   0%  1%  0.0% 0 0 0%
V:   0.9   24   0%  1%  0.0% 0 0 0%
V:   1.0   25   0%  1%  0.0% 0 0 0%
V:   1.0   26   0%  1%  0.0% 0 0 0%
V:   1.0   27   0%  1%  0.0% 0 0 0%
V:   1.1   28   0!
%  1%  0.0% 0 0 0%
Successfully enabled DPMS

Exiting... (Quit)


T.C.
----
Wan Tat Chee (Lecturer)
School of Computer Science, Univ. Science Malaysia,
11800 Minden, Penang, Malaysia.          Ofc Ph: +604 653-3888 x 3617
Internet: tcwan@xxxxxxxxx            Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg.asc
F'print : FB0F CED7 85A5 ECF9 DEF0  50E8 A550 A0D2 8638 B1EB





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux