Newsgroup: it.comp.os.linux.sys
Titolo: problema audio o hardware ?

Uso questo comando con mencoder per catturare dalla televisione ma ho
problemi con l'audio : dal programma
mplayer non esce alcun suono
#Cattura dalla Televisione :
mencoder -tv device=/dev/video0:on:driver=v4l:width=320:height=240:forceaudio:adevice=/dev/dsp:input=1
-ovc lavc -lavcopts vcodec=mjpeg -oac pcm -o tvcapture@`date
+%Y`-`date +%m%d`-`date +%H%M`.avi
La stessa cosa mi succede se catturo video da xawtv :(
Se provo ad eseguire un normale mp3 allora mplayer mi permette di
acoltarlo senza problemi...chi mi sta prendendo in giro ???
Ho fatto la prova aprendo questi video da winzozz ma, anche se il file
risulta avere dell'audio, non si sente nulla lo stesso !
Se avete bisogno di altre informazioni non avete che da chiedere
P.S. : OUTPUT di mplayer :
[claudio@terra ~]$ mplayer movie.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale
MPlayer 0.90rc2-RPM-3.1 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Intel Pentium II Klamath/Pentium II OverDrive (Family: 6,
Stepping: 4)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To
get best performance, recompile MPlayer with
--disable-runtime-cpudetection
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/claudio/.mplayer/config
Reading /home/claudio/.mplayer/codecs.conf: can't open
'/home/claudio/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 49 audio & 125 video codecs
font: can't open file: /home/claudio/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206
chars)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your
system startup scripts.
Using usleep() timing
Can't open input config file /home/claudio/.mplayer/input.conf : No
such file or directory
Input config file /etc/mplayer/input.conf parsed : 50 binds
Playing movie.avi
Detected AVI file format!
VIDEO:  []  384x288  16bpp  12,00 fps  21233,7 kbps (2592,0 kbyte/s)
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, 8 bit (0x8), ratio: 44100->44100 (352,8 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local
display)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 384 x 288 (preferred csp: BGR 15-bit)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 384 x 288 (preferred csp: BGR 15-bit)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 384 x 288 (preferred csp: BGR 15-bit)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 384 x 288 (preferred csp: BGR 15-bit)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 384 x 288 (preferred csp: BGR 15-bit)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 384 x 288 (preferred csp: BGR 15-bit)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 384 x 288 (preferred csp: BGR 15-bit)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
VDec: using BGR 15-bit as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: BICUBIC scaler, from BGR 15-bit to Planar YV12 using MMX
VO: [xv] 384x288 => 384x288 Planar YV12
Selected video codec: [rawbgr15] vfm:raw (RAW BGR15)

 La stessa cosa mi succede se catturo video da xawtv :(
credo che il problema venga fuori dal fatto che la scheda di cattura video
ha un chip tutto suo per l'audio: tradotto :-) vuol dire che mplayer non
riesce a prendere il suono da quel chip perchè ci deve essere un modulo
kernel che lo gestisce OPPURE puoi usare usare un cavetto jack-jack per
collegare l'uscita audio della scheda cattura video al line-in della scheda
audio (cosa che ho fatto io).
ciao
LEO