[FFmpeg-trac] #634(undetermined:open): non monotonically increasing dts

FFmpeg trac at avcodec.org
Sun Dec 4 18:52:41 CET 2011


#634: non monotonically increasing dts
-------------------------------------+-------------------------------------
             Reporter:  wim          |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
  av_interleaved_write_frame v4l2    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  new => open


Comment:

 I was able to trigger a similar error by running an encode for >26 hours.
 {{{
 $ ffmpeg -async 1 -f v4l2 -i /dev/video1 -f alsa -i hw:2 -s 64x64 out.avi
 ffmpeg version N-35411-g28a11a6, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Dec  3 2011 14:27:33 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
   libavutil    51. 29. 1 / 51. 29. 1
   libavcodec   53. 40. 0 / 53. 40. 0
   libavformat  53. 24. 0 / 53. 24. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 50. 0 /  2. 50. 0
   libswscale    2.  1. 0 /  2.  1. 0
 [video4linux2,v4l2 @ 0x139f7e0] Estimating duration from bitrate, this may
 be inaccurate
 Input #0, video4linux2,v4l2, from '/dev/video1':
   Duration: N/A, start: 1322924421.201907, bitrate: 132710 kb/s
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 768x576,
 132710 kb/s, 25 tbr, 1000k tbn, 25 tbc
 [alsa @ 0x139a040] Estimating duration from bitrate, this may be
 inaccurate
 Input #1, alsa, from 'hw:2':
   Duration: N/A, start: 1322924421.195346, bitrate: N/A
     Stream #1:0: Audio: pcm_s16le, 32000 Hz, 2 channels, s16, 1024 kb/s
 File 'out.avi' already exists. Overwrite ? [y/N] y
 w:768 h:576 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
 [scale @ 0x13a4e00] w:768 h:576 fmt:yuv420p -> w:64 h:64 fmt:yuv420p
 flags:0x4
 Incompatible sample format 's16' for codec 'ac3', auto-selecting format
 'flt'
 [ac3 @ 0x13a4220] channel_layout not specified
 [ac3 @ 0x13a4220] No channel layout specified. The encoder will guess the
 layout, but it might be incorrect.
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf53.24.0
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 64x64, q=2-31,
 200 kb/s, 25 tbn, 25 tbc
     Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 32000 Hz, stereo, flt,
 128 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
   Stream #1:0 -> #0:1 (pcm_s16le -> ac3)
 Press [q] to stop, [?] for help
 [alsa @ 0x139a040] ALSA buffer xrun.
 ALSA buffer xrun.= 25 q=2.0 size= 3314018kB time=26:37:07.29 bitrate=
 283.3kbits/s dup=0 drop=453
 Error, Invalid timestamp=2399562, last=2399562me=26:39:42.40 bitrate=
 283.3kbits/s dup=0 drop=453
 Video encoding failed
 }}}

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


More information about the FFmpeg-trac mailing list