[FFmpeg-trac] #3658(avformat:open): pts < dts av_interleaved_write_frame(): Invalid argument

FFmpeg trac at avcodec.org
Tue May 20 23:29:38 CEST 2014


#3658: pts < dts av_interleaved_write_frame(): Invalid argument
-------------------------------------+-------------------------------------
             Reporter:  bsnote       |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mpegts h264  |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => mpegts h264 regression
 * priority:  normal => important
 * status:  new => open
 * component:  undetermined => avformat
 * reproduced:  0 => 1


Comment:

 Regression since 1e5271a9 - related to ticket #2143.
 {{{
 $ ffmpeg -i tv.800000.100_cut.ts -an -vcodec copy out.mov
 ffmpeg version N-63349-gca2fd25 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on May 20 2014 23:26:41 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52. 86.100 / 52. 86.100
   libavcodec     55. 63.100 / 55. 63.100
   libavformat    55. 39.100 / 55. 39.100
   libavdevice    55. 13.101 / 55. 13.101
   libavfilter     4.  5.100 /  4.  5.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
   libpostproc    52.  3.100 / 52.  3.100
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 [h264 @ 0x1d35900] no frame!
 [h264 @ 0x1d35900] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x1d35900] decode_slice_header error
 Input #0, mpegts, from 'tv.800000.100_cut.ts':
   Duration: 00:00:27.19, start: 26081.946278, bitrate: 753 kb/s
   Program 1
     Stream #0:0[0x1011]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
 yuv420p, 360x270 [SAR 1:1 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94
 tbc
     Stream #0:1[0x44]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz,
 stereo, fltp, 101 kb/s
 Output #0, mov, to 'out.mov':
   Metadata:
     encoder         : Lavf55.39.100
     Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 360x270 [SAR
 1:1 DAR 4:3], q=2-31, 29.97 fps, 90k tbn, 90k tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [mpegts @ 0x1d31c20] DTS 2347861670 < 2347867676 out of order
 [mov @ 0x1d37000] Non-monotonous DTS in output stream 0:0; previous:
 807807, current: 807807; changing to 807808. This may result in incorrect
 timestamps in the output file.
 [mpegts @ 0x1d31c20] Invalid timestamps stream=0, pts=2348294102,
 dts=2348300108, size=11255
 [mpegts @ 0x1d31c20] Invalid timestamps stream=0, pts=2348297105,
 dts=2348300108, size=3393
 [mov @ 0x1d37000] pts (822822) < dts (828828) in stream 0
 av_interleaved_write_frame(): Invalid argument
 frame=  232 fps=0.0 q=-1.0 Lsize=     687kB time=00:00:09.24 bitrate=
 609.2kbits/s
 video:695kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Conversion failed!
 }}}

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


More information about the FFmpeg-trac mailing list