[FFmpeg-trac] #5452(avformat:new): ssegment muxer reset continuity counters on each segment regardless of reset_timestamps option value
FFmpeg
trac at avcodec.org
Tue Apr 19 17:23:01 CEST 2016
#5452: ssegment muxer reset continuity counters on each segment regardless of
reset_timestamps option value
-------------------------------------+-------------------------------------
Reporter: doubleb | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-
Keywords: segment, | master
ssegment | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
ssegment muxer reset first continuity counters to zero in each segment
regardless of reset_timestamps option value, but it should not do this.
The continuity counters should be counted seamlessly in case of
reset_timestamps value being 0.
How to reproduce:
{{{
% ffmpeg -f lavfi -i testsrc -t 120 -f ssegment -segment_format mpegts
-reset_timestamps 0 -segment_list out.csv sout%d.ts
}}}
Then inspect sout1.ts and sout2.ts with tsreport:
{{{ % tsreport -cnt 256 sout1.ts }}}
The last line of output is:
{{{ CC: first: 0, last: 11; duplicate packets: 0 }}}
(or see the content of continuity_counter.txt)
{{{ tsreport -cnt 256 sout2.ts }}}
The last line of output is:
CC: first: 0, last: 15; duplicate packets: 0
(or see the content of continuity_counter.txt)
But it shoud be something like:
CC: first: 12, last: ...
the full output of commandline of "ffmpeg -report ..." is enclosed as
attachment.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5452>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list