[MPlayer-users] TVInput and audio
Julian J. M.
bandit at telecable.es
Sun Apr 28 14:50:01 CEST 2002
hi
I'm trying to record a VHS movie using an Avermedia TVCapture 98
(bt878). I'm using this commandline to see if it works:
mplayer -tv
on:driver=v4l:device=/dev/video0:width=384:height=288:outfmt=yuy2
But, unless I add :noaudio to the parameters, I just get 1 fps. I guess
it's because it's trying to record 44.1Khz, 8bit, mono. Is there any way
to tell mplayer open the audio device in 44.1Khz, 16bit, (stereo?).
Using -ao null doesn't fix the problem.
BTW, i've RTFM, and haven't found anything related to tv input and
audio.
Here is the output:
MPlayer CVS-020424-16:26-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/bandit/.mplayer/codecs.conf: 34 audio & 86 video codecs
font: can't open file: /home/bandit/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
Input config file /home/bandit/.mplayer/input.conf parsed : 50 binds
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
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 width: 384
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: Packed YUY2
fps: 25.000000, frametime: 0.040000
Output size: 384x288
palette: 8, depth: 16, bytesperline: 768
Picture values:
Depth: 16, Palette: 8 (Format: Packed YUY2)
Brightness: 32768, Hue: 32768, Colour: 32768, Contrast: 32768
[V] filefmt:9 fourcc:0x32595559 size:384x288 fps:25.00 ftime:=0.0400
Detected audio codec: [pcm] drv:2 (Uncompressed PCM)
Selecting Audio Decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: srate=44100 chans=1 bps=6280 sfmt=0x8 ratio:
-405347296->276948000
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":1" =>
local display)
==========================================================================
Opening Video Decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 384 x 288, Packed YUY2
[PP] Sorry, postprocessing is not available
Couldn't find matching colorspace - retrying with -vop scale...
SwScale: -1 x -1
Movie-Aspect is undefined - no prescaling applied.
SwScale scaling 384x288 Packed YUY2 to 384x288 Planar YV12
SwScaler: BICUBIC scaler, from Packed YUY2 to Planar YV12 using MMX2
REQ: flags=0xC37 req=0x0
REQ: flags=0x437 req=0x0
VO: [xv] 384x288 => 384x288 Planar 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: 630 dcy: 442 dx: 0 dy: 0 dw: 384 dh: 288
Detected video codec: [rawyuy2] drv:8 prio:0 (RAW YUY2)
==========================================================================
AO: [oss] 44100Hz Mono Unsigned 8-bit
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
Start playing...
*** [scale] Exporting mp_image_t, 384x288x16bpp YUV packed, 221184 bytes
*** [pp] Allocating mp_image_t, 384x288x12bpp YUV planar, 165888 bytes
*** [vo] Allocating mp_image_t, 384x288x12bpp YUV planar, 165888 bytes
[xv] dcx: 630 dcy: 442 dx: 0 dy: 0 dw: 384 dh: 288
A: -0.0 V: 0.0 A-V: -0.000 ct: -0.000 5/ 5 0% 0% 0.0% 0 0 0%
*** free_stream() called ***
Exiting... (Quit)
Greetings
Julian
More information about the MPlayer-users
mailing list