Opened 9 years ago
Last modified 4 years ago
#5452 new defect
ssegment muxer reset continuity counters on each segment regardless of reset_timestamps option value
Reported by: | Bela B | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | segment, ssegment |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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.
Attachments (2)
Change History (5)
by , 9 years ago
Attachment: | ffmpeg-20160419-170723.log added |
---|
comment:2 by , 9 years ago
I have done. The result is as bad as earlier. The new full command line output is enclosed as attachment.
comment:3 by , 4 years ago
Setting individual_header_trailer to 0 will (probably) achieve what you want.
ffmpeg -report output