[FFmpeg-trac] #2828(avformat:new): HLS segment MPEGTS continuity counter is being incorrectly set to 0 on each segment

FFmpeg trac at avcodec.org
Thu Apr 24 17:51:56 CEST 2014


#2828: HLS segment MPEGTS continuity counter is being incorrectly set to 0 on each
segment
-------------------------------------+------------------------------------
             Reporter:  dlevinson5   |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:  hls mpegts   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by dlevinson5):

 Using "ffmpeg -i big_buck_bunny_480p_h264.mov -t 120 output.m3u8" does
 produce .ts segments with the correct continuity counter.

 Using "ffmpeg -i "big_buck_bunny_480p_h264.mov" -c copy -map 0 -vbsf
 h264_mp4toannexb -f segment -segment_time 10 -segment_list_type m3u8
 -segment_list index.m3u8 -segment_format mpegts segment_%d.ts" reproducts
 the issue where the continuity counter it reset to 0.

 You can inspect the continuity counters using the following command
 tsreport command from the tstools package available from Google Code
 (http://code.google.com/p/tstools/).

 (correctly shows the counters in each filing picking up where it left off
 in the prior file)

 tsreport -cnt 256 "output1.ts"
 type continuity_counter.txt

 tsreport -cnt 256 "output2.ts"
 type continuity_counter.txt

 (incorrectly shows the counters resetting to 0 on each file)

 tsreport -cnt 256 "segment_0.ts"
 type continuity_counter.txt

 tsreport -cnt 256 "segment_1.ts"
 type continuity_counter.txt

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


More information about the FFmpeg-trac mailing list