[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 Sep 28 01:43:30 CEST 2013
#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):
I have a feeling this issue will never be corrected. I have provided a
command-line sample on how to generate segments, provided the active
functions and code locations for the issue and also provided a work
around.
My work around is certainly a hack and NOT thread safe. The parameters
need to be added to a context. Given that each segment is treated as a
separate file encoding with a different mark in/out point I could not find
a simple way to pass the counter between encodings. I needed a quick fix
and the static variable works since I am using ffmpeg in a command-line
situation. I suppose I could have added the value to the AVContext which
would be cleaner.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2828#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list