[FFmpeg-trac] #3572(undetermined:open): failure to remux h264 from mkv with pts < dts error (was: failure to remux mkv to mkv with pts < dts error)

FFmpeg trac at avcodec.org
Thu Apr 17 15:26:05 CEST 2014


#3572: failure to remux h264 from mkv with pts < dts error
-------------------------------------+-------------------------------------
             Reporter:  bubbleguuum  |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
  av_interleaved_write_frame dts     |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => av_interleaved_write_frame dts
 * status:  new => open
 * version:  unspecified => git-master
 * reproduced:  0 => 1


Comment:

 http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket3572/
 {{{
 $ ffmpeg -i ToyStory2.2014-04-13.20-00-sample.mkv -vcodec copy -an -f null
 -
 ffmpeg version N-62495-g197fe39 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Apr 17 2014 14:39:19 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52. 76.100 / 52. 76.100
   libavcodec     55. 58.103 / 55. 58.103
   libavformat    55. 37.100 / 55. 37.100
   libavdevice    55. 13.100 / 55. 13.100
   libavfilter     4.  4.100 /  4.  4.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
 [h264 @ 0x3552a40] mmco: unref short failure
     Last message repeated 4 times
 [h264 @ 0x3552a40] number of reference frames (0+5) exceeds max (4;
 probably corrupt input), discarding one
 Input #0, matroska,webm, from 'ToyStory2.2014-04-13.20-00-sample.mkv':
   Metadata:
     title           : Toy Story 2
     encoder         : Tvheadend Matroska muxer
     DATE_BROADCASTED: 2014-04-13 20:00:00
     ORIGINAL_MEDIA_TYPE: TV
     CONTENT_TYPE    : Movie / Drama
     TVCHANNEL       : BBC Three HD
     SUMMARY         : Animated comedy. When Woody is kidnapped, Buzz
 Lightyear and the other toys set out in hot pursuit. However, when they
 find him they discover him in a new life, with new friends. [1999] [AD,S]
     SUMMARY-eng     : Animated comedy. When Woody is kidnapped, Buzz
 Lightyear and the other toys set out in hot pursuit. However, when they
 find him they discover him in a new life, with new friends. [1999] [AD,S]
   Duration: 01:42:05.14, start: 0.005000, bitrate: 6 kb/s
     Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709), 1920x1080
 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
     Stream #0:1(nar): Audio: mp2, 48000 Hz, stereo, s16p, 256 kb/s
 (default)
     Stream #0:2(eng): Subtitle: dvb_subtitle (default)
     Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
 (default)
     Stream #0:4(eng): Subtitle: subrip (default)
 Output #0, null, to 'pipe:':
   Metadata:
     title           : Toy Story 2
     SUMMARY-eng     : Animated comedy. When Woody is kidnapped, Buzz
 Lightyear and the other toys set out in hot pursuit. However, when they
 find him they discover him in a new life, with new friends. [1999] [AD,S]
     DATE_BROADCASTED: 2014-04-13 20:00:00
     ORIGINAL_MEDIA_TYPE: TV
     CONTENT_TYPE    : Movie / Drama
     TVCHANNEL       : BBC Three HD
     SUMMARY         : Animated comedy. When Woody is kidnapped, Buzz
 Lightyear and the other toys set out in hot pursuit. However, when they
 find him they discover him in a new life, with new friends. [1999] [AD,S]
     encoder         : Lavf55.37.100
     Stream #0:0(eng): Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9],
 q=2-31, 25 fps, 90k tbn, 1k tbc (default)
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [null @ 0x38f9d00] pts (13950) < dts (22950) in stream 0
 [null @ 0x38f9d00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 21150 >= 10350
 [null @ 0x38f9d00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 21150 >= 13950
 [null @ 0x38f9d00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 21150 >= 17550
 [null @ 0x38f9d00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 21150 >= 21150
 [null @ 0x38f9d00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 100350 >= 96750
 [matroska,webm @ 0x3550c20] Read error
 frame=  162 fps=0.0 q=-1.0 Lsize=N/A time=00:00:06.43 bitrate=N/A
 video:15kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 118613321539649536.000000%
 }}}

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


More information about the FFmpeg-trac mailing list