[MPlayer-users] tv and v4l

Martin Collins martin at mkcollins.org
Tue Nov 26 13:45:02 CET 2002


On Tue, 26 Nov 2002 03:30:20 -0600
Jason Pepas <j.pepas at mail.utexas.edu> wrote:

> DOCS/bugreports.html] I just got my matrox rainbow runner setup and
> working again,  and now mplayer is super-slow for watching tv.
> 
> I seem to remember doing all this about 6 months ago, and mplayer
> was just fine for watching tv.  Now, its as if its using software to
> blit the video data to the screen and cant do it fast enough (its
> displaying at about 15 frames per second, and you can "see" blocks
> of the video being updated).

I have a similar thing with my Marvel G400 except I have green noise
not blocks. xawtv works fine though.
My command and its output (note the failed ioctl):

martin at thoth:~$ mplayer -tv on:driver=v4l:input=2:norm=PAL:chanlist=europe-west:channel=30:forcechan=2:amode=1:outfmt=yv12:width=720:height=576 -fps 25
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90pre10-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading /home/martin/.mplayer/codecs.conf: 44 audio & 110 video codecs
Font /home/martin/.mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: Device or resource busy (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
Can't open input config file /home/martin/.mplayer/input.conf : No such file or directory
Can't open input config file /etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing TV channel 30
Detected TV! ;-)
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi <alex at naxine.org>
 comment: under development
Selected device: mgacap-0
 Capabilites: capture tuner overlay chromakey scales mjpeg-decoder mjpeg-encoder 
 Device type: 12443
 Supported sizes: 8x8 => 1600x1200
 Inputs: 3
  0: Composite:  (tuner:0, norm:pal)
  1: S-Video:  (tuner:0, norm:pal)
  2: Television: tuner tv  (tuner:1, norm:pal)
Audio mode setup warning!
Requested mode was stereo, but v4l still reports mono.
You may need "forcechan" option to force stereo/mono audio recording.
Using input 'Television'
ioctl set tuner failed: Invalid argument
Selected channel: 30 (freq: 543.250)
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0" => local display)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xmga] 720x576 => 720x576 Planar YV12 
[mga] Using 3 buffers.
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Audio: no sound!!!
FPS forced to be 25.000  (ftime: 0.040)
Start playing...
V:-9223372013568.0   59   0%  7%  0.0% 0 0 0%

Martin




More information about the MPlayer-users mailing list