[MPlayer-users] vide4linux audio and colors

domi dombal at freemail.hu
Tue Nov 20 14:14:27 CET 2001


Hi!

I could hardly beleive my eyes, when i noticed, that mplayer is - well,
sort of - already capable of using a video4linux device to show tv stuff,
and with mencoder, recording from tv is/should be possible too. I can see
the future, mplayer making coffee, washing clothes for me and who knows
what else :)

I tried it, and managed to view tv, but there was no audio! And somehow
colors were not right, people had blueish skin, and everything else was
different in color then normally. Is that just because of this part of the
code is in a very early development state, or am i doing something wrong?
When recording, of course the same thing happened, recorded video got
strange colors, and no audio.

I put here some outputs, maybe it helps:

mplayer -tv
on:driver=v4l:width=768:height=564:device=/dev/video0:input=0:channel=SE8
-vo xv

Selected driver: v4l
 name: Video for Linux TV Input
 author: Alex Beregszaszi <alex at naxine.org>
 comment: under development
Selected device: BT878(Pinnacle PCTV Studio/Ra)
 Capabilites: capture tuner overlay clipping frameram scales
 Device type: 235
 Supported sizes: 48x32 => 924x576
 Inputs: 3
  0: Television: tuner audio tv camera  (tuner:1, norm:0)
  1: Composite1: audio camera  (tuner:0, norm:0)
  2: S-Video: audio camera  (tuner:0, norm:0)
 Audio devices: 1
Requested width: 768
Requested height: 576
Using input 'Television'
Tuner (Television) range: 0 -> 4294967295
Selected norm: pal
Selected channel list: europe-east (including 133 channels)
Selected channel: SE8 (freq: 154.250)
Current frequency: 2468 (154.250)
Picture values:
 Depth: 12, Palette: 15 (Format: Planar YV12)
 Brightness: 32768, Hue: 32768, Colour: 32768, Contrast: 32768
Detected TV! ;-)
Output format: Planar YV12
Output size: 768x576
[V] filefmt:9  fourcc:0x0  size:768x576  fps:25.00  ftime:=0.0400
Detected video codec: [rawyv12] drv:8 (RAW YV12)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 768x576 => 768x576 Planar YV12 fs zoom
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":0" => local
display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 53 for hw scaling
[xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768
[xv-fs] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768
Audio: no sound!!!
Start playing...
ioctl sync failed: Invalid argument
[xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768
[xv-fs] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768

Hardware: athlon800, geforce256 sdr, pinnacle studio pctv pro tv tuner
card.

Tv colors and audio are OK under other apps like xawtv, zapping, kwintv,
ttv :)

bye,
	domi




More information about the MPlayer-users mailing list