[FFmpeg-trac] #615(undetermined:reopened): ALSA buffer xrun

FFmpeg trac at avcodec.org
Mon May 20 18:51:12 CEST 2013


#615: ALSA buffer xrun
-------------------------------------+-------------------------------------
             Reporter:  burek        |                    Owner:  michael
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by unknow):

 Replying to [comment:22 cehoyos]:
 > Are external libraries (libx264 and libfaac) necessary to reproduce the
 problem or is it also reproducible with {{{-strict -2 -acodec aac -vcodec
 mpeg4}}} ?
 >
 > Please provide the command line that triggers the warnings together with
 the complete, uncut console output.
 seem less frequent

 {{{
 $ ffmpeg  -f x11grab -r 25 -s 1152x864 -i 0:0+1,20 -f alsa -i default
 -strict -2 -acodec aac -vcodec mpeg4 -y rec.mkv
 ffmpeg version git-2013-05-19-a3264b4 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on May 19 2013 18:10:31 with gcc 4.7 (Debian 4.7.2-5)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 shared --enable-gnutls --enable-fontconfig --enable-libmp3lame --enable-
 libfreetype --enable-libfaac --enable-libopenjpeg --enable-libopus
 --enable-librtmp --enable-libtheora --enable-libvo-aacenc --enable-
 libvorbis --enable-libvpx --enable-libx264 --enable-openssl --enable-
 x11grab --enable-avresample
   libavutil      52. 33.100 / 52. 33.100
   libavcodec     55. 10.101 / 55. 10.101
   libavformat    55.  7.100 / 55.  7.100
   libavdevice    55.  0.100 / 55.  0.100
   libavfilter     3. 68.101 /  3. 68.101
   libavresample   1.  1.  0 /  1.  1.  0
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
 [x11grab @ 0xe82620] device: 0:0+1,20 -> display: 0:0 x: 1 y: 20 width:
 1152 height: 864
 [x11grab @ 0xe82620] shared memory extension found
 Input #0, x11grab, from '0:0+1,20':
   Duration: N/A, start: 1369068172.539050, bitrate: 796262 kb/s
     Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1152x864,
 796262 kb/s, 25 tbr, 1000k tbn, 25 tbc
 Guessed Channel Layout for  Input Stream #1.0 : stereo
 Input #1, alsa, from 'default':
   Duration: N/A, start: 1369068172.398661, bitrate: 1536 kb/s
     Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
 Output #0, matroska, to 'rec.mkv':
   Metadata:
     encoder         : Lavf55.7.100
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1152x864,
 q=2-31, 200 kb/s, 1k tbn, 25 tbc
     Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo,
 fltp, 128 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
   Stream #1:0 -> #0:1 (pcm_s16le -> aac)
 Press [q] to stop, [?] for help
 ALSA buffer xrun.23 q=31.0 size=   11098kB time=00:00:42.83
 bitrate=2122.7kbits/s
 Queue input is backward in time=   18295kB time=00:01:17.78
 bitrate=1926.7kbits/s
 Queue input is backward in time=   24558kB time=00:01:52.64
 bitrate=1786.0kbits/s
 [aac @ 0xebe900] Queue input is backward in time
     Last message repeated 2 times
 [matroska @ 0xeb1360] Non-monotonous DTS in output stream 0:1; previous:
 113171, current: 113163; changing to 113171. This may result in incorrect
 timestamps in the output file.
 [matroska @ 0xeb1360] Non-monotonous DTS in output stream 0:1; previous:
 113171, current: 113159; changing to 113171. This may result in incorrect
 timestamps in the output file.
 [matroska @ 0xeb1360] Non-monotonous DTS in output stream 0:1; previous:
 113171, current: 113158; changing to 113171. This may result in incorrect
 timestamps in the output file.
 [matroska @ 0xeb1360] Non-monotonous DTS in output stream 0:1; previous:
 113171, current: 113164; changing to 113171. This may result in incorrect
 timestamps in the output file.
 frame= 3356 fps= 24 q=24.8 Lsize=   30006kB time=00:02:20.03
 bitrate=1755.4kbits/s
 video:27740kB audio:2189kB subtitle:0 global headers:0kB muxing overhead
 0.259974%
 Received signal 2: terminating.
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/615#comment:24>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list