[libav-bugs] [Bug 816] New: "Non-monotonous DTS" error causing glitchy audio

bugzilla at aruru.libav.org bugzilla at aruru.libav.org
Sun Feb 8 01:25:07 CET 2015


https://bugzilla.libav.org/show_bug.cgi?id=816

            Bug ID: 816
           Summary: "Non-monotonous DTS" error causing glitchy audio
           Product: Libav
           Version: git HEAD
          Hardware: X86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: ---
         Component: libavformat
          Assignee: bugzilla at libav.org
          Reporter: z.figura12 at gmail.com

Created attachment 519
  --> https://bugzilla.libav.org/attachment.cgi?id=519&action=edit
terminal output (with -v 9 -loglevel 99)

When I try to record audio from pulse with avconv, I see the following line
(with different numbers) spammed in console:

Non-monotonous DTS in output stream 0:1; previous: 5423, current: 5371;
changing to 5424. This may result in incorrect timestamps in the output file.

And so it appears that the audio is broken: when I try to play the resulting
audio file no player can seem to manage it: with mplayer the audio cuts out
partway through (and doesn't seem to match up), and I get the line
"[matroska,webm @ 0xb725b2e0]Non-increasing DTS in stream 1: packet 32 with DTS
1483, packet 33 with DTS 1483" etc. spammed in console; with vlc the audio
plays in tenth-of-a-second bursts every second or so; with dragon the reverse
seems to happen, in addition to the audio slightly lagging; and xine appears to
act like dragon (except that it apparently can't play the video.)

The command I use is "avconv -v 9 -loglevel 99 -f alsa -i pulse -f x11grab -r
15 -s 1366x768 -i :0.0 -vcodec libx264 -pre:0 lossless_ultrafast -threads 0
test6.mkv 2>&1 | tee test6.log"

Changing the audio codec does not appear to mitigate the problem: codecs I have
tested are libvorbis, libmp3lame, ac3, ac3_fixed, and flac.

Changing the container does not appear to mitigate the problem either: I have
tested (changing the file extension to) .avi, .mts, .ts and .wmv, which act
identically, and .mpg, which also spits out a lot of underflow errors to both
buffers.

Version data:
zeb at endor:~/Videos$ avconv -version
avconv version 12_dev0-6:12~~git20150204.8c1ce77~ubuntu14.04.1, Copyright (c)
2000-2015 the Libav developers
  built on Feb  4 2015 14:27:39 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
avconv 12_dev0-6:12~~git20150204.8c1ce77~ubuntu14.04.1
libavutil     54.  8. 0 / 54.  8. 0
libavcodec    56. 12. 0 / 56. 12. 0
libavformat   56. 11. 0 / 56. 11. 0
libavdevice   55.  1. 0 / 55.  1. 0
libavfilter    5.  0. 0 /  5.  0. 0
libavresample  2.  1. 0 /  2.  1. 0
libswscale     3.  0. 0 /  3.  0. 0
zeb at endor:~/Videos$ uname -a
Linux endor 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:37:48 UTC 2015 i686
athlon i686 GNU/Linux

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20150208/d457fc1f/attachment-0001.html>


More information about the libav-bugs mailing list