Foros del Web » Administración de Sistemas » Unix / Linux »

problema con alsa

Estas en el tema de problema con alsa en el foro de Unix / Linux en Foros del Web. hola, al intentar reproducir algunos ficheros de video con mplayer y con alsa se entrecorta, cosa que por ejemplo no sucede con oss, queria saber ...
  #1 (permalink)  
Antiguo 09/05/2006, 08:55
 
Fecha de Ingreso: noviembre-2005
Mensajes: 142
Antigüedad: 18 años, 5 meses
Puntos: 0
problema con alsa

hola, al intentar reproducir algunos ficheros de video con mplayer y con alsa se entrecorta, cosa que por ejemplo no sucede con oss, queria saber como puedo solucionarlo, aquí pongo la salida de un video:

$ mplayer el.principe.de.bel.air.-.especial.tomas.falsas.avi
MPlayer 2:0.99+1.0pre7try2+cvs20060117-0ubuntu6 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium M Dothan (Family: 6, Stepping: 8)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.


91 audio & 204 video codecs
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.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing el.principe.de.bel.air.-.especial.tomas.falsas.avi.
AVI file format detected.
VIDEO: [XVID] 640x464 24bpp 24.996 fps 1039.1 kbps (126.8 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================== ========================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
alsa-init: 1 soundcard found, using: default
alsa: 44100 Hz/2 channels/4 bpf/60208 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 640 x 464 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.38:1 - prescaling to correct movie aspect.
VO: [xv] 640x464 => 640x464 Planar YV12
alsa-space: xrun of at least 10.296 msecs. resetting stream,?% 0 0
alsa-space: xrun of at least 0.077 msecs. resetting stream?,?% 4 0
alsa-space: xrun of at least 0.078 msecs. resetting stream0.6% 6 0
alsa-space: xrun of at least 0.067 msecs. resetting stream0.6% 7 0
alsa-space: xrun of at least 0.080 msecs. resetting stream0.6% 8 0
alsa-space: xrun of at least 0.071 msecs. resetting stream0.5% 9 0
alsa-space: xrun of at least 0.070 msecs. resetting stream0.5% 10 0
alsa-space: xrun of at least 0.069 msecs. resetting stream0.5% 11 0
alsa-space: xrun of at least 0.078 msecs. resetting stream0.5% 12 0
alsa-space: xrun of at least 0.060 msecs. resetting stream0.6% 13 0
alsa-space: xrun of at least 0.071 msecs. resetting stream0.6% 14 0
alsa-space: xrun of at least 0.070 msecs. resetting stream0.6% 15 0
alsa-space: xrun of at least 0.069 msecs. resetting stream0.6% 16 0
alsa-space: xrun of at least 0.078 msecs. resetting stream0.6% 17 0
alsa-space: xrun of at least 0.073 msecs. resetting stream0.6% 18 0
alsa-space: xrun of at least 0.070 msecs. resetting stream0.5% 19 0
alsa-space: xrun of at least 0.071 msecs. resetting stream0.5% 20 0
alsa-space: xrun of at least 0.069 msecs. resetting stream0.6% 21 0
alsa-space: xrun of at least 0.079 msecs. resetting stream0.6% 22 0
alsa-space: xrun of at least 0.067 msecs. resetting stream0.5% 23 0
alsa-space: xrun of at least 0.067 msecs. resetting stream0.5% 24 0
alsa-space: xrun of at least 0.049 msecs. resetting stream0.5% 25 0


haber si alguien me puede echar una mano, gracias.
  #2 (permalink)  
Antiguo 09/05/2006, 09:32
Avatar de ociomax
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Temuco, Chile
Mensajes: 5.595
Antigüedad: 22 años
Puntos: 35
¿Qué distribución? ¿Qué ambiente gráfico? Si estás en KDE, ¿probaste desactivando el sistema de sonido aRts (en el Centro de Control)? Si estás en Gnome, ¿probaste desactivando eSound? ¿Probaste con los otros "drivers" de sonido de mplayer ("mplayer -ao help")?
__________________
Christian González, "OCIOMax"
http://chgonzalez.blogspot.com
http://twitter.com/chgonzalez
  #3 (permalink)  
Antiguo 09/05/2006, 10:22
 
Fecha de Ingreso: noviembre-2005
Mensajes: 142
Antigüedad: 18 años, 5 meses
Puntos: 0
uso ubuntu dapper con gnome 2.14.1 y como dige antes probe con oss y si que funciona, pero quiero usar alsa.
  #4 (permalink)  
Antiguo 09/05/2006, 18:10
Avatar de ociomax
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Temuco, Chile
Mensajes: 5.595
Antigüedad: 22 años
Puntos: 35
Verifica si tienes corriendo alguna instancia de esound ("ps ax | grep esound"). SI es así, lo mejor es que uses mplayer con la salida de audio por esound, ya que éste se comunica con ALSA.
__________________
Christian González, "OCIOMax"
http://chgonzalez.blogspot.com
http://twitter.com/chgonzalez
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 10:39.