[FFmpeg-trac] #4215(undetermined:new): non monotonically dts when extraction hevc to raw (-> broken output)

FFmpeg trac at avcodec.org
Wed Dec 31 01:35:27 CET 2014


#4215: non monotonically dts when extraction hevc to raw (-> broken output)
-------------------------------------+-------------------------------------
             Reporter:  Selur        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  hevc         |               Blocked By:
  extract raw                        |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 How to reproduce:
 Call
 {{{
 ffmpeg -y -i "H:\Output\hevc.mkv" -map 0:0 -vcodec copy -an -sn -f
 rawvideo "H:\Temp\test_00_48_19_0010_02.hevc"
 }}}
 (hevc.mkv can be downloaded from:
 https://drive.google.com/folderview?id=0B_WxUS1XGCPASUZibG5XZkRfeTg&usp=sharing
 produces a broken hevc file:
 {{{
 ffmpeg version git-2014-12-30-e405a8a Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Dec 30 2014 09:45:43 with gcc 4.9.2 (Rev2, Built by MSYS2
 project)
   configuration: --arch=x86_64 --disable-debug --disable-shared --disable-
 doc --disable-w32threads --enable-gpl --enable-version3 --enable-runtime-
 cpudetect --enable-avfilter --enable-bzlib --enable-zlib --enable-decklink
 --enable-librtmp --enable-gnutls --enable-avisynth --enable-frei0r
 --enable-filter=frei0r --enable-libbluray --enable-libcaca --enable-
 libopenjpeg --enable-fontconfig --enable-libfreetype --enable-libass
 --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-
 amrwbenc --enable-libschroedinger --enable-libsoxr --enable-libtwolame
 --enable-libspeex --enable-libtheora --enable-libutvideo --enable-
 libvorbis --enable-libvo-aacenc --enable-libopus --enable-libvidstab
 --enable-libvpx --enable-libwavpack --enable-libxavs --enable-libx264
 --enable-libx265 --enable-libxvid --enable-libzvbi
   libavutil      54. 15.100 / 54. 15.100
   libavcodec     56. 19.100 / 56. 19.100
   libavformat    56. 16.102 / 56. 16.102
   libavdevice    56.  3.100 / 56.  3.100
   libavfilter     5.  6.100 /  5.  6.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, matroska,webm, from 'H:\Output\hevc.mkv':
   Metadata:
     encoder         : libebml v1.3.0 + libmatroska v1.4.1
     creation_time   : 2014-12-28 22:57:01
     Encoding Gui    : Hybrid 2014.12.27.1
   Duration: 00:00:17.18, start: 0.000000, bitrate: 228 kb/s
     Stream #0:0: Video: hevc (Main), yuv420p(tv), 640x352, SAR 1:1 DAR
 20:11, 25
  fps, 25 tbr, 1k tbn, 1k tbc (default) (forced)
     Stream #0:1: Audio: mp3, 48000 Hz, stereo, s16p, 128 kb/s (default)
 Output #0, rawvideo, to 'H:\Temp\test_00_48_19_0010_02.hevc':
   Metadata:
     Encoding Gui    : Hybrid 2014.12.27.1
     encoder         : Lavf56.16.102
     Stream #0:0: Video: hevc, yuv420p, 640x352 [SAR 1:1 DAR 20:11],
 q=2-31, 25 fps, 25 tbr, 1k tbn, 1k tbc (default) (forced)
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [rawvideo @ 000000000018a5e0] Application provided invalid, non
 monotonically increasing dts to muxer in stream 0: 80 >= 40
 [rawvideo @ 000000000018a5e0] Application provided invalid, non
 monotonically increasing dts to muxer in stream 0: 80 >= 80
 frame=  429 fps=0.0 q=-1.0 Lsize=     216kB time=00:00:17.04 bitrate=
 103.8kbits/s
 video:216kB audio:0kB subtitle:0kB other streams:0kB global headers:1kB
 muxing overhead: 0.000000%
 }}}
 Raw file can be extracted using mkvextract without a problem.
 ffplay enters a skipping loop when playing the mkv file.

 Cu Selur

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4215>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list