[FFmpeg-trac] #6365(undetermined:new): Invalid timestamps [ mpegts ] and bad hls chunks

FFmpeg trac at avcodec.org
Fri May 5 06:55:07 EEST 2017


#6365: Invalid timestamps [ mpegts ] and bad hls chunks
-------------------------------------+-------------------------------------
             Reporter:  krs_vital    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by stevenliu):

 {{{
 [root at chinaffmpeg hlsenc]# .//ffmpeg -re -i /root/test/mute.ts -sn -dn -c
 copy -map 0 -copyts -ignore_unknown -avoid_negative_ts 0 -g 1 -r 50
 -strict -2 output.ts
 ffmpeg version N-85796-ga0e5f7f Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)
   configuration: --enable-libx264 --enable-gpl
   libavutil      55. 61.100 / 55. 61.100
   libavcodec     57. 94.100 / 57. 94.100
   libavformat    57. 72.101 / 57. 72.101
   libavdevice    57.  7.100 / 57.  7.100
   libavfilter     6. 88.100 /  6. 88.100
   libswscale      4.  7.101 /  4.  7.101
   libswresample   2.  8.100 /  2.  8.100
   libpostproc    54.  6.100 / 54.  6.100
 [h264 @ 0x3e8c160] SPS unavailable in decode_picture_timing
 [h264 @ 0x3e8c160] non-existing PPS 0 referenced
 [h264 @ 0x3e8c160] SPS unavailable in decode_picture_timing
 [h264 @ 0x3e8c160] non-existing PPS 0 referenced
 [h264 @ 0x3e8c160] decode_slice_header error
 [h264 @ 0x3e8c160] no frame!
 [h264 @ 0x3e8c160] SPS unavailable in decode_picture_timing
 [h264 @ 0x3e8c160] non-existing PPS 0 referenced
 [h264 @ 0x3e8c160] SPS unavailable in decode_picture_timing
 [h264 @ 0x3e8c160] non-existing PPS 0 referenced
 [h264 @ 0x3e8c160] decode_slice_header error
 [h264 @ 0x3e8c160] no frame!
 [h264 @ 0x3e8c160] SPS unavailable in decode_picture_timing
 [h264 @ 0x3e8c160] non-existing PPS 0 referenced
 [h264 @ 0x3e8c160] SPS unavailable in decode_picture_timing
 [h264 @ 0x3e8c160] non-existing PPS 0 referenced
 [h264 @ 0x3e8c160] decode_slice_header error
 [h264 @ 0x3e8c160] no frame!
 [h264 @ 0x3e8c160] SPS unavailable in decode_picture_timing
 [h264 @ 0x3e8c160] non-existing PPS 0 referenced
 [h264 @ 0x3e8c160] SPS unavailable in decode_picture_timing
 [h264 @ 0x3e8c160] non-existing PPS 0 referenced
 [h264 @ 0x3e8c160] decode_slice_header error
 [h264 @ 0x3e8c160] no frame!
 [h264 @ 0x3e8c160] non-existing SPS 0 referenced in buffering period
 [h264 @ 0x3e8c160] SPS unavailable in decode_picture_timing
 [h264 @ 0x3e8c160] non-existing SPS 0 referenced in buffering period
 [h264 @ 0x3e8c160] SPS unavailable in decode_picture_timing
 Input #0, mpegts, from '/root/test/mute.ts':
   Duration: 00:06:45.62, start: 583.224000, bitrate: 8814 kb/s
   Program 235
     Stream #0:0[0xbb9]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25
 tbr, 90k tbn, 50 tbc
     Stream #0:1[0xc27](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F),
 48000 Hz, stereo, fltp, 195 kb/s
 File 'output.ts' already exists. Overwrite ? [y/N] y
 Output #0, mpegts, to 'output.ts':
   Metadata:
     encoder         : Lavf57.72.101
     Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv,
 bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr,
 90k tbn, 50 tbc
     Stream #0:1(eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
 stereo, fltp, 195 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 frame=    0 fps=0.0 q=-1.0 Lsize=       1kB time=00:09:43.22 bitrate=
 0.0kbits/s speed=47.6x
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 121.176468%
 [root at chinaffmpeg hlsenc]# ll output.ts
 -rw-r--r--. 1 root root 1128 May  5 19:53 output.ts
 [root at chinaffmpeg hlsenc]# ll /root/test/mute.ts
 -rw-r--r--. 1 root root 446914916 May  5 19:43 /root/test/mute.ts
 [root at chinaffmpeg hlsenc]#

 }}}


 maybe the mpegts file has problem.

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


More information about the FFmpeg-trac mailing list