[FFmpeg-trac] #4223(undetermined:open): FFmpeg [alsa @ 0x85bd960] ALSA buffer xrun SOLUCIONADO SOLVED

FFmpeg trac at avcodec.org
Sun Feb 8 06:16:16 CET 2015


#4223: FFmpeg [alsa @ 0x85bd960] ALSA buffer xrun SOLUCIONADO SOLVED
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  joseguillermo753                   |                   Status:  open
                 Type:  defect       |                Component:
             Priority:  important    |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by joseguillermo753):

 * status:  reopened => open


Comment:

 Replying to [ticket:4223 joseguillermo753]:
 > Perdonen si no les escribo en inglés a ustedes esque no sé inglés muy
 bien y no quiero complicarme a ustedes.
 >
 > No sé si esté permitido pero les voy a decir que el MEJOR PROGRAMA de
 MULTIMEDIA en LINUX es FFMPEG  y AVCONV qué excelentes programas han hecho
 y los felicito muy MUY BUENOS PROGRAMAS para convertir,para
 grabar,cortar,pegar,editar,imágenes. Bueno lo tiene todo muy completo
 MUCHAS GRACIAS POR ESE PROGRAMA.
 >
 > Bueno ahora sí la orden para grabar en mi caso es la siguiente:
 >
 >
 > == ffmpeg -f x11grab -s 1024x600  -i :0.0 -f alsa -i hw:0 -qscale 0
 -frame_size 50 -y Escritorio/memo.wmv ==
 >
 > SEA CUAL SEA EL FORMATO DE SALIDA me sale el error en .AVI sale en .WMV
 .MKV .MP4 no sé de hecho sale en todos los formatos que yo he probado para
 que graben.
 >
 > Y el error que me arroja a cada momento es :
 >
 >
 > == [alsa @ 0x85bd960] ALSA buffer xrun ==
 >
 >
 > Y cuando me sale eso en la consola es obvio que el AUDIO de mi MICRÓFONO
 no graba y se escuchan PITIDOS o se escucha mal y CORTADO.
 >
 > Entonces cómo hago para solucionar ese error ¿QUÉ TENGO QUE
 COMPILAR?,¿QUÉ DEBO CAMBIAR?.
 >
 > Gracias y esto es lo que me arroja la terminal COMPLETO:
 >
 >
 > anaperez at anaperez-Compaq-Mini-CQ10-600:~$
 > == ffmpeg -f x11grab -s 1024x600  -i :0.0 -f alsa -i hw:0 -ac 1 -qscale
 0 -frame_size 50  -y Escritorio/memo.wmv ==
 >
 > ffmpeg version 1.2.6-7:1.2.6-1~trusty1 Copyright (c) 2000-2014 the
 FFmpeg developers
 >   built on Apr 26 2014 18:47:56 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
 >
 >   libavutil      52. 18.100 / 52. 18.100
 >   libavcodec     54. 92.100 / 54. 92.100
 >   libavformat    54. 63.104 / 54. 63.104
 >   libavdevice    53.  5.103 / 53.  5.103
 >   libavfilter     3. 42.103 /  3. 42.103
 >   libswscale      2.  2.100 /  2.  2.100
 >   libswresample   0. 17.102 /  0. 17.102
 >   libpostproc    52.  2.100 / 52.  2.100
 >
 >
 > [x11grab @ 0x8db9e80] device: :0.0 -> display: :0.0 x: 0 y: 0 width:
 1024 height: 600
 > [x11grab @ 0x8db9e80] shared memory extension found
 > [x11grab @ 0x8db9e80] Estimating duration from bitrate, this may be
 inaccurate
 > Input #0, x11grab, from ':0.0':
 >   Duration: N/A, start: 1420396665.176938, bitrate: 589234 kb/s
 >     Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1024x600,
 589234 kb/s, 29.97 tbr, 1000k tbn, 29.97 tbc
 > [alsa @ 0x8de3980] Estimating duration from bitrate, this may be
 inaccurate
 > Guessed Channel Layout for  Input Stream #1.0 : stereo
 > Input #1, alsa, from 'hw:0':
 >   Duration: N/A, start: 1420396665.242909, bitrate: 1536 kb/s
 >     Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
 > Please use -q:a or -q:v, -qscale is ambiguous
 > Output #0, asf, to 'Escritorio/memo.wmv':
 >   Metadata:
 >     WM/EncodingSettings: Lavf54.63.104
 >     Stream #0:0: Video: msmpeg4v3 (MP43 / 0x3334504D), yuv420p,
 1024x600, q=2-31, 200 kb/s, 1k tbn, 29.97 tbc
 >     Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, mono,
 fltp, 128 kb/s
 > Stream mapping:
 >   Stream #0:0 -> #0:0 (rawvideo -> msmpeg4)
 >   Stream #1:0 -> #0:1 (pcm_s16le -> wmav2)
 > Press [q] to stop, [?] for help
 > [msmpeg4 @ 0x8deeae0] warning, clipping 1 dct coefficients to -127..127
 >     Last message repeated 97 times
 > frame=    8 fps=0.0 q=0.0 size=     651kB time=00:00:00.26
 bitrate=19964.1kbits/s warning, clipping 1 dct coefficients to -127..127
 > [msmpeg4 @ 0x8deeae0] warning, clipping 1 dct coefficients to -127..127
 >     Last message repeated 18 times
 >
 > == [alsa @ 0x8de3980] ALSA buffer xrun. ==
 >
 > frame=   18 fps= 17 q=0.0 size=    1098kB time=00:00:00.60
 bitrate=14960.4kbits/s warning, clipping 1 dct coefficients to -127..127
 > [msmpeg4 @ 0x8deeae0] warning, clipping 1 dct coefficients to -127..127
 >     Last message repeated 73 times
 > frame=   31 fps= 19 q=0.0 size=    1748kB time=00:00:01.05
 bitrate=13569.7kbits/s ALSA buffer xrun.
 > [msmpeg4 @ 0x8deeae0] warning, clipping 1 dct coefficients to -127..127
 >     Last message repeated 65 times
 > frame=   43 fps= 20 q=0.0 size=    2423kB time=00:00:01.72
 bitrate=11484.7kbits/s warning, clipping 1 dct coefficients to -127..127
 > [msmpeg4 @ 0x8deeae0] warning, clipping 1 dct coefficients to -127..127
 >     Last message repeated 18 times
 >
 > == [alsa @ 0x8de3980] ALSA buffer xrun. ==
 >
 > [msmpeg4 @ 0x8deeae0] warning, clipping 1 dct coefficients to -127..127
 >     Last message repeated 32 times
 > frame=   55 fps= 21 q=0.0 size=    2688kB time=00:00:01.83
 bitrate=12000.9kbits/s warning, clipping 1 dct coefficients to -127..127
 > [msmpeg4 @ 0x8deeae0] warning, clipping 1 dct coefficients to -127..127
 >     Last message repeated 11 times
 > warning, clipping 1 dct coefficients to -127..127
 > [msmpeg4 @ 0x8deeae0] warning, clipping 1 dct coefficients to -127..127
 >     Last message repeated 11 times
 > frame=   57 fps= 21 q=0.0 Lsize=    3070kB time=00:00:02.54
 bitrate=9899.8kbits/s dup=23 drop=0
 > END
 > == Estoy usando LUBUNTU 14.04 ==
 > Y de casualidad tengo instalado el LUBUNTU 12.10 y me funciona TODO
 PERFECTO no me sale ese error DE [alsa @ 0x85bd960] ALSA buffer xrun
 >
 > Espero que me puedan ayudar y gracias MUCHÍSIMAS GRACIAS POR ESE
 PROGRAMAZO QUE HICIERON FFMPEG Y AVCONV y lamento la situación que esos
 dos proyectos están pasando.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4223#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list