[FFmpeg-trac] #796(undetermined:open): H.264 in MKV to MP4: non monotonically increasing dts

FFmpeg trac at avcodec.org
Mon Dec 19 23:25:36 CET 2011


#796: H.264 in MKV to MP4: non monotonically increasing dts
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  Snowknight26                       |                   Status:  open
                 Type:  defect       |                Component:
             Priority:  normal       |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  h264         |               Blocked By:
  av_interleaved_write_frame         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => h264 av_interleaved_write_frame
 * status:  new => open
 * reproduced:  0 => 1


Comment:

 {{{
 $ ffmpeg -i temp_cut.mkv -vcodec copy out.mp4
 ffmpeg version N-35966-g1d0ae92, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Dec 19 2011 23:23:13 with gcc 4.5.3
   configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
   libavutil    51. 32. 0 / 51. 32. 0
   libavcodec   53. 46. 1 / 53. 46. 1
   libavformat  53. 27. 0 / 53. 27. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 53. 0 /  2. 53. 0
   libswscale    2.  1. 0 /  2.  1. 0

 Seems stream 0 codec frame rate differs from container frame rate: 120.00
 (120/1) -> 59.94 (60000/1001)
 Input #0, matroska,webm, from 'temp_cut.mkv':
   Duration: 00:00:04.15, start: 0.000000, bitrate: 4934 kb/s
     Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR
 16:9], 59.94 tbr, 1k tbn, 120 tbc (default)
 Output #0, mp4, to 'out.mp4':
   Metadata:
     encoder         : Lavf53.27.0
     Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 1280x720
 [SAR 1:1 DAR 16:9], q=2-31, 1k tbn, 1k tbc (default)
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [mp4 @ 0x8dc31a0] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 8 >= 0
 av_interleaved_write_frame(): Invalid argument
 }}}

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


More information about the FFmpeg-trac mailing list