[FFmpeg-trac] #6065(undetermined:reopened): 47724 images instead of 2000

FFmpeg trac at avcodec.org
Fri Feb 24 14:29:23 EET 2017


#6065: 47724 images instead of 2000
-------------------------------------+-------------------------------------
             Reporter:  doublemax    |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mpegts       |               Resolution:
  regression                         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  mpegts => mpegts regression
 * priority:  normal => important
 * status:  closed => reopened
 * resolution:  needs_more_info =>
 * version:  unspecified => git-master


Comment:

 Regression since 1e5271a9, related to ticket #2143.
 Both this file and the file from ticket #2143 used to work fine before
 0ff4f0c0 mentioned in ticket #2143.
 {{{
 $ ffmpeg -i too-many-jpegs_cut.ts -qscale 2 out.mov
 ffmpeg version N-83637-g178cd50 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 47.100 / 55. 47.100
   libavcodec     57. 81.100 / 57. 81.100
   libavformat    57. 66.102 / 57. 66.102
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 74.100 /  6. 74.100
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 [h264 @ 0x3d36ee0] SPS unavailable in decode_picture_timing
 [h264 @ 0x3d36ee0] non-existing PPS 0 referenced
 [h264 @ 0x3d36ee0] SPS unavailable in decode_picture_timing
 [h264 @ 0x3d36ee0] non-existing PPS 0 referenced
 [h264 @ 0x3d36ee0] decode_slice_header error
 [h264 @ 0x3d36ee0] no frame!
 [h264 @ 0x3d36ee0] SPS unavailable in decode_picture_timing
 [h264 @ 0x3d36ee0] non-existing PPS 0 referenced
 [h264 @ 0x3d36ee0] SPS unavailable in decode_picture_timing
 [h264 @ 0x3d36ee0] non-existing PPS 0 referenced
 [h264 @ 0x3d36ee0] decode_slice_header error
 [h264 @ 0x3d36ee0] no frame!

 ...

 [h264 @ 0x3d36ee0] SPS unavailable in decode_picture_timing
 [h264 @ 0x3d36ee0] non-existing PPS 0 referenced
 [h264 @ 0x3d36ee0] SPS unavailable in decode_picture_timing
 [h264 @ 0x3d36ee0] non-existing PPS 0 referenced
 [h264 @ 0x3d36ee0] decode_slice_header error
 [h264 @ 0x3d36ee0] no frame!
 [h264 @ 0x3d36ee0] SPS unavailable in decode_picture_timing
 [h264 @ 0x3d36ee0] non-existing PPS 0 referenced
 [h264 @ 0x3d36ee0] SPS unavailable in decode_picture_timing
 [h264 @ 0x3d36ee0] non-existing PPS 0 referenced
 [h264 @ 0x3d36ee0] decode_slice_header error
 [h264 @ 0x3d36ee0] no frame!
 [mpegts @ 0x3d323c0] PES packet size mismatch
 Input #0, mpegts, from 'too-many-jpegs_cut.ts':
   Duration: 13:18:34.25, start: 13306.520000, bitrate: 3 kb/s
   Program 1
     Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
 yuv420p(tv, progressive), 854x480 [SAR 1:1 DAR 427:240], 30 fps, 30 tbr,
 90k tbn, 60 tbc
     Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100
 Hz, mono, fltp, 63 kb/s
 Please use -q:a or -q:v, -qscale is ambiguous
 Output #0, mov, to 'out.mov':
   Metadata:
     encoder         : Lavf57.66.102
     Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 854x480 [SAR
 1:1 DAR 427:240], q=2-31, 200 kb/s, 30 fps, 15360 tbn, 30 tbc
     Metadata:
       encoder         : Lavc57.81.100 mpeg4
     Side data:
       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
     Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono,
 fltp, 69 kb/s
     Metadata:
       encoder         : Lavc57.81.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
 Press [q] to stop, [?] for help
 [h264 @ 0x3d70180] co located POCs unavailable
 More than 1000 frames duplicated
 [mpegts @ 0x3d323c0] PES packet size mismatchtime=13:15:23.60 bitrate=
 791.4kbits/s dup=1431707 drop=5373 speed=54.2x
 [h264 @ 0x3e00f40] error while decoding MB 0 16, bytestream -15
 [h264 @ 0x3e00f40] concealing 805 DC, 805 AC, 805 MV errors in P frame
 frame=1431709 fps=1625 q=2.0 Lsize= 4617579kB time=13:15:23.60 bitrate=
 792.6kbits/s dup=1431707 drop=5720 speed=54.2x
 video:4609741kB audio:1657kB subtitle:0kB other streams:0kB global
 headers:0kB muxing overhead: 0.134021%
 [aac @ 0x3d65580] Qavg: 211.341
 }}}
 Output file is out-of-sync / unplayable.
 The cut input file plays with ffplay for 192 seconds (dropping many video
 frames), this is also the audio duration.

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


More information about the FFmpeg-trac mailing list