[FFmpeg-trac] #8037(avformat:open): Incorrect HLS segment duration after 64350th frame with -hls_init_time

FFmpeg trac at avcodec.org
Fri Jul 26 14:09:47 EEST 2019


#8037: Incorrect HLS segment duration after 64350th frame with -hls_init_time
-------------------------------------+-------------------------------------
             Reporter:  DusanBrejka  |                    Owner:  stevenliu
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  hls mpegts   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by stevenliu):

 Replying to [comment:8 DusanBrejka]:
 > ffprobe:
 > {{{
 > ubuntu at ip-172-31-0-112:~/ffmpegtemp/ffmpeg$ ./ffprobe -hide_banner
 hls/1080.ts
 > Input #0, mpegts, from 'hls/1080.ts':
 >   Duration: 00:00:04.00, start: 2142.466667, bitrate: 48 kb/s
 >   Program 1
 >     Metadata:
 >       service_name    : Service01
 >       service_provider: FFmpeg
 >     Stream #0:0[0x100]: Video: h264 (High 4:4:4 Predictive)
 ([27][0][0][0] / 0x001B), yuv444p(progressive), 5x5 [SAR 1:1 DAR 1:1], 30
 fps, 30 tbr, 90k tbn, 60 tbc
 > }}}
 >
 >
 > {{{
 > ubuntu at ip-172-31-0-112:~/ffmpegtemp/ffmpeg$ ./ffprobe -hide_banner
 hls/1081.ts
 > Input #0, mpegts, from 'hls/1081.ts':
 >   Duration: 00:00:01.00, start: 2146.466667, bitrate: 49 kb/s
 >   Program 1
 >     Metadata:
 >       service_name    : Service01
 >       service_provider: FFmpeg
 >     Stream #0:0[0x100]: Video: h264 (High 4:4:4 Predictive)
 ([27][0][0][0] / 0x001B), yuv444p(progressive), 5x5 [SAR 1:1 DAR 1:1], 30
 fps, 30 tbr, 90k tbn, 60 tbc
 > }}}



 {{{
 [root at onvideo x264]# ffprobe hls/1080.ts
 ffprobe version N-93320-g5ab44ff Copyright (c) 2007-2019 the FFmpeg
 developers
   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)
   configuration: --enable-libx264 --enable-gpl
   libavutil      56. 26.100 / 56. 26.100
   libavcodec     58. 47.103 / 58. 47.103
   libavformat    58. 26.101 / 58. 26.101
   libavdevice    58.  6.101 / 58.  6.101
   libavfilter     7. 48.100 /  7. 48.100
   libswscale      5.  4.100 /  5.  4.100
   libswresample   3.  4.100 /  3.  4.100
   libpostproc    55.  4.100 / 55.  4.100
 Input #0, mpegts, from 'hls/1080.ts':
   Duration: 00:00:04.00, start: 2142.466667, bitrate: 48 kb/s
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0:0[0x100]: Video: h264 (High 4:4:4 Predictive) ([27][0][0][0]
 / 0x001B), yuv444p(progressive), 5x5 [SAR 1:1 DAR 1:1], 30 fps, 30 tbr,
 90k tbn, 60 tbc
 [root at onvideo x264]# ffprobe hls/1082.ts
 ffprobe version N-93320-g5ab44ff Copyright (c) 2007-2019 the FFmpeg
 developers
   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)
   configuration: --enable-libx264 --enable-gpl
   libavutil      56. 26.100 / 56. 26.100
   libavcodec     58. 47.103 / 58. 47.103
   libavformat    58. 26.101 / 58. 26.101
   libavdevice    58.  6.101 / 58.  6.101
   libavfilter     7. 48.100 /  7. 48.100
   libswscale      5.  4.100 /  5.  4.100
   libswresample   3.  4.100 /  3.  4.100
   libpostproc    55.  4.100 / 55.  4.100
 Input #0, mpegts, from 'hls/1082.ts':
   Duration: 00:00:04.00, start: 2150.466667, bitrate: 48 kb/s
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0:0[0x100]: Video: h264 (High 4:4:4 Predictive) ([27][0][0][0]
 / 0x001B), yuv444p(progressive), 5x5 [SAR 1:1 DAR 1:1], 30 fps, 30 tbr,
 90k tbn, 60 tbc
 [root at onvideo x264]# ffprobe hls/1084.ts
 ffprobe version N-93320-g5ab44ff Copyright (c) 2007-2019 the FFmpeg
 developers
   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)
   configuration: --enable-libx264 --enable-gpl
   libavutil      56. 26.100 / 56. 26.100
   libavcodec     58. 47.103 / 58. 47.103
   libavformat    58. 26.101 / 58. 26.101
   libavdevice    58.  6.101 / 58.  6.101
   libavfilter     7. 48.100 /  7. 48.100
   libswscale      5.  4.100 /  5.  4.100
   libswresample   3.  4.100 /  3.  4.100
   libpostproc    55.  4.100 / 55.  4.100
 Input #0, mpegts, from 'hls/1084.ts':
   Duration: 00:00:04.00, start: 2158.466667, bitrate: 48 kb/s
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0:0[0x100]: Video: h264 (High 4:4:4 Predictive) ([27][0][0][0]
 / 0x001B), yuv444p(progressive), 5x5 [SAR 1:1 DAR 1:1], 30 fps, 30 tbr,
 90k tbn, 60 tbc
 [root at onvideo x264]#
 }}}

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


More information about the FFmpeg-trac mailing list