The target duration for each segment is no correct (#EXTINF:). The duration is always exactly what is set with --segment_duration, for example with --segment_duration=6 all segments (besides the last) are tagged with "#EXTINF:6.000,"
This value should be the correct duration.
The problem is that the file is created beforehand, and the exact resulting duration is not known at that time.
Probably it should be made sure that the files are exactly 6 seconds or whatever.
The target duration for each segment is no correct (#EXTINF:). The duration is always exactly what is set with --segment_duration, for example with --segment_duration=6 all segments (besides the last) are tagged with "#EXTINF:6.000,"
This value should be the correct duration.
The problem is that the file is created beforehand, and the exact resulting duration is not known at that time.
Probably it should be made sure that the files are exactly 6 seconds or whatever.