[MPlayer-dev-eng] Problems with audio (OSS/SBLive)

Julian J. M. bandit at telecable.es
Mon Apr 15 19:58:45 CEST 2002


Hi

	I'm having problems trying to watch (or record) tv from a bt848 card.
	1. The color are wrong (blue people). This is the same thing that I
posted days ago regarding the quickcam v4l driver. It wasn't this
driver's fault after all. (maybe nvidia's fault, but divx movies are ok)

	2. The frame rate is 0.5fps, unless I disable audio. Not audio output,
but input.   -tv on:noaudio:....
	I'll post bellow the output of mplayer. You can see that it's trying to
record and playback in 8bit mode, not 16. I've looked to the source
code, and haven't found any reference to that mode. From what i guess,
it tries to open the device with AFMT_S16_LE.

	Is there any way to force 16bit record?

	Thanks,
		Julian.


============================================
# mplayer -tv on:driver=v4l:device=/dev/video0:width=384:height=288

MPlayer CVS-020412-23:22-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
Reading /home/bandit/.mplayer/codecs.conf: 30 audio & 80 video codecs
font: can't open file: /home/bandit/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Can't open input config file /home/bandit/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing TV
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi <alex at naxine.org>
 comment: under development
Selected device: BT878(AVerMedia TVCapture 98)
 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: 4
Requested width: 384
ioctl dsp getfmt: 0
Supported formats: 10
ioctl dsp setfmt: 0
ioctl dsp stereo: 0 (req: 0)
ioctl dsp speed: 0
ioctl dsp trigger: 0
trigger: 1
ioctl dsp trigger: 0
ioctl dsp getblocksize: 0
blocksize: 16384
Requested height: 288
Using input 'Television'
Selected norm: pal
Tuner isn't capable to set norm!
Selected channel list: europe-east (including 133 channels)
Detected TV! ;-)
Output format: Planar YV12
Output size: 384x288
fps: 25.000000, frametime: 0.040000
Picture values:
palette: 15, depth: 12, bytesperline: 576
 Depth: 12, Palette: 15 (Format: Planar YV12)
 Brightness: 32768, Hue: 32768, Colour: 32768, Contrast: 32768
[V] filefmt:9  fourcc:0x32315659  size:384x288  fps:25.00  ftime:=0.0400
Detected audio codec: [pcm] drv:2 (Uncompressed PCM)
AUDIO: srate=44100  chans=1  bps=6280  sfmt=0x8  ratio: -405347296->276948000
Selecting Audio Decoder: [pcm] Uncompressed PCM audio decoder
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":1" => local display)
Trying to force video codec driver family 5 ...
VDec: vo config request - 384 x 288, Planar YV12  
Opening Video Decoder: [raw] RAW Uncompressed Video
[PP] Sorry, postprocessing is not available
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 384x288 => 384x288 Planar YV12 
Detected video codec: [rawyv12] drv:8 prio:0 (RAW YV12)
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 42 for hw scaling
[xv] dcx: 330 dcy: 442 dx: 0 dy: 0 dw: 384 dh: 288
==========================================================================
[PP] Sorry, postprocessing is not available
AO: [oss] 44100Hz Mono Unsigned 8-bit
Start playing...
ao2: 44100 Hz  1 chans  Unsigned 8-bit
audio_setup: sample format: Unsigned 8-bit (requested: Unsigned 8-bit)
audio_setup: using 1 channels (requested: 1)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  32/32  (1024 bytes/frag)  free:  32768
*** [vo] Exporting mp_image_t, 384x288x12bpp YUV planar, 165888 bytes





More information about the MPlayer-dev-eng mailing list