[FFmpeg-trac] #2828(avformat:new): HLS segment MPEGTS continuity counter is being incorrectly set to 0 on each segment
FFmpeg
trac at avcodec.org
Sat Aug 23 16:55:17 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 lancey):
I've uploaded a patch against current git which does the idea of the
original patch author.
Because counters are kept in global statics, it's not thread-safe and will
probably fail in any scenarios other than standalone usage of ffmpeg with
only one output per process. I'll have a look at the segmenter code as
well to see which structure it would be appropriate to hold the counters
into, in order to do this properly. Anyone who has a better inside of
ffmpeg - please do share your suggestions / ideas. / opinions.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/2828#comment:19>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list